:root {
  --brand: #12539f;
  --brand-2: #187abe;
  --bg: #050910;
  --bg-2: #08121f;
  --panel: #0d1a2a;
  --panel-2: #101d2b;
  --text: #f3f7fb;
  --muted: #9baec2;
  --muted-2: #76879b;
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(24,122,190,.56);
  --shadow: 0 24px 70px rgba(0,0,0,.35);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --font: Inter, Segoe UI, Roboto, Arial, sans-serif;
  --font-tech: Orbitron, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 70% 0, rgba(24,122,190,.16), transparent 36rem),
    linear-gradient(180deg, #050910 0%, #07101b 38%, #050910 100%);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(145,213,255,.95); outline-offset: 4px; }
.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 200;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  color: #07101b;
  font-weight: 800;
}
.skip-link:focus { transform: none; }
.container { width: min(100% - 48px, 1240px); margin: 0 auto; }

h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -.03em; }
h1 { font-size: clamp(44px, 6.2vw, 76px); max-width: 1020px; }
h2 { font-size: clamp(34px, 4.2vw, 56px); }
h3 { font-size: 24px; }
p { margin: 0; }
ul { margin: 0; padding: 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(5,9,16,.82);
  backdrop-filter: blur(18px);
}
.nav-shell { height: 78px; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; padding: 6px 0; }
.brand img { height: 42px; width: auto; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.desktop-nav a {
  padding: 10px 10px;
  border-radius: 999px;
  color: #c3d0dd;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}
.desktop-nav a:hover,
.desktop-nav a.active { color: #fff; background: rgba(255,255,255,.08); }
.nav-cta,
.mobile-cta,
.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 17px;
  border-radius: 999px;
  color: #fff;
  font-weight: 850;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  box-shadow: 0 12px 34px rgba(18,83,159,.34);
  white-space: nowrap;
}
.burger { display: none; flex-direction: column; gap: 6px; margin-left: auto; padding: 12px; border: 0; border-radius: 14px; background: rgba(255,255,255,.08); cursor: pointer; }
.burger span { width: 26px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav {
  display: none;
  padding: 12px 24px 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(5,9,16,.98);
}
.mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: #dce8f4; font-weight: 780; }
.mobile-nav .mobile-cta { margin-top: 14px; border-bottom: 0; }
.mobile-nav.open { display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 880;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); box-shadow: 0 18px 45px rgba(18,83,159,.36); }
.btn-secondary { color: #dff3ff; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.055); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero {
  position: relative;
  min-height: 840px;
  display: flex;
  align-items: center;
  padding: 132px 0 82px;
  background-image:
    linear-gradient(90deg, rgba(5,9,16,.96) 0%, rgba(5,9,16,.83) 48%, rgba(5,9,16,.55) 100%),
    url('assets/img/hero-lab.webp');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero-copy { max-width: 1030px; }
.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #91d5ff;
  font-family: var(--font-tech);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 900;
}
.eyebrow:before,
.section-label:before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, var(--brand-2), transparent); }
.lead { max-width: 900px; color: #c9d7e5; font-size: clamp(18px, 2vw, 23px); line-height: 1.55; margin-top: 22px; }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 42px;
  max-width: 1120px;
}
.metric {
  min-height: 126px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(6,14,24,.70);
  backdrop-filter: blur(12px);
}
.metric b { display: block; margin-bottom: 9px; font-size: 17px; color: #fff; }
.metric span { color: var(--muted); font-size: 14px; }

.section { padding: 96px 0; }
.section-tight { padding: 38px 0; }
.section-dark { background: linear-gradient(180deg, rgba(8,18,31,.82), rgba(5,9,16,.96)); border-block: 1px solid rgba(255,255,255,.07); }
.section-head {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 40px;
}
.section-head p { color: var(--muted); font-size: 18px; max-width: 650px; }
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust-strip span {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  background: rgba(255,255,255,.04);
  color: #d9e8f8;
  font-weight: 820;
}

.service-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(16,29,43,.92), rgba(6,13,22,.96));
  box-shadow: var(--shadow);
}
.service-card-media { position: relative; aspect-ratio: 16 / 9; height: auto; overflow: hidden; background: linear-gradient(135deg, #06101c, #0c1d31); }
.service-card-media:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,9,16,0), rgba(5,9,16,.18)); pointer-events: none; }
.service-card-media img { width: 100%; height: 100%; padding: 8px; object-fit: contain; transition: transform .35s ease; }
.service-card:hover .service-card-media img { transform: none; }
.service-card-body { padding: 26px; }
.service-card-body span {
  color: #91d5ff;
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
}
.service-card-body h3 { margin-top: 12px; margin-bottom: 12px; }
.service-card-body p { color: var(--muted); }
.service-card-body em { display: inline-block; margin-top: 18px; color: #dff3ff; font-style: normal; font-weight: 850; }

.feature-grid,
.deliverables-grid,
.contact-grid,
.content-grid,
.service-hero-grid,
.proof-grid,
.about-card {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 48px;
  align-items: center;
}
.feature-copy p,
.deliverables-grid p,
.contact-copy p,
.proof-intro p { color: var(--muted); font-size: 18px; max-width: 620px; }
.feature-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-xl); background: linear-gradient(135deg, #06101c, #0c1d31); box-shadow: var(--shadow); }
.feature-media img { width: 100%; height: 100%; padding: 10px; object-fit: contain; }
.proof-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.proof-stack span {
  padding: 15px 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  color: #d9e6f5;
  font-weight: 800;
}
.deliverable-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.deliverable-list span {
  min-height: 72px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(16,29,43,.92), rgba(6,13,22,.92));
  color: #dce9f8;
  font-weight: 800;
}
.process-line { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: step; }
.step {
  position: relative;
  min-height: 224px;
  padding: 23px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.045);
}
.step:before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 38px;
  color: #82d1ff;
  font-family: var(--font-tech);
  font-size: 12px;
  letter-spacing: .14em;
  font-weight: 900;
}
.step b { font-size: 18px; }
.step p { margin-top: 8px; color: #8798aa; font-size: 13.5px; }
.proof-grid { align-items: start; }
.proof-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.proof-list div,
.contact-facts div,
.tech-groups div,
.related-links a,
.work-list div,
.content-panel,
.about-card {
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.045);
  border-radius: 22px;
}
.proof-list div { padding: 22px; }
.proof-list b,
.contact-facts b,
.tech-groups b { display: block; color: #fff; margin-bottom: 6px; }
.proof-list span,
.contact-facts span,
.tech-groups span { color: var(--muted); }
.two-col-text { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.two-col-text p { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.045); color: #dce8f6; }

.inner-hero {
  padding: 152px 0 82px;
  background:
    radial-gradient(circle at 72% 18%, rgba(24,122,190,.21), transparent 32rem),
    linear-gradient(180deg, rgba(7,16,27,.98), rgba(5,9,16,.98));
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.breadcrumbs { margin-bottom: 20px; color: #88a4be; font-size: 13px; }
.breadcrumbs a { color: #d5ecff; }
.service-hero-grid { align-items: end; }
.service-hero-media { overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-xl); background: linear-gradient(135deg, #06101c, #0c1d31); box-shadow: var(--shadow); }
.service-hero-media img { width: 100%; height: 100%; padding: 10px; object-fit: contain; }
.content-grid { align-items: start; }
.sticky-panel { position: sticky; top: 104px; }
.content-panel { padding: 28px; background: linear-gradient(180deg, rgba(16,29,43,.82), rgba(6,13,22,.93)); }
.content-panel h2 { font-size: 32px; margin-bottom: 22px; }
.check-list { display: grid; gap: 12px; }
.check-list li {
  list-style: none;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  color: #dbe8f8;
}
.check-list li:before { content: "—"; color: #82d1ff; margin-right: 10px; }
.content-main h2 { margin-bottom: 24px; }
.work-list { display: grid; gap: 12px; }
.work-list div { display: grid; grid-template-columns: 105px 1fr; gap: 16px; padding: 18px; }
.work-list b { color: #91d5ff; font-family: var(--font-tech); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.work-list span { color: #dce8f6; }
.tech-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tech-groups div { padding: 22px; }
.related-block { display: grid; gap: 16px; }
.related-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-links a { display: flex; justify-content: space-between; align-items: center; padding: 18px; color: #dcefff; font-weight: 850; }
.related-links span { color: #91d5ff; }
.simple-text { max-width: 900px; color: var(--muted); font-size: 18px; }
.simple-text h2 { margin-top: 42px; color: var(--text); font-size: 32px; }
.simple-text h2:first-child { margin-top: 0; }
.simple-text a { color: #d9f1ff; text-decoration: underline; }

.contact-section { scroll-margin-top: 96px; }
.contact-grid { align-items: start; }
.contact-facts { display: grid; gap: 12px; margin-top: 30px; }
.contact-facts div { padding: 18px; }
.contact-facts a { color: #dff3ff; }
.lead-form {
  padding: 30px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(16,29,43,.93), rgba(6,13,22,.96));
  box-shadow: var(--shadow);
}
.lead-form label { display: block; margin-bottom: 14px; color: #dbe7f5; font-weight: 800; }
.lead-form input,
.lead-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 15px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  color: #fff;
  font-weight: 400;
  outline: none;
}
.lead-form textarea { min-height: 156px; resize: vertical; }
.lead-form input:focus,
.lead-form textarea:focus { border-color: var(--line-strong); box-shadow: 0 0 0 3px rgba(24,122,190,.14); }
.hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-note { margin-top: 14px; color: var(--muted-2); font-size: 12px; }
.form-note a { color: #cfeaff; text-decoration: underline; }
.form-status { min-height: 22px; margin-top: 12px; font-weight: 800; }
.form-status.success { color: #76e0a5; }
.form-status.error { color: #ff9797; }
button[disabled] { opacity: .68; cursor: progress; }

.footer { padding: 56px 0 24px; border-top: 1px solid rgba(255,255,255,.08); background: #050910; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1.25fr .8fr; gap: 48px; align-items: start; }
.footer-logo { height: 43px; width: auto; object-fit: contain; margin-bottom: 18px; }
.footer p,
.footer span,
.footer a { color: #8798aa; }
.footer b { display: block; margin-bottom: 14px; color: #fff; }
.footer a,
.footer span { display: block; margin-bottom: 8px; }
.footer a:hover { color: #dcefff; }
.footer-cta { margin-top: 16px; color: #fff !important; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #76869a; }

@media (max-width: 1180px) {
  .desktop-nav, .nav-cta { display: none; }
  .burger { display: flex; }
  .nav-shell { height: 72px; }
  .brand img { height: 38px; }
  .hero { min-height: auto; padding-top: 124px; }
  .hero-metrics, .service-card-grid, .tech-groups, .proof-list { grid-template-columns: repeat(2, 1fr); }
  .process-line { grid-template-columns: repeat(3, 1fr); }
  .feature-grid, .deliverables-grid, .contact-grid, .content-grid, .service-hero-grid, .proof-grid, .about-card { grid-template-columns: 1fr; }
  .sticky-panel { position: static; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 30px, 1240px); }
  h1 { font-size: 39px; }
  h2 { font-size: 32px; }
  h3 { font-size: 22px; }
  .hero {
    padding-top: 112px;
    background-image: linear-gradient(180deg, rgba(5,9,16,.70), rgba(5,9,16,.97)), url('assets/img/hero-lab-mobile.webp');
    background-position: center top;
  }
  .lead { font-size: 18px; }
  .hero-actions { display: grid; }
  .btn { width: 100%; }
  .section { padding: 70px 0; }
  .section-tight { padding: 30px 0; }
  .section-head { display: block; margin-bottom: 28px; }
  .section-head p { margin-top: 16px; }
  .hero-metrics, .trust-strip, .service-card-grid, .proof-stack, .deliverable-list, .process-line, .tech-groups, .related-links, .proof-list, .two-col-text, .footer-grid { grid-template-columns: 1fr; }
  .metric { min-height: auto; }
  .service-card-media { aspect-ratio: 16 / 9; }
  .feature-media, .service-hero-media { aspect-ratio: 16 / 9; }
  .feature-media img, .service-hero-media img { height: 100%; }
  .inner-hero { padding: 116px 0 66px; }
  .work-list div { grid-template-columns: 1fr; gap: 6px; }
  .lead-form { padding: 24px; }
  .footer-bottom { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}


/* News */
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 34px; border: 1px solid rgba(24,122,190,.30); border-radius: var(--radius-xl); background: linear-gradient(135deg, rgba(24,122,190,.18), rgba(18,83,159,.10)); box-shadow: var(--shadow); }
.cta-panel p { color: var(--muted); max-width: 720px; }
.news-hero .sticky-panel, .article-aside { align-self: start; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid rgba(255,255,255,.10); border-radius: var(--radius-xl); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)); box-shadow: 0 18px 56px rgba(0,0,0,.22); }
.news-card-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.08); background: radial-gradient(circle at 50% 20%, rgba(24,122,190,.16), rgba(4,10,19,.98)); }
.news-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.news-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.news-meta { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-bottom: 12px; color: #9fb0c4; font-size: 13px; font-weight: 760; }
.news-meta span { padding: 5px 9px; border: 1px solid rgba(24,122,190,.28); border-radius: 999px; color: #cfeaff; background: rgba(18,83,159,.16); }
.news-card h2, .news-card h3 { margin-bottom: 12px; font-size: 23px; line-height: 1.18; }
.news-card h2 a, .news-card h3 a { color: #fff; }
.news-card p { flex: 1; color: var(--muted); }
.text-link { display: inline-flex; margin-top: auto; padding-top: 14px; color: #cfeaff; font-weight: 850; }
.text-link:hover { color: #fff; }
.section-actions { display: flex; justify-content: center; margin-top: 30px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; align-items: start; }
.article-content { max-width: 860px; }
.article-content h2 { margin-top: 36px; margin-bottom: 16px; font-size: 34px; }
.article-content p { color: var(--muted); font-size: 18px; line-height: 1.75; }
.article-list { display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.article-list li { padding: 15px 18px; border: 1px solid rgba(255,255,255,.10); border-radius: 16px; color: #dce8f4; background: rgba(255,255,255,.035); }
.article-cta { margin-top: 38px; padding: 26px; border: 1px solid rgba(24,122,190,.35); border-radius: var(--radius-xl); background: linear-gradient(135deg, rgba(24,122,190,.22), rgba(18,83,159,.12)); }
.article-cta b { display: block; margin-bottom: 10px; color: #fff; font-size: 22px; }
.article-aside a { display: block; margin-top: 12px; color: #cfeaff; font-weight: 800; }
.article-meta { margin-bottom: 18px; }

@media (max-width: 1180px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}
@media (max-width: 760px) {
  .cta-panel { display: grid; padding: 24px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card-body { padding: 20px; }
  .article-content h2 { font-size: 28px; }
}


/* Article media and project facts */
.article-hero-figure { margin: 0; }
.article-hero-figure img { display: block; width: 100%; height: auto; border-radius: 22px; }
.article-hero-figure figcaption { padding: 10px 4px 0; color: #8fa5bc; font-size: 13px; text-align: center; }
.article-intro { margin: 0 0 30px; padding: 22px 24px; border-left: 3px solid #187abe; border-radius: 0 16px 16px 0; background: rgba(24,122,190,.09); color: #dce8f4 !important; font-size: 20px !important; }
.article-figure { margin: 30px 0; padding: 12px; border: 1px solid rgba(255,255,255,.10); border-radius: 22px; background: rgba(255,255,255,.025); }
.article-figure img { display: block; width: 100%; height: auto; border-radius: 15px; }
.article-figure figcaption { padding: 12px 6px 2px; color: #91a6bd; font-size: 14px; line-height: 1.55; }
.article-image-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 30px 0; }
.article-image-grid .article-figure { margin: 0; }
.article-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 28px 0; }
.article-facts div { padding: 18px; border: 1px solid rgba(24,122,190,.27); border-radius: 16px; background: linear-gradient(145deg, rgba(24,122,190,.13), rgba(255,255,255,.025)); }
.article-facts b { display: block; margin-bottom: 7px; color: #fff; font-size: 17px; }
.article-facts span { color: #aebed0; line-height: 1.55; }
.article-aside hr { margin: 22px 0; border: 0; border-top: 1px solid rgba(255,255,255,.10); }
.article-content h2 { scroll-margin-top: 100px; }
@media (max-width: 720px) {
  .article-image-grid, .article-facts { grid-template-columns: 1fr; }
  .article-intro { padding: 18px; font-size: 18px !important; }
  .article-figure { padding: 8px; border-radius: 18px; }
}


/* SEO content, cases and company */
.seo-detail-grid { display:grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap:48px; align-items:start; }
.seo-detail-copy p { color:var(--muted); font-size:18px; line-height:1.75; margin-top:18px; }
.seo-detail-points { display:grid; gap:12px; }
.seo-detail-points > div { display:grid; grid-template-columns:48px 1fr; gap:14px; align-items:start; padding:18px; border:1px solid rgba(255,255,255,.10); border-radius:18px; background:rgba(255,255,255,.035); }
.seo-detail-points span { color:#91d5ff; font-family:var(--font-tech); font-size:12px; font-weight:900; }
.seo-detail-points p { color:#dce8f4; }
.case-highlight .feature-copy h2 { max-width:760px; }
.faq-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.faq-list details { border:1px solid rgba(255,255,255,.11); border-radius:20px; background:rgba(255,255,255,.035); overflow:hidden; }
.faq-list summary { cursor:pointer; padding:20px 52px 20px 20px; color:#fff; font-weight:850; list-style:none; position:relative; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary:after { content:'+'; position:absolute; right:20px; top:16px; color:#91d5ff; font-size:24px; }
.faq-list details[open] summary:after { content:'−'; }
.faq-list details p { padding:0 20px 20px; color:var(--muted); line-height:1.7; }
.about-company-grid { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr); gap:48px; align-items:start; }
.about-company-copy > p { margin-top:18px; color:var(--muted); font-size:18px; line-height:1.75; }
.company-details { padding:28px; border:1px solid rgba(255,255,255,.12); border-radius:var(--radius-xl); background:linear-gradient(180deg,rgba(16,29,43,.92),rgba(6,13,22,.96)); }
.company-details h2 { font-size:32px; margin-bottom:20px; }
.company-details dl { margin:0; }
.company-details dl div { display:grid; grid-template-columns:150px 1fr; gap:16px; padding:13px 0; border-top:1px solid rgba(255,255,255,.08); }
.company-details dt { color:var(--muted); }
.company-details dd { margin:0; color:#fff; font-weight:750; }
.company-details a { color:#cfeaff; }
.company-brief { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.company-brief div { padding:20px; border:1px solid rgba(255,255,255,.11); border-radius:20px; background:rgba(255,255,255,.04); }
.company-brief b { display:block; color:#91d5ff; font-family:var(--font-tech); font-size:12px; letter-spacing:.08em; text-transform:uppercase; }
.company-brief span { display:block; margin-top:8px; color:#fff; font-weight:800; }
@media (max-width:1180px){ .seo-detail-grid,.about-company-grid{grid-template-columns:1fr;} }
@media (max-width:760px){ .faq-list,.company-brief{grid-template-columns:1fr;} .company-details dl div{grid-template-columns:1fr;gap:5px;} }

/* Lightweight contact chat */
.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 180;
  display: grid;
  justify-items: end;
  gap: 12px;
  font-family: var(--font);
}
.chat-launcher {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  box-shadow: 0 18px 48px rgba(0,0,0,.42), 0 10px 30px rgba(18,83,159,.34);
  cursor: pointer;
  font-weight: 880;
  transition: transform .18s ease, box-shadow .18s ease;
}
.chat-launcher::before,
.chat-launcher::after {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  border-radius: 999px;
  border: 1px solid rgba(121,200,248,.42);
  opacity: 0;
  pointer-events: none;
  animation: chatLauncherPulse 2.8s ease-out infinite;
}
.chat-launcher::after {
  inset: -12px;
  border-color: rgba(121,200,248,.24);
  animation-delay: 1.4s;
}
.chat-launcher:hover { transform: translateY(-2px); box-shadow: 0 22px 54px rgba(0,0,0,.46), 0 12px 36px rgba(18,83,159,.42); }
.chat-launcher svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.chat-launcher span { letter-spacing: .01em; }
.chat-open .chat-launcher span { display: none; }
.chat-open .chat-launcher { width: 58px; padding: 0; justify-content: center; }
.chat-open .chat-launcher::before,
.chat-open .chat-launcher::after { display: none; }
.chat-open .chat-launcher svg { transform: rotate(4deg); }
@keyframes chatLauncherPulse {
  0% { opacity: 0; transform: scale(.92); }
  18% { opacity: .78; }
  100% { opacity: 0; transform: scale(1.18); }
}

.chat-panel {
  width: min(390px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 112px));
  overflow: hidden auto;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(14,28,45,.99), rgba(5,11,19,.99));
  box-shadow: 0 28px 90px rgba(0,0,0,.58);
  backdrop-filter: blur(18px);
}
.chat-panel[hidden], .chat-teaser[hidden] { display: none !important; }
.chat-panel-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 60px 1fr 36px;
  gap: 14px;
  align-items: center;
  padding: 17px 18px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(135deg, rgba(24,122,190,.28), rgba(18,83,159,.16)), rgba(7,16,28,.98);
  overflow: visible;
}
.chat-avatar {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  overflow: visible;
  box-shadow: 0 10px 24px rgba(18,83,159,.24);
  transform-origin: left top;
  transition: transform .2s ease, box-shadow .2s ease;
}
.chat-avatar::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(121,200,248,.9));
  z-index: -1;
  box-shadow: 0 0 0 2px rgba(18,83,159,.55), 0 10px 24px rgba(18,83,159,.24);
}
.chat-avatar:hover,
.chat-avatar:active {
  transform: scale(1.72);
  box-shadow: 0 18px 40px rgba(4,12,22,.48), 0 12px 28px rgba(18,83,159,.28);
}
.chat-panel-header b { display: block; color: #fff; font-size: 16px; }
.chat-panel-header span { display: block; margin-top: 2px; color: #a8bdd2; font-size: 12px; }
.chat-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: transparent;
}
@media (hover: none) {
  .chat-avatar:active { transform: scale(1.55); }
}
.chat-close,
.chat-teaser-close {
  display: grid;
  place-items: center;
  border: 0;
  color: #dcecff;
  background: transparent;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}
.chat-close { width: 36px; height: 36px; border-radius: 12px; }
.chat-close:hover { background: rgba(255,255,255,.08); }
.chat-panel-body { padding: 18px; }
.chat-messengers { margin-bottom: 15px; }
.chat-messengers-title {
  margin: 0 0 10px;
  color: #eff7ff;
  font-size: 13px;
  font-weight: 800;
}
.chat-messenger-grid { display: grid; grid-template-columns: 1fr; gap: 9px; }
.chat-messenger {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 11px 10px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.chat-messenger:hover {
  transform: translateY(-1px);
  border-color: rgba(92,181,241,.58);
  background: linear-gradient(145deg, rgba(24,122,190,.15), rgba(18,83,159,.08));
}
.chat-messenger-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  box-shadow: 0 7px 18px rgba(18,83,159,.24);
}
.chat-messenger-telegram .chat-messenger-icon { background: linear-gradient(135deg, #2f9fda, #187abe); }
.chat-messenger-max .chat-messenger-icon { background: linear-gradient(135deg, #187abe, #12539f); }
.chat-messenger-icon svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chat-messenger-max .chat-messenger-icon svg { width: 24px; height: 24px; stroke-width: 1.55; }
.chat-messenger-max .chat-messenger-icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.chat-messenger b, .chat-messenger small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-messenger b { font-size: 13px; line-height: 1.2; }
.chat-messenger small { margin-top: 3px; color: #91a9c0; font-size: 10px; line-height: 1.2; }
.chat-messenger-arrow { display: none; }
.chat-messenger-note { min-height: 15px; margin: 7px 1px 0; color: #92ccec; font-size: 10px; line-height: 1.4; }
.chat-divider { display: flex; align-items: center; gap: 10px; margin: 4px 0 13px; color: #7890a8; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.chat-divider:before, .chat-divider:after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.10); }
.chat-divider span { white-space: nowrap; }
.chat-greeting {
  padding: 14px 16px;
  border: 1px solid rgba(24,122,190,.25);
  border-radius: 17px 17px 17px 5px;
  color: #dce9f7;
  background: rgba(24,122,190,.11);
  font-size: 14px;
}
.chat-topics { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0 15px; }
.chat-topics button {
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  color: #cfe8fb;
  background: rgba(255,255,255,.045);
  cursor: pointer;
  font-size: 12px;
  font-weight: 760;
}
.chat-topics button:hover { border-color: rgba(24,122,190,.58); background: rgba(24,122,190,.12); }
.chat-form.lead-form {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.chat-form.lead-form label { margin-bottom: 10px; font-size: 13px; }
.chat-form.lead-form input,
.chat-form.lead-form textarea { margin-top: 5px; padding: 12px 13px; border-radius: 13px; font-size: 14px; }
.chat-form.lead-form textarea { min-height: 88px; resize: vertical; }
.chat-form .btn { width: 100%; min-height: 46px; margin-top: 2px; padding: 12px 16px; border: 0; cursor: pointer; }
.chat-form .form-note { margin-top: 9px; font-size: 11px; line-height: 1.45; }
.chat-form .form-status { margin-top: 8px; font-size: 12px; }

.chat-teaser {
  position: relative;
  width: 286px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  background: rgba(9,19,32,.98);
  box-shadow: 0 18px 58px rgba(0,0,0,.48);
  animation: chatTeaserIn .28s ease-out;
}
.chat-teaser:after {
  content: "";
  position: absolute;
  right: 30px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  border-right: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
  background: rgba(9,19,32,.98);
  transform: rotate(45deg);
}
.chat-teaser-open {
  width: 100%;
  padding: 16px 42px 16px 17px;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.chat-teaser-open b { display: block; color: #fff; font-size: 15px; }
.chat-teaser-open span { display: block; margin-top: 3px; color: #9fb4c9; font-size: 13px; }
.chat-teaser-close { position: absolute; right: 8px; top: 7px; z-index: 2; width: 30px; height: 30px; font-size: 22px; }
@keyframes chatTeaserIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .chat-widget { right: 14px; bottom: 14px; left: 14px; justify-items: end; }
  .chat-panel { width: 100%; max-height: calc(100vh - 92px); border-radius: 22px; }
  .chat-launcher { min-height: 54px; padding: 0 17px; }
  .chat-launcher span { font-size: 14px; }
  .chat-teaser { width: min(286px, calc(100vw - 28px)); }
  .chat-messenger-grid { grid-template-columns: 1fr; }
  .chat-messenger { grid-template-columns: 34px 1fr 16px; padding: 10px 9px; }
  .chat-messenger-icon { width: 34px; height: 34px; border-radius: 11px; }
}
@media (max-width: 390px) {
  .chat-messenger-grid { grid-template-columns: 1fr; }
}

/* v5.39 — светлая корпоративная тема и навигация по задачам */
:root {
  --brand: #14549b;
  --brand-2: #1f78bc;
  --bg: #f4f7fb;
  --bg-2: #edf3f8;
  --panel: #ffffff;
  --panel-2: #f8fbfd;
  --text: #152338;
  --muted: #53687f;
  --muted-2: #738396;
  --line: rgba(30, 66, 103, .14);
  --line-strong: rgba(31, 120, 188, .52);
  --shadow: 0 18px 50px rgba(32, 67, 104, .11);
}

html { background: var(--bg); }
body {
  color: var(--text);
  background:
    radial-gradient(circle at 86% 0, rgba(31,120,188,.10), transparent 34rem),
    linear-gradient(180deg, #f8fbfd 0%, #ffffff 36%, #f3f7fb 100%);
}
h1, h2, h3 { color: var(--text); }
.site-header {
  border-bottom-color: rgba(30,66,103,.11);
  background: rgba(255,255,255,.91);
  box-shadow: 0 8px 28px rgba(32,67,104,.06);
}
.desktop-nav a { color: #425a72; }
.desktop-nav a:hover,
.desktop-nav a.active { color: var(--brand); background: #edf5fb; }
.burger { background: #edf5fb; border: 1px solid rgba(30,66,103,.12); }
.burger span { background: var(--brand); }
.mobile-nav {
  border-top-color: rgba(30,66,103,.10);
  background: rgba(255,255,255,.99);
  box-shadow: 0 18px 42px rgba(32,67,104,.12);
}
.mobile-nav a { border-bottom-color: rgba(30,66,103,.10); color: #29435e; }

.btn-secondary {
  color: var(--brand);
  border-color: rgba(20,84,155,.24);
  background: rgba(255,255,255,.86);
  box-shadow: 0 8px 28px rgba(32,67,104,.06);
}
.btn-secondary:hover { background: #fff; border-color: rgba(20,84,155,.38); }

.hero {
  min-height: 780px;
  background-image:
    linear-gradient(90deg, rgba(248,251,253,.99) 0%, rgba(248,251,253,.96) 48%, rgba(248,251,253,.72) 68%, rgba(248,251,253,.18) 100%),
    url('assets/img/hero-lab.webp');
  border-bottom-color: rgba(30,66,103,.10);
}
.hero:before {
  background:
    linear-gradient(rgba(20,84,155,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,84,155,.045) 1px, transparent 1px);
}
.eyebrow, .section-label { color: var(--brand-2); }
.lead { color: #455f79; }
.metric {
  border-color: rgba(30,66,103,.12);
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 38px rgba(32,67,104,.08);
}
.metric b { color: #19324d; }
.metric span { color: var(--muted); }

.section-dark,
.section-soft {
  background: linear-gradient(180deg, #edf4f9, #f7fafc);
  border-block: 1px solid rgba(30,66,103,.09);
}
.section-head p,
.feature-copy p,
.deliverables-grid p,
.contact-copy p,
.proof-intro p,
.simple-text,
.article-content p,
.seo-detail-copy p,
.about-company-copy > p { color: var(--muted); }
.trust-strip span,
.proof-stack span,
.deliverable-list span,
.proof-list div,
.contact-facts div,
.tech-groups div,
.related-links a,
.work-list div,
.content-panel,
.about-card,
.two-col-text p,
.seo-detail-points > div,
.faq-list details,
.company-brief div,
.article-list li,
.article-figure,
.article-facts div {
  border-color: rgba(30,66,103,.12);
  background: #fff;
  color: #29435e;
  box-shadow: 0 10px 34px rgba(32,67,104,.055);
}
.trust-strip span { color: #29435e; }
.proof-list b,
.contact-facts b,
.tech-groups b,
.article-facts b { color: #19324d; }
.proof-list span,
.contact-facts span,
.tech-groups span,
.article-facts span { color: var(--muted); }

.service-card,
.news-card,
.company-details,
.lead-form {
  border-color: rgba(30,66,103,.12);
  background: #fff;
  box-shadow: var(--shadow);
}
.service-card-media,
.feature-media,
.service-hero-media,
.news-card-media {
  border-color: rgba(30,66,103,.10);
  background: linear-gradient(135deg, #f2f7fb, #e9f1f7);
}
.service-card-media:after { background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.12)); }
.service-card-body p,
.news-card p { color: var(--muted); }
.service-card-body em,
.text-link { color: var(--brand); }
.news-card h2 a, .news-card h3 a { color: #19324d; }
.news-meta { color: #677b90; }
.news-meta span { color: var(--brand); background: #edf5fb; border-color: rgba(20,84,155,.18); }

.step {
  border-color: rgba(30,66,103,.12);
  background: #fff;
  box-shadow: 0 10px 34px rgba(32,67,104,.055);
}
.step b { color: #19324d; }
.step p { color: var(--muted); }

.inner-hero {
  background:
    radial-gradient(circle at 76% 12%, rgba(31,120,188,.12), transparent 30rem),
    linear-gradient(180deg, #f8fbfd, #edf4f9);
  border-bottom-color: rgba(30,66,103,.10);
}
.breadcrumbs { color: #708399; }
.breadcrumbs a { color: var(--brand); }
.content-panel { background: #fff; }
.content-panel h2 { color: #19324d; }
.check-list li {
  border-color: rgba(30,66,103,.11);
  background: #f6f9fc;
  color: #29435e;
}
.check-list li:before { color: var(--brand-2); }
.work-list b { color: var(--brand-2); }
.work-list span { color: #29435e; }
.related-links a { color: #29435e; }
.related-links a:hover { border-color: rgba(20,84,155,.30); transform: translateY(-1px); }
.related-links span { color: var(--brand-2); }
.simple-text h2 { color: var(--text); }
.simple-text a { color: var(--brand); }

.lead-form label { color: #29435e; }
.lead-form input,
.lead-form textarea {
  border-color: rgba(30,66,103,.15);
  background: #f7fafc;
  color: #152338;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder,
.lead-form input::-webkit-input-placeholder,
.lead-form textarea::-webkit-input-placeholder,
.lead-form input::-moz-placeholder,
.lead-form textarea::-moz-placeholder,
.lead-form input:-ms-input-placeholder,
.lead-form textarea:-ms-input-placeholder {
  color: #b0bdc9 !important;
  font-weight: 400 !important;
  opacity: 1;
}
.form-note { color: var(--muted-2); }
.form-note a { color: var(--brand); }

.cta-panel,
.article-cta {
  border-color: rgba(31,120,188,.22);
  background: linear-gradient(135deg, #e8f3fb, #f7fbfe);
  box-shadow: 0 14px 38px rgba(32,67,104,.08);
}
.article-cta b { color: #19324d; }
.article-intro { background: #edf5fb; color: #29435e !important; }
.article-figure figcaption,
.article-hero-figure figcaption { color: #677b90; }
.article-aside a { color: var(--brand); }
.faq-list summary { color: #19324d; }
.faq-list details p { color: var(--muted); }
.company-details h2 { color: #19324d; }
.company-details dl div { border-top-color: rgba(30,66,103,.09); }
.company-details dt { color: var(--muted); }
.company-details dd { color: #19324d; }
.company-details a { color: var(--brand); }
.company-brief span { color: #19324d; }

/* Light theme contrast fixes for reused dark-theme components */
.seo-detail-points span,
.service-card-body span,
.company-brief b,
.faq-list summary:after { color: var(--brand-2); }
.seo-detail-points p { color: #29435e; }
.contact-facts a { color: var(--brand); }

.intent-section { background: #fff; }
.intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.intent-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(30,66,103,.12);
  border-radius: 26px;
  background: linear-gradient(145deg, #fff, #f5f9fc);
  box-shadow: 0 14px 42px rgba(32,67,104,.075);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.intent-card:before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand-2), rgba(31,120,188,.15));
}
.intent-card:hover {
  transform: translateY(-3px);
  border-color: rgba(20,84,155,.28);
  box-shadow: 0 20px 54px rgba(32,67,104,.12);
}
.intent-kicker {
  margin-bottom: 18px;
  color: var(--brand-2);
  font-family: var(--font-tech);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.intent-card h3 { font-size: 25px; line-height: 1.16; }
.intent-card p { margin-top: 14px; color: var(--muted); }
.intent-card em { margin-top: auto; padding-top: 22px; color: var(--brand); font-style: normal; font-weight: 850; }
.intent-grid-compact .intent-card { min-height: 220px; }

.plain-request-panel {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: center;
  padding: 42px;
  border: 1px solid rgba(31,120,188,.18);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow);
}
.plain-request-panel p { color: var(--muted); font-size: 18px; }
.plain-request-panel .btn { margin-top: 22px; }
.query-chip-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.query-chip-list a {
  padding: 20px 22px;
  border: 1px solid rgba(30,66,103,.12);
  border-radius: 20px;
  background: #fff;
  color: #29435e;
  font-weight: 820;
  box-shadow: 0 10px 34px rgba(32,67,104,.055);
}
.query-chip-list a:hover { color: var(--brand); border-color: rgba(20,84,155,.28); }

.chat-launcher { border-color: rgba(20,84,155,.18); box-shadow: 0 18px 48px rgba(32,67,104,.18), 0 10px 30px rgba(18,83,159,.22); }
.chat-panel {
  border-color: rgba(30,66,103,.14);
  background: rgba(255,255,255,.99);
  color: var(--text);
  box-shadow: 0 28px 90px rgba(32,67,104,.24);
}
.chat-panel h2, .chat-panel h3, .chat-panel b { color: #19324d; }
.chat-panel p, .chat-panel span { color: var(--muted); }

/* Light-theme chat widget contrast normalization */
.chat-panel-header {
  border-bottom-color: rgba(30,66,103,.12);
  background: linear-gradient(135deg, #e8f3fb, #f7fbfe);
}
.chat-panel-header b { color: #19324d; }
.chat-panel-header span { color: #5f748a; }
.chat-close { color: #35526e; }
.chat-close:hover { background: #edf5fb; }
.chat-panel .chat-messengers-title { color: #19324d; }
.chat-messenger {
  border-color: rgba(30,66,103,.14);
  color: #19324d;
  background: #f7fafc;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.chat-messenger:hover {
  border-color: rgba(20,84,155,.28);
  background: #edf5fb;
}
.chat-messenger small { color: #5a7087; }
.chat-panel .chat-messenger-note { color: #496a88; }
.chat-divider { color: #708399; }
.chat-panel .chat-divider span { color: #708399; }
.chat-divider:before, .chat-divider:after { background: rgba(30,66,103,.14); }
.chat-panel .chat-greeting {
  border-color: rgba(24,122,190,.28);
  color: #36526f;
  background: #eaf4fb;
}
.chat-topics button {
  border-color: rgba(20,84,155,.22);
  color: var(--brand);
  background: #f3f8fc;
}
.chat-topics button:hover {
  border-color: rgba(20,84,155,.42);
  color: #0f4d8f;
  background: #e7f2fa;
}
.chat-form.lead-form input::placeholder,
.chat-form.lead-form textarea::placeholder,
.chat-form.lead-form input::-webkit-input-placeholder,
.chat-form.lead-form textarea::-webkit-input-placeholder,
.chat-form.lead-form input::-moz-placeholder,
.chat-form.lead-form textarea::-moz-placeholder,
.chat-form.lead-form input:-ms-input-placeholder,
.chat-form.lead-form textarea:-ms-input-placeholder {
  color: #b0bdc9 !important;
  font-weight: 400 !important;
  opacity: 1;
}
.chat-form .form-note { color: #5a7087; }
.chat-form .form-note a { color: var(--brand); }

.footer { background: #0c2540; border-top-color: rgba(255,255,255,.08); }
.footer p, .footer span, .footer a { color: #a9bbcd; }
.footer b { color: #fff; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top-color: rgba(255,255,255,.10); color: #91a6ba; }

@media (max-width: 1180px) {
  .intent-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .hero {
    min-height: auto;
    background-image:
      linear-gradient(180deg, rgba(248,251,253,.78), rgba(248,251,253,.98) 56%, #f8fbfd 100%),
      url('assets/img/hero-lab-mobile.webp');
  }
  .intent-grid,
  .query-chip-list,
  .plain-request-panel { grid-template-columns: 1fr; }
  .intent-card { min-height: 220px; padding: 24px; }
  .plain-request-panel { gap: 22px; padding: 26px; }
}

/* v5.40 — светлая визуальная система, наглядные блоки и умеренная анимация */
.hero {
  min-height: 720px;
  padding: 132px 0 74px;
  background:
    radial-gradient(circle at 80% 12%, rgba(31,120,188,.13), transparent 28rem),
    linear-gradient(180deg, #f8fbfd, #edf4f9);
}
.hero:before {
  background:
    linear-gradient(rgba(20,84,155,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,84,155,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000, transparent 86%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
  gap: clamp(40px, 5vw, 76px);
  align-items: center;
}
.hero-copy { max-width: 680px; }
.hero h1 { font-size: clamp(44px, 5.1vw, 76px); line-height: .98; letter-spacing: -.045em; }
.hero .lead { max-width: 650px; font-size: clamp(18px, 1.55vw, 22px); }
.hero-scope { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.hero-scope span {
  padding: 10px 13px;
  border: 1px solid rgba(20,84,155,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: #29435e;
  font-size: 13px;
  font-weight: 820;
  box-shadow: 0 8px 24px rgba(32,67,104,.06);
}
.hero-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(30,66,103,.13);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(32,67,104,.18);
}
.hero-visual:after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
  pointer-events: none;
}
.hero-visual picture,
.hero-visual img { display: block; width: 100%; }
.hero-visual img { aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.hero-visual-tags {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-visual-tags span {
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: #19324d;
  font: 850 11px/1 var(--font-tech);
  letter-spacing: .08em;
  box-shadow: 0 8px 26px rgba(18,54,90,.14);
  backdrop-filter: blur(8px);
}
.hero-mobile-visual,
.hero-mobile-cta { display: none; }

.service-card {
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20,84,155,.28);
  box-shadow: 0 24px 58px rgba(32,67,104,.15);
}
.service-card-media img,
.feature-media img,
.service-hero-media img,
.news-card-media img {
  padding: 0;
  object-fit: cover;
}
.service-card:hover .service-card-media img { transform: scale(1.025); }

.deliverables-grid { align-items: start; }
.deliverable-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.deliverable-list > div {
  min-height: 142px;
  padding: 20px;
  border: 1px solid rgba(30,66,103,.12);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(32,67,104,.055);
}
.deliverable-list > div > span {
  display: inline-flex;
  min-width: 44px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #e8f3fb;
  color: var(--brand);
  font: 900 10px/1 var(--font-tech);
  letter-spacing: .08em;
}
.deliverable-list b { display: block; color: #19324d; font-size: 17px; }
.deliverable-list small { display: block; margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.45; }

.process-line { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.step { min-height: 238px; padding: 21px 18px; }
.step:before { margin-bottom: 30px; }
.step:after {
  content: '';
  position: absolute;
  top: 34px;
  left: 48px;
  width: calc(100% - 38px);
  height: 1px;
  background: linear-gradient(90deg, rgba(31,120,188,.45), rgba(31,120,188,.08));
}
.step:last-child:after { display: none; }

.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.industry-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid rgba(30,66,103,.12);
  border-radius: 24px;
  background: linear-gradient(145deg, #fff, #f6f9fc);
  box-shadow: 0 14px 42px rgba(32,67,104,.07);
  transition: transform .2s ease, border-color .2s ease;
}
.industry-card:hover { transform: translateY(-3px); border-color: rgba(20,84,155,.27); }
.industry-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 14px;
  background: #e8f3fb;
  color: var(--brand);
}
.industry-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.industry-card h3 { font-size: 23px; }
.industry-card p { margin-top: 12px; color: var(--muted); }

.btn-primary:hover { box-shadow: 0 20px 48px rgba(18,83,159,.34); }
.faq-list summary:after { transition: transform .2s ease; }
.faq-list details[open] summary:after { transform: rotate(180deg); }
.faq-list details[open] p { animation: faq-in .22s ease both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.reveal-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .52s ease, transform .52s ease;
}
.reveal-enabled .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .hero-inner { grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr); gap: 38px; }
  .hero h1 { font-size: clamp(42px, 5.4vw, 62px); }
  .process-line { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step:nth-child(4):after { display: none; }
}
@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 122px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 760px; }
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero { padding: 104px 0 54px; background: linear-gradient(180deg, #f8fbfd, #edf4f9); }
  .hero-inner { gap: 30px; }
  .hero h1 { font-size: clamp(39px, 12vw, 54px); }
  .hero .lead { font-size: 18px; }
  .hero-inner > .hero-visual { display: none; }
  .hero-mobile-visual {
    display: block;
    min-height: 238px;
    margin-top: 26px;
    overflow: hidden;
    border: 1px solid rgba(30,66,103,.13);
    border-radius: 24px;
    background: #fff url('assets/img/hero-engineering-light-mobile.webp') center 55% / cover no-repeat;
    box-shadow: 0 20px 54px rgba(32,67,104,.16);
  }
  .hero-mobile-cta { display: flex; width: 100%; margin-top: 16px; }
  .hero-copy > .hero-actions .btn-primary { display: none; }
  .service-card-grid,
  .deliverable-list,
  .industry-grid,
  .process-line { grid-template-columns: 1fr; }
  .process-line { gap: 12px; }
  .step { min-height: 0; padding: 22px 22px 22px 72px; }
  .step:before { position: absolute; top: 24px; left: 22px; margin: 0; }
  .step:after { top: 48px; left: 35px; width: 1px; height: calc(100% - 22px); background: rgba(31,120,188,.24); }
  .step:nth-child(4):after { display: block; }
  .step:last-child:after { display: none; }
  .industry-card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-enabled .reveal { opacity: 1; transform: none; }
  .faq-list details[open] p { animation: none; }
}


/* v5.41 — SEO intent/estimate blocks: readable commercial detail without heavy UI */
.estimate-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.estimate-card { padding:24px; border:1px solid rgba(30,66,103,.12); border-radius:22px; background:#fff; box-shadow:0 12px 34px rgba(32,67,104,.055); }
.estimate-card h3 { font-size:21px; line-height:1.24; }
.estimate-card p { margin-top:12px; color:var(--muted); line-height:1.68; }
.seo-estimate-section .section-head { align-items:end; }
@media (max-width:920px){ .estimate-grid { grid-template-columns:1fr; } }


/* v5.46: разделение обращений на физических и юридических лиц */
.client-type-fieldset {
  min-width: 0;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}
.client-type-fieldset legend {
  margin: 0 0 9px;
  padding: 0;
  color: #29435e;
  font-size: 14px;
  font-weight: 800;
}
.client-type-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.client-type-options label {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}
.client-type-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.client-type-options span {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid rgba(30,66,103,.17);
  border-radius: 13px;
  background: #f7fafc;
  color: #415b75;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.25;
  text-align: center;
  transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.client-type-options input:checked + span {
  border-color: rgba(20,84,155,.48);
  background: #eaf4fb;
  color: #12539f;
  box-shadow: inset 0 0 0 1px rgba(20,84,155,.08);
}
.client-type-options input:focus-visible + span {
  outline: 3px solid rgba(24,122,190,.22);
  outline-offset: 2px;
}
.client-company-field[hidden],
.client-inn-field[hidden] { display: none !important; }
.chat-form .client-type-fieldset { margin-bottom: 14px; }
.chat-form .client-type-options { grid-template-columns: 1fr; }
.chat-form .client-type-options span { min-height: 42px; padding: 9px 10px; }

@media (max-width: 520px) {
  .client-type-options { grid-template-columns: 1fr; }
}


/* v5.50 — placeholder appearance, deliberately last in cascade */
.lead-form input,
.lead-form textarea {
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400 !important;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #a8b4c0 !important;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.lead-form input::-webkit-input-placeholder,
.lead-form textarea::-webkit-input-placeholder {
  color: #a8b4c0 !important;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.chat-form.lead-form input::placeholder,
.chat-form.lead-form textarea::placeholder {
  color: #a8b4c0 !important;
  font-weight: 400 !important;
  opacity: 1 !important;
}

/* v5.60 privacy/legal footer */
.footer-legal-links{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.footer-legal-links a,.analytics-settings-link{font:inherit;color:inherit;text-decoration:underline;text-underline-offset:3px}.analytics-settings-link{appearance:none;border:0;background:transparent;padding:0;cursor:pointer}.analytics-settings-link:focus-visible,.footer-legal-links a:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:2px}.privacy-document h2{margin-top:28px}.privacy-document p{max-width:920px}@media(max-width:720px){.footer-bottom{align-items:flex-start}.footer-legal-links{justify-content:flex-start;gap:8px 12px}}

/* v5.60 explicit personal-data consent */
.pd-consent-field{display:grid!important;grid-template-columns:18px minmax(0,1fr);gap:10px;align-items:start;margin:4px 0 14px!important;color:#506579!important;font-size:13px!important;font-weight:400!important;line-height:1.45}.lead-form .pd-consent-field input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;box-sizing:border-box!important;width:16px!important;height:16px!important;min-width:16px!important;margin:2px 0 0!important;padding:0!important;border:0!important;border-radius:2px!important;background:transparent!important;box-shadow:none!important;accent-color:#187abe}.pd-consent-field span{display:block;min-width:0;font-weight:400!important}.pd-consent-field a{color:var(--brand)!important;font-weight:400!important;text-decoration:underline;text-underline-offset:2px;overflow-wrap:normal}.pd-consent-field .pd-policy-link{margin-left:5px;white-space:nowrap;color:#6d8194!important}.pd-consent-field input[type="checkbox"]:focus-visible{outline:2px solid var(--brand);outline-offset:2px}@media(max-width:520px){.pd-consent-field{grid-template-columns:18px minmax(0,1fr);gap:9px;margin-bottom:13px!important}.pd-consent-field .pd-policy-link{margin-left:0;white-space:normal}}

/* v5.60 analytics consent */
.analytics-consent-banner{position:fixed;left:0;right:0;bottom:0;z-index:170;padding:12px 16px;pointer-events:none}.analytics-consent-inner{pointer-events:auto;max-width:1180px;margin:0 auto;padding:14px 16px;border:1px solid rgba(18,83,159,.18);border-radius:14px;background:#fff;box-shadow:0 10px 32px rgba(22,38,58,.16);display:flex;align-items:center;justify-content:space-between;gap:18px}.analytics-consent-copy{display:grid;gap:4px;min-width:0}.analytics-consent-copy b{font-size:15px}.analytics-consent-copy span{font-size:13px;line-height:1.45}.analytics-consent-copy a{text-decoration:underline;text-underline-offset:2px}.analytics-consent-actions{display:flex;gap:9px;flex:0 0 auto;flex-wrap:wrap}.analytics-consent-actions .btn{white-space:nowrap}.analytics-consent-actions button:focus-visible{outline:2px solid currentColor;outline-offset:3px}@media(max-width:760px){.analytics-consent-banner{padding:8px}.analytics-consent-inner{align-items:stretch;flex-direction:column;gap:10px;padding:12px}.analytics-consent-actions{display:grid;grid-template-columns:1fr}.analytics-consent-actions .btn{width:100%}}

/* v5.60 RU/EN language switcher */
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.language-switcher .lang-current {
  color: var(--text, #162033);
}
.language-switcher .lang-link {
  color: var(--primary, #12539f);
  text-decoration: none;
}
.language-switcher .lang-link:hover,
.language-switcher .lang-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.language-switcher .lang-separator {
  color: #9aa7b8;
  font-weight: 400;
}
.language-switcher-mobile {
  display: none;
}
@media (max-width: 900px) {
  .nav-shell > .language-switcher { display: none; }
  .mobile-nav .language-switcher-mobile {
    display: flex;
    padding: 0.75rem 0;
  }
}
