/* ============================================
   САМРАУ — ОБЩИЕ СТИЛИ
   ============================================ */
:root {
  --blue: #0047CC;
  --blue-dark: #003399;
  --blue-light: #1a5fd4;
  --orange: #F97316;
  --teal: #0D9488;
  --navy: #0A1628;
  --navy-mid: #0f1f3d;
  --white: #ffffff;
  --grey-bg: #F8FAFC;
  --grey-light: #E8EDF5;
  --grey-mid: #94A3B8;
  --text-dark: #0F172A;
  --text-mid: #334155;
  --text-light: #64748B;
  --font: 'Manrope', sans-serif;
  --radius: 4px;
  --radius-sm: 2px;
  --transition: 0.3s ease;
  --shadow: 0 4px 24px rgba(0,71,204,0.10);
  --shadow-md: 0 8px 40px rgba(0,71,204,0.15);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text-dark); background: var(--white); line-height: 1.5; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: var(--font); }

/* ТИПОГРАФИКА */
.h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; line-height: 1.2; }
.h4 { font-size: clamp(1rem, 1.8vw, 1.25rem); font-weight: 700; line-height: 1.3; }
.body-lg { font-size: 1.125rem; font-weight: 400; line-height: 1.65; }
.body { font-size: 1rem; font-weight: 400; line-height: 1.6; }
.caption { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }

/* КОНТЕЙНЕР */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* КНОПКИ */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 6px; font-size: 0.95rem; font-weight: 700; font-family: var(--font); transition: var(--transition); cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--white); color: var(--text-dark); }
.btn-primary:hover { background: var(--grey-light); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); }
.btn-outline-blue { border: 2px solid var(--blue); color: var(--blue); padding: 12px 26px; }
.btn-outline-blue:hover { background: var(--blue); color: white; }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; font-size: 0.95rem; transition: var(--transition); }
.btn-ghost:hover { gap: 14px; }

/* ТЕГИ */
.tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 4px; }
.tag-blue { background: rgba(0,71,204,0.1); color: var(--blue); }
.tag-orange { background: rgba(249,115,22,0.12); color: var(--orange); }
.tag-teal { background: rgba(13,148,136,0.1); color: var(--teal); }
.tag-white { background: rgba(255,255,255,0.15); color: var(--white); }
.tag-grey { background: var(--grey-light); color: var(--text-mid); }

/* НАВИГАЦИЯ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.06); transition: var(--transition); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 10px; margin-right: 48px; font-weight: 800; font-size: 1.2rem; color: var(--navy); letter-spacing: -0.02em; }
.nav-logo-mark { width: 36px; height: 36px; background: var(--blue); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.85rem; font-weight: 800; }

.nav-logo-mark-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.footer-logo-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}

.footer-logo-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.footer-logo-head .footer-logo-name {
  margin-bottom: 0;
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 0.95rem; font-weight: 600; color: var(--text-mid); transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
}

/* PAGE HERO (для внутренних страниц) */
.page-hero { padding: 140px 0 80px; background: var(--grey-bg); border-bottom: 1px solid var(--grey-light); }
.page-hero-eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.page-hero-title { font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 20px; }
.page-hero-sub { font-size: 1.1rem; color: var(--text-mid); line-height: 1.65; max-width: 560px; }

/* SIDEBAR LAYOUT (Etton-стиль) */
.sidebar-layout { display: grid; grid-template-columns: 260px 1fr; gap: 80px; padding-top: 80px; padding-bottom: 100px; align-items: start; }
.sidebar { position: sticky; top: 100px; }
.sidebar-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-mid); margin-bottom: 24px; }
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; }
.sidebar-link { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 0.95rem; font-weight: 600; color: var(--text-light); border-bottom: 1px solid var(--grey-light); transition: var(--transition); }
.sidebar-link:hover { color: var(--blue); }
.sidebar-link.active { color: var(--blue); font-weight: 700; }
.sidebar-num { font-size: 0.75rem; font-weight: 700; color: var(--grey-mid); min-width: 24px; }
.sidebar-text { margin-top: 36px; font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }

/* СЕКЦИИ */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 52px; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.025em; }
.section-sub { font-size: 1.05rem; color: var(--text-mid); max-width: 480px; line-height: 1.6; margin-top: 12px; }

