/* CDO Global — О компании · стилистика главного сайта (Manrope + dark + lime) */

/* === Variables === */
:root {
  --bg: #0B0F0C;
  --bg-2: #0E0E15;
  --bg-3: #071009;
  --ink: #FFFFFF;
  --ink-900: #0B0F0C;
  --ink-950: #070A08;
  --lime: #74D414;
  --lime-soft: rgba(116, 212, 20, .14);
  --lime-hover: #8FE234;
  --lime-dark: #5DB00C;
  --muted: rgba(255,255,255,.55);
  --muted-2: rgba(255,255,255,.45);
  --muted-3: rgba(255,255,255,.40);
  --line: rgba(255,255,255,.10);
  --line-2: rgba(255,255,255,.12);
  --card: rgba(255,255,255,.04);
  --card-h: rgba(255,255,255,.06);
}

/* === Reset === */
*,*::before,*::after { box-sizing: border-box; }
html,body { margin:0; padding:0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img,svg { max-width:100%; display:block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background:none; border:0; color:inherit; padding:0; }
ul,ol { margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,h5,h6,p { margin:0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* === Background ambience === */
.bg-dots {
  background-image:
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.bg-gradient-fade {
  background: linear-gradient(180deg, rgba(7,10,8,1) 0%, rgba(5,6,5,0) 100%), var(--bg-3);
}

/* === Container === */
.container-x {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}
@media (max-width: 640px) { .container-x { padding-inline: 18px; } }

/* === Header === */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background: rgba(11,15,12,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.site-header .row {
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.brand { display:inline-flex; align-items:center; gap:10px; }
.brand img { height: 28px; width:auto; }
.nav { display:none; gap: 28px; align-items:center; }
.nav-link { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.7); transition: color .2s, border-color .2s; border-bottom: 2px solid transparent; padding: 6px 0; }
.nav-link:hover, .nav-link.active { color: var(--lime); border-bottom-color: var(--lime); }

/* Nav trigger и mega-menu */
.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.7);
  border-bottom: 2px solid transparent; padding: 6px 0;
  transition: color .2s, border-color .2s;
  cursor: pointer; line-height: 1.4;
}
.nav-trigger .chev { font-size: 10px; opacity: .7; transition: transform .2s; }
.nav-trigger:hover, .nav-trigger.active { color: var(--lime); border-bottom-color: var(--lime); }
.nav-item.is-open .nav-trigger .chev { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 14px); left: 0;
  min-width: 340px; max-width: 720px;
  background: rgba(14,14,21,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .18s, transform .18s, visibility .18s;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  z-index: 60;
  box-shadow: 0 24px 48px -20px rgba(0,0,0,.7);
}
.mega.mega-2col { min-width: 600px; left: -120px; grid-template-columns: 1fr 1fr; gap: 6px; }
.nav-item.is-open .mega, .nav-item:hover .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.mega-item {
  display: block; padding: 12px 14px; border-radius: 14px;
  border: 1px solid transparent;
  transition: border-color .15s, background .15s;
}
.mega-item:hover { border-color: rgba(116,212,20,.35); background: var(--lime-soft); }
.mi-t { display: inline-flex; font-size: 14px; font-weight: 700; color: var(--ink); }
.mi-d { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: var(--muted-2); }
.mega-item:hover .mi-t { color: var(--lime); }

/* Mobile burger */
.mobile-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; align-items: center; justify-content: center;
  border-radius: 12px; border: 1px solid var(--line);
}
.mobile-toggle span {
  display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.mobile-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
.mobile-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .mobile-toggle { display: none; } }

.mobile-menu {
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  width: 100%; height: calc(100vh - 64px);
  background: var(--bg);
  padding: 22px 18px 80px;
  overflow-y: auto;
  z-index: 55;
  border-top: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mm-group { padding: 4px 0; border-bottom: 1px solid var(--line); }
.mm-group > summary {
  list-style: none; cursor: pointer;
  font-size: 16px; font-weight: 700;
  padding: 14px 4px; display: flex; align-items: center; justify-content: space-between;
}
.mm-group > summary::-webkit-details-marker { display: none; }
.mm-group > summary::after {
  content: '+'; color: var(--lime); font-size: 20px; font-weight: 700;
}
.mm-group[open] > summary::after { content: '−'; }
.mm-group a {
  display: block; padding: 10px 14px; font-size: 14px;
  color: var(--muted); border-radius: 10px;
}
.mm-group a:hover { color: var(--lime); background: var(--lime-soft); }
.mm-link {
  display: block; padding: 16px 4px; font-size: 16px; font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.mm-link:hover { color: var(--lime); }
.mm-cta {
  display: inline-flex; margin-top: 24px;
  background: var(--lime); color: var(--ink-900);
  font-weight: 700; font-size: 15px;
  padding: 14px 22px; border-radius: 999px;
}
.mm-cta:hover { background: var(--lime-hover); }
.btn-cta {
  display:inline-flex; align-items:center; gap:8px;
  background: var(--lime); color: var(--ink-900);
  font-weight: 700; font-size: 13.5px; line-height: 1;
  padding: 11px 18px; border-radius: 999px;
  transition: background .2s, transform .15s;
}
.btn-cta:hover { background: var(--lime-hover); }
.btn-cta:active { transform: scale(.97); }
@media (min-width: 1024px) { .nav { display:flex; } }

/* === Hero === */
.hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}
.hero::before {
  content:'';
  position:absolute; inset:0;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(116,212,20,.10) 0%, transparent 60%),
    radial-gradient(50% 40% at 10% 30%, rgba(116,212,20,.06) 0%, transparent 70%);
  pointer-events:none;
}
.hero .bg-dots-layer { position:absolute; inset:0; opacity:.28; }
.eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--lime);
  background: var(--lime-soft);
  border: 1px solid rgba(116,212,20,.22);
  padding: 7px 14px; border-radius: 999px;
}
h1 {
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 800;
  margin-top: 24px;
  max-width: 980px;
}
h1 .lime { color: var(--lime); }
.lead {
  margin-top: 24px;
  max-width: 780px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  color: rgba(255,255,255,.72);
}