/* FORM */
.form-input { width: 100%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-sm); padding: 14px 18px; font-family: var(--font); font-size: 0.95rem; color: var(--white); transition: var(--transition); outline: none; }
.form-input::placeholder { color: rgba(255,255,255,0.3); }
.form-input:focus { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.1); }
.form-input-light { background: var(--grey-bg); border: 1px solid var(--grey-light); color: var(--text-dark); border-radius: var(--radius-sm); padding: 14px 18px; font-family: var(--font); font-size: 0.95rem; width: 100%; outline: none; transition: var(--transition); }
.form-input-light:focus { border-color: var(--blue); }
.form-input-light::placeholder { color: var(--grey-mid); }

/* ФУТЕР */
.footer { background: var(--navy); padding: 52px 0 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { display: grid; grid-template-columns: 200px 1fr auto; gap: 60px; margin-bottom: 28px; }
.footer-logo-name { font-size: 1.1rem; font-weight: 800; color: var(--white); letter-spacing: -0.02em; margin-bottom: 10px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 20px; }
.footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a,
.footer-col-links span { font-size: 0.9rem; color: rgba(255,255,255,0.55); transition: var(--transition); font-weight: 500; }
.footer-col-links a:hover { color: var(--white); }
.footer-contacts { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: rgba(255,255,255,0.65); font-weight: 600; transition: var(--transition); }
.footer-contact-item:hover { color: white; }

.footer-contact-icon-max {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.5;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 18px; display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.25); }
.footer-policy { font-size: 0.82rem; color: rgba(255,255,255,0.25); transition: var(--transition); }
.footer-policy:hover { color: rgba(255,255,255,0.5); }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-right { display: none; }
  .nav-burger { display: flex; }
  .sidebar-layout { grid-template-columns: 1fr; gap: 40px; }
  .sidebar { position: relative; top: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .footer-links { grid-template-columns: 1fr; }
}

/* ============================================
   HOMEPAGE STYLES
   Migrated from index.html inline styles.
   Scoped with body.home-page where needed.
   ============================================ */

/* Homepage nav & buttons */
body.home-page .nav-links a { position: relative; }
body.home-page .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: var(--transition);
}
body.home-page .nav-links a:hover::after { transform: scaleX(1); }
body.home-page .btn-primary:hover { transform: translateY(-1px); }
body.home-page .btn-blue:hover { transform: translateY(-1px); }
body.home-page .btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 12px 26px;
}
body.home-page .btn-outline:hover { background: rgba(255,255,255,0.1); }
body.home-page .btn-dark:hover { background: var(--navy-mid); }
body.home-page .btn-ghost svg { transition: var(--transition); }

/* HERO */
body.home-page .hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #0A1628 0%, #0f1f3d 50%, #0A1628 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body.home-page .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(255,255,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0,0,0,0.15) 0%, transparent 50%);
  pointer-events: none;
}
body.home-page .hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
body.home-page .hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 72px;
}
body.home-page .hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 0 60px;
  width: 100%;
}
body.home-page .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 8px 16px 8px 8px;
  background: rgba(255,255,255,0.12);
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
}
body.home-page .hero-eyebrow-dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
}
body.home-page .hero-eyebrow span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
body.home-page .hero-title {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}
body.home-page .hero-title .hero-title-kicker {
  display: block;
  font-size: 0.85em;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 0.15em;
  color: rgba(255, 255, 255, 0.62);
}
body.home-page .hero-title .accent { position: relative; display: inline-block; }
body.home-page .hero-title .accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0; right: 0;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
}
body.home-page .hero-sub {
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 480px;
}
body.home-page .hero-sub-note {
  display: block;
  font-size: 0.92em;
  color: rgba(255, 255, 255, 0.58);
  margin-top: 0.4em;
}
body.home-page .hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* POSITIONING */
body.home-page .positioning {
  padding: 100px 0 80px;
  background: var(--white);
}
body.home-page .positioning-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: start;
}
body.home-page .positioning-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
body.home-page .positioning-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text-dark);
  margin-bottom: 20px;
  max-width: 600px;
}
body.home-page .positioning-title .highlight {
  display: inline-block;
  width: fit-content;
  max-width: max-content;
  white-space: nowrap;
  background: var(--blue);
  color: var(--white);
  padding: 0 8px 4px;
  border-radius: 2px;
  line-height: 1.08;
  box-decoration-break: initial;
  -webkit-box-decoration-break: initial;
}
body.home-page .positioning-title .highlight::after {
  content: none;
}
body.home-page .positioning-desc {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 48px;
}
body.home-page .positioning-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
body.home-page .num-card {
  background: var(--grey-bg);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: var(--transition);
}
body.home-page .num-card:hover {
  border-color: rgba(0,71,204,0.2);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
body.home-page .num-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
body.home-page .num-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.3;
}

/* METHOD */
body.home-page .method-section {
  padding: 80px 0;
  background: var(--grey-bg);
}
body.home-page .method-kt-dropdowns {
  width: calc((100% - 40px) / 2);
}
body.home-page .method-kt-more {
  width: calc((100% - 40px) / 2);
  margin-top: 24px;
}
body.home-page .method-kt-item {
  border-bottom: 1px solid var(--grey-light);
  overflow: hidden;
}
body.home-page .method-kt-item:first-child {
  border-top: 1px solid var(--grey-light);
}
body.home-page .method-kt-item:last-child {
  border-bottom: none;
}
body.home-page .method-kt-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font);
  text-align: left;
  transition: var(--transition);
}
body.home-page .method-kt-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}
body.home-page .method-kt-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--grey-mid);
  letter-spacing: 0.05em;
  min-width: 28px;
}
body.home-page .method-kt-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: var(--transition);
}
body.home-page .method-kt-toggle:hover .method-kt-title { color: var(--blue); }
body.home-page .method-kt-item.open .method-kt-title { color: var(--blue); }
body.home-page .method-kt-plus {
  width: 28px;
  height: 28px;
  border: 2px solid var(--grey-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--grey-mid);
}
body.home-page .method-kt-item.open .method-kt-plus {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  transform: rotate(45deg);
}
body.home-page .method-kt-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
body.home-page .method-kt-body.open {
  max-height: 200px;
}
body.home-page .method-kt-desc {
  padding: 0 0 20px 44px;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* SOLUTIONS / ACCORDION */
body.home-page .solutions {
  padding: 80px 0;
  background: var(--grey-bg);
  border-top: 1px solid var(--grey-light);
}
body.home-page .section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}
body.home-page .section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-dark);
}
body.home-page .solutions-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
body.home-page .accordion-item {
  border-bottom: 1px solid var(--grey-light);
  overflow: hidden;
}
body.home-page .accordion-item:first-child { border-top: 1px solid var(--grey-light); }
body.home-page .accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font);
  text-align: left;
  transition: var(--transition);
}
body.home-page .accordion-trigger-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
body.home-page .accordion-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--grey-mid);
  letter-spacing: 0.05em;
  min-width: 28px;
}
body.home-page .accordion-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: var(--transition);
}
body.home-page .accordion-trigger:hover .accordion-name { color: var(--blue); }
body.home-page .accordion-trigger.active .accordion-name { color: var(--blue); }
body.home-page .accordion-icon {
  width: 28px; height: 28px;
  border: 2px solid var(--grey-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--grey-mid);
}
body.home-page .accordion-trigger.active .accordion-icon {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  transform: rotate(45deg);
}
body.home-page .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
body.home-page .accordion-content.open { max-height: 200px; }
body.home-page .accordion-body { padding: 0 0 20px 44px; }
body.home-page .accordion-desc {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 12px;
}
body.home-page .solutions-visual {
  position: sticky;
  top: 100px;
  background: var(--white);
  border-radius: 4px;
  border: 1px solid var(--grey-light);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}