/* === Stat cards === */
.stat-grid {
  margin-top: 56px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0,1fr));
}
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap:18px; } }
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px 22px 20px;
  transition: border-color .2s, background .2s, transform .2s;
}
.stat:hover { border-color: rgba(116,212,20,.35); background: var(--card-h); }
.stat .k { color: var(--lime); font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.stat .l { margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* === Section === */
section {
  padding: 96px 0;
  position: relative;
}
.section-eyebrow {
  display:inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 14px;
}
h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 800;
  max-width: 880px;
}
.section-lead {
  margin-top: 18px;
  max-width: 760px;
  color: rgba(255,255,255,.65);
  font-size: 16px;
  line-height: 1.65;
}

/* === Slogan strip === */
.slogan {
  margin: 0 auto;
  padding: 64px 0;
  text-align:center;
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(116,212,20,.14) 0%, transparent 70%),
    var(--bg);
  border-top: 1px solid rgba(116,212,20,.15);
  border-bottom: 1px solid rgba(116,212,20,.15);
}
.slogan .quote {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.slogan .quote .lime { color: var(--lime); }
.slogan .caption { margin-top: 14px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }

/* === Mission values === */
.values { margin-top: 48px; display:grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.value:hover { border-color: rgba(116,212,20,.35); }
.value .num {
  display:inline-flex; align-items:center; justify-content:center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--lime-soft);
  color: var(--lime);
  font-weight: 800; font-size: 17px;
}
.value h3 { margin-top: 18px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.value p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* === Timeline === */
.timeline {
  margin-top: 48px;
  position: relative;
  padding-left: 28px;
}
.timeline::before {
  content:''; position:absolute; left: 8px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--lime), rgba(116,212,20,.05));
}
.t-item { position: relative; padding: 0 0 28px 24px; }
.t-item::before {
  content:''; position:absolute; left: -25px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(116,212,20,.16);
}
.t-year { color: var(--lime); font-weight: 800; font-size: 15px; letter-spacing: .04em; }
.t-title { margin-top: 4px; font-size: 17px; font-weight: 700; }
.t-text { margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.6; max-width: 720px; }