body.home-page .solutions-visual-img {
  flex: 1;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  background: var(--grey-light);
}
body.home-page .solutions-visual-img-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
body.home-page .solutions-visual-body { padding: 24px; }
body.home-page .solutions-visual-tag { margin-bottom: 10px; }
body.home-page .solutions-visual-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
body.home-page .solutions-visual-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* PROJECTS */
body.home-page .projects {
  padding: 100px 0;
  background: var(--white);
}
body.home-page .projects-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}
body.home-page .projects-right {
  width: 88%;
  max-width: 100%;
  margin-left: auto;
}
body.home-page .projects-left {
  position: sticky;
  top: 100px;
}
body.home-page .projects-left-title {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
body.home-page .projects-left-sub {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-bottom: 36px;
  line-height: 1.6;
}
body.home-page .project-card {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  background: var(--grey-bg);
  border: 1px solid var(--grey-light);
  margin-bottom: 24px;
  transition: var(--transition);
  text-decoration: none;
}
body.home-page .project-card:hover {
  border-color: rgba(0,71,204,0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
body.home-page .project-card:last-child { margin-bottom: 0; }
body.home-page .project-img {
  width: 100%;
  aspect-ratio: 2 / 1;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
body.home-page .project-img-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
body.home-page .project-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
body.home-page .project-img-label { position: relative; z-index: 1; text-align: center; }
body.home-page .project-img-label p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin-top: 8px;
}
body.home-page .project-body {
  padding: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
body.home-page .project-tag { margin-bottom: 10px; }
body.home-page .project-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 8px;
}
body.home-page .project-meta { font-size: 0.85rem; color: var(--text-light); }
body.home-page .project-arrow {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: var(--transition);
  margin-top: 4px;
}
body.home-page .project-card:hover .project-arrow {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

/* PRINCIPLES */
body.home-page .principles {
  padding: 100px 0;
  background: var(--grey-bg);
  border-top: 1px solid var(--grey-light);
}
body.home-page .principles-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 0;
  overflow: hidden;
  min-height: 360px;
  box-shadow: 0 20px 80px rgba(10,22,40,0.15);
}
body.home-page .principles-visual {
  position: relative;
  overflow: hidden;
  min-height: 0;
}
body.home-page .principles-visual-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
body.home-page .principles-counter {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
body.home-page .principles-counter .current { color: var(--white); }
body.home-page .principles-counter .total { color: rgba(255,255,255,0.3); }
body.home-page .principles-dark {
  background: var(--navy);
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  min-height: 0;
}

body.home-page .swiper-principles {
  flex: 0 1 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
body.home-page .swiper-principles .swiper-wrapper {
  height: auto;
  min-height: 0;
}
body.home-page .swiper-slide-principle {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  flex-shrink: 0;
}
body.home-page .principle-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
body.home-page .principle-title {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
body.home-page .principle-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.6;
  max-width: 380px;
}
body.home-page .principles-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}
body.home-page .principles-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: var(--transition);
  background: rgba(255,255,255,0.04);
  flex-shrink: 0;
}
body.home-page .principles-btn:hover {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.1);
}
body.home-page .principles-btn:active {
  border-color: var(--white);
  background: rgba(255,255,255,0.14);
}

/* CLIENTS */
body.home-page .clients {
  padding: 52px 0;
  background: var(--white);
  border-top: 1px solid var(--grey-light);
}
body.home-page .clients-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
body.home-page .clients-partners { margin-bottom: 30px; }
body.home-page .clients-partners-header {
  margin-bottom: 14px;
}
body.home-page .clients-partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
body.home-page .partner-card {
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 20px 16px;
  text-align: center;
  background: transparent;
  box-shadow: none;
  transition: var(--transition);
}
body.home-page .partner-card:hover,
body.home-page .partner-card:focus-within {
  border-color: var(--grey-light);
  background: var(--grey-bg);
}
body.home-page .partner-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 74px;
  margin-bottom: 10px;
  border-radius: 4px;
}
body.home-page .partner-card-logo:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
body.home-page .partner-card-logo img {
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.48;
  transition: var(--transition);
}
body.home-page .partner-card:hover .partner-card-logo img,
body.home-page .partner-card:focus-within .partner-card-logo img {
  filter: grayscale(0);
  opacity: 1;
}
body.home-page .logo-ontegra { max-height: 28px; }
body.home-page .logo-kiit { max-height: 66px; transform: scale(1.22); }
body.home-page .logo-prs { max-height: 40px; }
body.home-page .partner-card-desc {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.45;
}
body.home-page .clients-trust {
  padding-top: 26px;
  border-top: 1px solid rgba(232, 237, 245, 0.7);
}
body.home-page .clients-header { margin-bottom: 14px; }
body.home-page .clients-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 100%;
}
body.home-page .clients-row {
  width: 100%;
  max-width: 1200px;
  display: grid;
  gap: 10px;
  align-items: center;
  justify-items: center;
}
body.home-page .clients-row--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
body.home-page .client-item {
  width: 100%;
  padding: 16px 12px;
  min-height: 92px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  transition: var(--transition);
}
body.home-page span.client-item {
  cursor: default;
}
body.home-page .client-item:hover,
body.home-page .client-item:focus-visible {
  border-color: var(--grey-light);
  background: var(--grey-bg);
  outline: none;
}
body.home-page .client-logo {
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.48;
  transition: var(--transition);
}
body.home-page .client-item:hover .client-logo,
body.home-page .client-item:focus-visible .client-logo {
  filter: grayscale(0);
  opacity: 1;
}
body.home-page .logo-sbercity { max-height: 50px; max-width: 200px; }
body.home-page .logo-dominos { max-height: 94px; }
body.home-page .logo-tanuki { max-height: 62px; }
body.home-page .logo-dentalpro { max-height: 57px; }
body.home-page .logo-moscowshow { max-height: 87px; }
body.home-page .logo-sail { max-height: 76px; }
body.home-page .logo-railall { max-height: 54px; }
body.home-page .logo-state-duma { max-height: 94px; max-width: 188px; }
body.home-page .logo-ingosstrakh { max-height: 52px; max-width: 170px; }
body.home-page .logo-specavtobaza { max-height: 62px; max-width: 200px; }
body.home-page .logo-metro { max-height: 40px; max-width: 145px; }
body.home-page .logo-rzd { max-height: 80px; max-width: 215px; }
body.home-page .logo-svo { max-height: 72px; max-width: 190px; }
body.home-page .logo-volna-mobile { max-height: 54px; max-width: 150px; }
body.home-page .logo-sravni { max-height: 62px; max-width: 182px; }
body.home-page .logo-ipboom { max-height: 55px; max-width: 150px; }