/* === Team === */
.team { margin-top: 48px; display:grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .team { grid-template-columns: repeat(3, 1fr); } }
.person {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  transition: border-color .2s, background .2s;
}
.person:hover { border-color: rgba(116,212,20,.35); background: var(--card-h); }
.avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(116,212,20,.22), rgba(116,212,20,.06));
  display:flex; align-items:center; justify-content:center;
  font-weight: 800; font-size: 22px; color: var(--lime);
  border: 1px solid rgba(116,212,20,.28);
  letter-spacing: .02em;
}
.person .name { margin-top: 18px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.person .role { margin-top: 4px; color: var(--lime); font-size: 13.5px; font-weight: 600; letter-spacing: .02em; }
.person .bio { margin-top: 14px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* === Logo grids === */
.logo-grid {
  margin-top: 48px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .logo-grid { grid-template-columns: repeat(5, 1fr); } }
.logo-card {
  aspect-ratio: 3 / 2;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  display:flex; align-items:center; justify-content:center;
  padding: 16px;
  transition: border-color .2s, background .2s, transform .2s;
}
.logo-card:hover { border-color: rgba(116,212,20,.35); background: var(--card-h); transform: translateY(-2px); }
.logo-card img {
  max-height: 56px; max-width: 80%;
  width:auto; height:auto;
  filter: brightness(0) invert(1) opacity(.78);
  transition: filter .25s;
}
.logo-card:hover img { filter: none; opacity:1; }
.logo-card.color { background: #fff; border-color: rgba(255,255,255,.08); }
.logo-card.color:hover { background: #fff; border-color: var(--lime); }
.logo-card.color img { filter: none; opacity: 1; max-height: 64px; }
.logo-card.color:hover img { opacity: 1; }
.logo-card .fallback {
  font-size: 14px; font-weight: 700; color: var(--muted);
  text-align:center; letter-spacing: .01em;
}

/* Tech stack — slightly larger cells */
.tech-grid {
  margin-top: 48px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .tech-grid { grid-template-columns: repeat(4, 1fr); } }
.tech-cell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 18px;
  display:flex; flex-direction:column; align-items:center; gap: 14px;
  text-align:center;
  transition: border-color .2s, background .2s;
}
.tech-cell:hover { border-color: rgba(116,212,20,.35); background: var(--card-h); }
.tech-cell .pic {
  height: 56px; display:flex; align-items:center; justify-content:center;
}
.tech-cell .pic img { max-height: 48px; max-width: 100%; filter: brightness(0) invert(1) opacity(.85); }
.tech-cell.color { background: #fff; }
.tech-cell.color:hover { background: #fff; border-color: var(--lime); }
.tech-cell.color .pic img { filter: none; opacity: 1; }
.tech-cell.color .label, .tech-cell.color .desc { color: var(--ink-900); }
.tech-cell.color .desc { color: rgba(11,15,12,.6); }
.tech-cell .label { font-weight: 700; font-size: 15px; }
.tech-cell .desc { color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* === Status / chips === */
.chips {
  margin-top: 36px;
  display:flex; flex-wrap:wrap; gap: 10px;
}
.chip {
  display:inline-flex; align-items:center; gap:8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: rgba(255,255,255,.78);
  transition: border-color .2s, color .2s;
}
.chip:hover { border-color: rgba(116,212,20,.35); color: var(--ink); }
.chip .dot { width:6px; height:6px; border-radius:50%; background: var(--lime); }

/* === Case cards === */
.cases {
  margin-top: 36px;
  display:grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.case {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  transition: border-color .2s, background .2s;
}
.case:hover { border-color: rgba(116,212,20,.35); background: var(--card-h); }
.case .who { color: var(--lime); font-weight: 700; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; }
.case h4 { margin-top: 12px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.case p { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* === FAQ === */
.faq { margin-top: 36px; }
.q {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  padding: 22px 24px;
  margin-bottom: 12px;
  transition: border-color .2s, background .2s;
}
.q[open] { border-color: rgba(116,212,20,.30); background: var(--card-h); }
.q summary {
  cursor: pointer;
  display:flex; align-items:flex-start; justify-content:space-between; gap: 16px;
  font-weight: 700; font-size: 16px; line-height: 1.5;
  list-style: none;
}
.q summary::-webkit-details-marker { display:none; }
.q summary::after {
  content:'+'; flex-shrink:0;
  width:28px; height:28px; border-radius: 50%;
  background: var(--lime-soft); color: var(--lime);
  display:inline-flex; align-items:center; justify-content:center;
  font-weight: 700; font-size: 18px; transition: transform .2s;
}
.q[open] summary::after { content:'−'; }
.q .a {
  margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.65;
}

/* === Requisites card === */
.req {
  margin-top: 36px;
  background: linear-gradient(180deg, rgba(116,212,20,.06), transparent 70%), var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px;
}
.req-grid {
  margin-top: 22px;
  display:grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .req-grid { grid-template-columns: repeat(2, 1fr); } }
.req-item { padding: 14px 0; border-top: 1px solid var(--line); }
.req-item:nth-child(1), .req-item:nth-child(2) { border-top: 0; padding-top: 0; }
.req-item .k { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.req-item .v { margin-top: 6px; font-size: 15.5px; }
.req-item .v a { color: var(--lime); }

/* === CTA dark block === */
.cta-block {
  margin-top: 96px;
  padding: 72px 0;
  background:
    radial-gradient(40% 70% at 80% 0%, rgba(116,212,20,.14) 0%, transparent 60%),
    radial-gradient(40% 70% at 20% 100%, rgba(116,212,20,.10) 0%, transparent 60%),
    var(--bg-3);
  border-top: 1px solid var(--line);
}
.cta-block h3 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.1;
  max-width: 760px;
}
.cta-block p { margin-top: 14px; color: var(--muted); max-width: 600px; font-size: 16px; line-height: 1.6; }
.cta-actions { margin-top: 28px; display:flex; flex-wrap:wrap; gap: 12px; }
.btn-primary {
  display:inline-flex; align-items:center; gap:8px;
  background: var(--lime); color: var(--ink-900);
  font-weight: 700; font-size: 15px;
  padding: 14px 24px; border-radius: 999px;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--lime-hover); }
.btn-primary:active { transform: scale(.97); }
.btn-ghost {
  display:inline-flex; align-items:center; gap:8px;
  background: transparent; color: var(--ink);
  border: 1px solid var(--line-2);
  font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 999px;
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: rgba(116,212,20,.4); background: rgba(116,212,20,.06); }

/* === Footer === */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgb(7,10,8) 0%, rgba(5,6,5,0) 100%), rgb(7,10,8);
  padding: 56px 0 36px;
}
.site-footer .bg-dots-layer { position:absolute; inset:0; opacity:.20; pointer-events:none; }
.foot-grid { position: relative; display:grid; gap:40px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .foot-grid { grid-template-columns: 1.4fr .8fr 1fr; } }
.foot-h { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-3); }
.foot-list { margin-top: 16px; display:flex; flex-direction:column; gap: 10px; }
.foot-list a, .foot-list span { font-size: 14px; color: var(--muted); transition: color .2s; }
.foot-list a:hover { color: var(--lime); }
.foot-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
  position: relative;
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap: 14px;
  color: var(--muted-2); font-size: 13px;
}
.lang-pill {
  display:inline-flex; align-items:center; gap: 4px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 4px;
}
.lang-pill button {
  padding: 6px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
  color: var(--muted-2); transition: color .2s, background .2s;
}
.lang-pill button.active { background: var(--lime); color: var(--ink-900); }

/* === Crumbs === */
.crumbs {
  position: relative;
  padding: 110px 0 0;
  color: var(--muted-2);
  font-size: 13px;
}
.crumbs a { color: var(--muted-2); transition: color .2s; }
.crumbs a:hover { color: var(--lime); }
.crumbs .sep { margin: 0 8px; color: var(--muted-3); }
.crumbs .cur { color: var(--ink); }

/* === Focus styles === */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px;
}

/* === Selection === */
::selection { background: var(--lime); color: var(--ink-900); }

/* === Utilities === */
.hidden { display: none; }
.mt-0 { margin-top: 0 !important; }