/* CTA FORM */
body.home-page .cta-section {
  padding: 0 0 100px;
  background: var(--white);
}
body.home-page .cta-box {
  background: var(--navy);
  border-radius: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
  position: relative;
}
body.home-page .cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
body.home-page .cta-visual {
  position: relative;
  overflow: hidden;
  min-height: 0;
}
body.home-page .cta-visual-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
body.home-page .cta-form-side {
  padding: 36px 36px 32px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
body.home-page .cta-form-intro {
  display: flex;
  flex-direction: column;
  gap: 0;
}
body.home-page .cta-form-heading {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
body.home-page .cta-form-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.55;
  max-width: 380px;
  margin: 0;
}
body.home-page .cta-form-side .direct-contacts {
  gap: 8px;
}
.direct-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.direct-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.direct-contact-link:hover {
  color: white;
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}
.direct-contact-icon-max {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.65;
}
.direct-contact-link:hover .direct-contact-icon-max { opacity: 1; }

/* Homepage footer logo */
body.home-page .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
body.home-page .footer-logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0;
}
body.home-page .footer-logo-tag {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
  max-width: 140px;
}

/* Homepage responsive */
@media (max-width: 1024px) {
  body.home-page .hero-content { grid-template-columns: 1fr; gap: 40px; }
  body.home-page .positioning-inner { grid-template-columns: 1fr; gap: 40px; }
  body.home-page .positioning-numbers { grid-template-columns: repeat(2, 1fr); }
  body.home-page .method-kt-dropdowns { width: 100%; }
  body.home-page .method-kt-more { width: 100%; }
  body.home-page .solutions-layout { grid-template-columns: 1fr; }
  body.home-page .solutions-visual { position: relative; top: 0; }
  body.home-page .projects-layout { grid-template-columns: 1fr; }
  body.home-page .projects-left { position: relative; top: 0; }
  body.home-page .projects-right { width: 100%; margin-left: 0; }
  body.home-page .clients-row--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  body.home-page .client-item {
    padding: 14px 10px;
    min-height: 84px;
  }
}
@media (max-width: 768px) {
  body.home-page .positioning-numbers { grid-template-columns: repeat(2, 1fr); }
  body.home-page .clients-partners-grid { grid-template-columns: 1fr; }
  body.home-page .clients-row--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  body.home-page .client-item {
    min-height: 76px;
    padding: 12px 10px;
  }
  body.home-page .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 640px) {
  body.home-page .principles-layout {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  body.home-page .principles-visual {
    min-height: 240px;
    aspect-ratio: 4 / 3;
  }
  body.home-page .principles-dark { padding: 32px 24px; }
  body.home-page .cta-box {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  body.home-page .cta-visual {
    min-height: 240px;
    aspect-ratio: 4 / 3;
  }
  body.home-page .cta-form-side { padding: 32px 24px; }
}


/* HERO BACKGROUND IMAGE */
body.home-page .hero {
  background-color: #081223;
  background-image:
    linear-gradient(90deg, rgba(8, 18, 35, 1) 0%, rgba(8, 18, 35, 0.97) 28%, rgba(8, 18, 35, 0.72) 47%, rgba(8, 18, 35, 0.20) 72%, rgba(8, 18, 35, 0.06) 100%),
    url("assets/hero-main.webp");
  background-repeat: no-repeat, no-repeat;
  background-position: center center, right center;
  background-size: 100% 100%, auto 100%;
}

body.home-page .hero::before,
body.home-page .hero::after {
  display: none;
}

body.home-page .hero-visual {
  display: none;
}
