/* ============================================================
   VIDEOSOTA— Shared Stylesheet  |  Light Grey Edition
   ============================================================ */

:root {
  --bg:            #f0f0f0;
  --bg-2:          #e8e8e8;
  --bg-3:          #dedede;
  --bg-card:       #ebebeb;
  --bg-dark:       #1e1e1e;
  --ink:           #1a1a1a;
  --ink-2:         #3d3d3d;
  --ink-muted:     #7a7a7a;
  --accent:        #e8250e;
  --accent-2:      #ff4422;
  --accent-glow:   rgba(232,37,14,0.15);
  --accent-soft:   rgba(232,37,14,0.07);
  --border:        rgba(255,255,255,0.85);
  --border-mid:    rgba(255,255,255,1);
  --font-display: 'Manrope', sans-serif;
  --font-body:     'Manrope', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── SECTION LABEL — bracket style ── */
.section-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 0;
}
.section-label::before { content: '['; color: var(--accent); margin-right: 3px; }
.section-label::after  { content: ']'; color: var(--accent); margin-left:  3px; }

.section-label2 {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #fff; margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 0;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  background: rgba(240,240,240,0.94);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-family: var(--font-display); font-weight: 900;
  font-size: 20px; letter-spacing: 0.06em;
  color: var(--ink); 
}
.logo:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: 40px; /* 👈 ОЦЕ */
}
.nav-links a { color: var(--ink-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--accent); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-cta:hover { background: var(--accent-2); box-shadow: 0 4px 20px var(--accent-glow); }


.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 28px;
}

.lang-switch .lang-btn {
  min-width: 86px;
  height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;

  color: #e8250e;
  background: transparent;
  border: 1px solid rgba(232, 37, 14, 0.45);

  transition: all 0.25s ease;
}

.lang-switch .lang-btn:hover {
  color: #ff4d36;
  border-color: #e8250e;
  background: rgba(232, 37, 14, 0.08);
  transform: translateY(-1px);
}

.lang-switch .lang-btn-defense {
  background: #151b18;
  color: #ffffff;
  border: 1px solid rgba(199, 166, 74, 0.45);
}

.lang-switch .lang-btn-defense:hover {
  background: #1b221e;
  color: #e0bf63;
  border-color: #c7a64a;
}


.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: var(--accent); /* 🔴 червона */
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #fff; /* ⚪ білі полоски */
  display: block;
}

/* мобілка */
@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--accent); /* 🔴 червоне меню */
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: #fff; /* ⚪ білий текст */
    font-size: 14px;
  }

  .nav-links a:hover {
    opacity: 0.7;
  }
}
/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden; padding: 11px 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-track {
  display: flex; gap: 64px; white-space: nowrap;
  animation: marquee 24s linear infinite;
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.marquee-track span { color: var(--accent); }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 30px; border: none; cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 8px 28px var(--accent-glow); transform: translateY(-2px); }

.btn-outline {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--border-mid);
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 11px 22px; cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--border-mid); color: var(--ink);
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 12px 24px; cursor: pointer; background: transparent;
  transition: border-color 0.2s, color 0.2s, background 0.2s; margin-top: 32px;
}
.btn-outline-dark:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ── PROJECT CARD ── */
.project-card {
  position: relative; overflow: hidden;
  aspect-ratio: 16/10; background: var(--bg-2);
  cursor: pointer; border: 1px solid var(--border);
}
.project-card .proj-bg {
  width: 100%; height: 100%;
  transition: transform 0.65s ease, filter 0.4s;
  filter: brightness(0.95) saturate(0.9);
  object-fit: cover;
}
.project-card:hover .proj-bg { transform: scale(1.05); filter: brightness(0.7) saturate(1.1); }
.proj-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
  padding: 20px; display: flex; flex-direction: column; justify-content: flex-end;
}
.proj-tag {
  display: inline-block; margin-bottom: 6px;
  font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; background: var(--accent); padding: 3px 9px; width: fit-content;
}
.proj-overlay h4 {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  letter-spacing: -0.01em; margin-bottom: 3px; color: #fff;
}
.proj-overlay p { font-size: 12px; color: rgba(255,255,255,0.6); }
.proj-btn {
  position: absolute; top: 0; right: 0;
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 9px 16px; border: none; cursor: pointer;
  opacity: 0; transform: translateY(-100%);
  transition: opacity 0.3s, transform 0.3s;
}
.project-card:hover .proj-btn { opacity: 1; transform: translateY(0); }
.play-dot {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 48px; height: 48px;
  border: 1.5px solid rgba(255,255,255,0.85); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; padding-left: 3px; color: #fff;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  pointer-events: none; backdrop-filter: blur(4px);
}
.project-card:hover .play-dot { background: var(--accent); border-color: var(--accent); transform: translate(-50%,-50%) scale(1.1); }

/* thumb gradient fallbacks */
.t1{background:linear-gradient(135deg,#c8dbb8,#8aad7a)}
.t2{background:linear-gradient(135deg,#f9d5e0,#e8a0b8)}
.t3{background:linear-gradient(135deg,#b8c8d8,#5a8fa8)}
.t4{background:linear-gradient(135deg,#ff8c42,#ff4500)}
.t5{background:linear-gradient(135deg,#a8b8d8,#4a6a9a)}
.t6{background:linear-gradient(135deg,#d4c8b8,#9a8a7a)}
.t7{background:linear-gradient(135deg,#c8d8b8,#7a9a6a)}
.t8{background:linear-gradient(135deg,#b8d8d0,#5a9a8a)}
.t9{background:linear-gradient(135deg,#183020,#0a1a10)}

.ticker-wrap { position:absolute; bottom:0; left:0; right:0; background:rgba(0,0,0,0.85); height:26px; overflow:hidden; }
.ticker-inner {
  display:flex; white-space:nowrap; animation:ticker 9s linear infinite;
  font-family:var(--font-display); font-size:9px; font-weight:700;
  letter-spacing:0.12em; text-transform:uppercase;
  color:rgba(255,255,255,0.35); line-height:26px;
}
@keyframes ticker{from{transform:translateX(100%)}to{transform:translateX(-100%)}}

/* ── CTA LIGHT ── */
.cta-light { background: var(--bg-2); color: var(--ink); padding: 100px 48px; border-top: 1px solid var(--border); }
.cta-light h2 { font-family: var(--font-display); font-size: clamp(22px,3vw,44px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; max-width: 680px; margin-bottom: 18px; }
.cta-light > p { color: var(--ink-2); font-size: 14px; max-width: 600px; margin-bottom: 44px; line-height: 1.8; }

/* ── TEAM ── */
.team-row { display:flex; gap:24px; margin-top:44px; flex-wrap:wrap; }
.team-member { display:flex; align-items:center; gap:12px; }
.avatar { width:46px; height:46px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-size:13px; font-weight:700; color:#fff; flex-shrink:0; }
.av1{background:linear-gradient(135deg,#667eea,#764ba2)}
.av2{background:linear-gradient(135deg,#f093fb,#f5576c)}
.team-info strong { display:block; font-size:13px; font-weight:700; color:var(--ink); }
.team-info span { font-size:11px; color:var(--ink-muted); }

/* ── FOOTER BAND ── */
.footer-band {
  background: var(--bg-dark); color: #fff;
  padding: 80px 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
  border-top: 2px solid var(--accent);
}
.footer-band h2 { font-family:var(--font-display); font-size:clamp(22px,2.8vw,38px); font-weight:700; line-height:1.15; letter-spacing:-0.02em; }
.footer-nav { display:grid; grid-template-columns:1fr 1fr; gap:10px 40px; }
.footer-nav a { font-size:12px; color:rgba(255,255,255,0.4); transition:color 0.2s; }
.footer-nav a:hover { color:var(--accent); }
.footer-band .btn-outline-dark { border-color:rgba(255,255,255,0.2); color:#fff; }
.footer-band .btn-outline-dark:hover { background:var(--accent); border-color:var(--accent); color:#fff; }

/* ── ANIMATIONS ── */
.fade-up { opacity:0; transform:translateY(24px); transition:opacity 0.75s ease,transform 0.75s ease; }
.fade-up.visible { opacity:1; transform:translateY(0); }
@keyframes blink{0%,100%{opacity:1}50%{opacity:0.2}}
@keyframes spin{to{transform:rotate(360deg)}}

/* ── RESPONSIVE ── */
@media(max-width:900px){
  nav{padding:0 20px}
  .nav-links{display:none}
  .cta-light{padding:60px 20px}
  .footer-band{grid-template-columns:1fr;padding:60px 20px}
}

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  padding-top: 64px;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero-bg-text {
  position: absolute; bottom: -60px; left: -10px;
  font-family: var(--font-display);
  font-size: 28vw; font-weight: 900;
  letter-spacing: -0.06em; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.9);
  pointer-events: none; user-select: none; white-space: nowrap;
}
.hero-tags-row {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  background: var(--bg);
}
.hero-tag {
  padding: 13px 26px;
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted);
  border-right: 1px solid var(--border);
  transition: color 0.2s, background 0.2s; cursor: default;
}
.hero-tag:first-child { border-left: 1px solid var(--border); }
.hero-tag:hover { color: var(--accent); background: var(--accent-soft); }

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 64px - 48px);
}

/* ЛІВА ЧАСТИНА */
.hero-left {
  padding: 64px 64px 64px 48px;
  display: flex; flex-direction: column; justify-content: space-between;
  border-right: 1px solid var(--border);
}
.hero-brand-big {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 78px);
  font-weight: 900; letter-spacing: -0.05em; line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  margin-bottom: 32px;
}
.hero-brand-big em { font-style: normal; color: var(--accent); -webkit-text-stroke-color: var(--accent); }

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.8vw, 22px); font-weight: 600;
  line-height: 1.3; letter-spacing: -0.01em; color: var(--ink);
  margin-bottom: 20px; max-width: 440px;
}
.hero-tagline em { font-style: normal; color: var(--accent); }
.hero-desc { font-size: 13px; color: var(--ink-2); line-height: 1.8; max-width: 380px; margin-bottom: 32px; }

.hero-brackets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 36px; }
.bracket-tag {
  font-family: var(--font-display); font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: lowercase; color: var(--ink-muted);
  border: 1px solid var(--border); padding: 5px 12px;
  transition: border-color 0.2s, color 0.2s;
}
.bracket-tag::before { content: '['; color: var(--accent); margin-right: 2px; }
.bracket-tag::after  { content: ']'; color: var(--accent); margin-left:  2px; }
.bracket-tag:hover { border-color: var(--accent); color: var(--ink); }

.hero-bottom-row {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; border-top: 1px solid var(--border); gap: 16px; flex-wrap: wrap;
}
.hero-stat-inline { display: flex; align-items: baseline; gap: 8px; }
.hero-stat-num {
  font-family: var(--font-display); font-size: 30px; font-weight: 900;
  letter-spacing: -0.03em; color: var(--accent);
}
.hero-stat-text { font-size: 11px; color: var(--ink-muted); max-width: 90px; line-height: 1.4; }

/* ПРАВА — фото + сітка */
.hero-right {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  background: var(--bg-2);
}
.hero-visual-cell {
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  position: relative; overflow: hidden;
  min-height: 200px;
}
.hero-visual-cell:nth-child(2n) { border-right: none; }
.hero-visual-cell:nth-child(3),
.hero-visual-cell:nth-child(4) { border-bottom: none; }

/* Фото у клітинках */
.hero-visual-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.3s;
  filter: grayscale(15%) brightness(0.95);
}
.hero-visual-cell:hover img { transform: scale(1.04); filter: grayscale(0%) brightness(1); }

.cell-label {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-display); font-size: 9px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.45); backdrop-filter: blur(4px);
  padding: 3px 8px;
}
.cell-label::before { content: '['; color: var(--accent); }
.cell-label::after  { content: ']'; color: var(--accent); }

.cell-caption {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 12px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}
.cell-big-num {
  font-family: var(--font-display); font-size: 36px; font-weight: 900;
  letter-spacing: -0.04em; line-height: 1;
  color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.cell-big-num span { color: var(--accent); }
.cell-text { font-size: 11px; color: rgba(255,255,255,0.75); line-height: 1.4; margin-top: 4px; }

/* Центральний значок */
.hero-center-badge {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); z-index: 10;
  width: 72px; height: 72px;
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(240,240,240,0.9); backdrop-filter: blur(8px);
  font-family: var(--font-display); font-size: 8px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted);
  text-align: center; line-height: 1.4;
}
.hero-center-badge::before {
  content: ''; position: absolute; inset: -8px;
  border-radius: 50%; border: 1px dashed rgba(255,255,255,0.9);
}

/* ═══ NUMBERS STRIP ═══ */
.numbers-strip {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.num-item {
  padding: 36px 40px; border-right: 1px solid var(--border);
  position: relative; transition: background 0.25s;
}
.num-item:last-child { border-right: none; }
.num-item:hover { background: var(--bg-3); }
.num-item::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.num-item:hover::after { transform: scaleX(1); }
.num-big {
  font-family: var(--font-display); font-size: clamp(28px,3.5vw,46px); font-weight: 900;
  letter-spacing: -0.03em; color: var(--ink); line-height: 1; margin-bottom: 8px;
}
.num-big span { color: var(--accent); }
.num-label { font-size: 12px; color: var(--ink-muted); line-height: 1.5; max-width: 160px; }

/* ═══ PROBLEMS ═══ */
.problems {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.problems-left {
  position: relative;
  background: url('../img/problems-bg.jpg') center/cover no-repeat;
  padding: 60px;
  overflow: hidden;
}
.problems-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* затемнення */
  z-index: 1;
}
.problems-left > * {
  position: relative;
  z-index: 2;
}
/* Фото-фон у лівій частині */
.problems-photo {
  position: absolute; inset: 0;
  object-fit: cover; width: 100%; height: 100%;
  opacity: 0.12; filter: grayscale(100%);
  transition: opacity 0.4s;
}
.problems-left:hover .problems-photo { opacity: 0.18; }
.problems-left > * { position: relative; z-index: 1; }

.problems-left h2 {
  font-family: var(--font-display);
  font-size: clamp(28px,3.5vw,48px); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.025em;
  margin-bottom: 20px; color: var(--ink);
  color: #fff;
}
.problems-left h2 em { font-style: normal; color: var(--accent); }
.problems-left > p { font-size: 13px; color: var(--ink-muted); line-height: 1.8; max-width: 360px; }
.problem-circle {
  width: 110px; height: 110px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-top: 48px; margin-bottom: 8px;
  background: rgba(255,255,255,0.6); backdrop-filter: blur(4px);
  position: relative;
}
.problem-circle-inner { font-family: var(--font-display); font-size: 42px; font-weight: 900; color: var(--accent); line-height: 1; }
.problem-circle::before {
  content: ''; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.9);
  animation: spin 20s linear infinite;
}
.problem-circle-label { font-size: 10px; color: var(--ink-muted); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }

.problems-right { padding: 80px 48px; background: var(--bg); }
.problems-subtitle { font-size: 12px; color: var(--ink-muted); letter-spacing: 0.06em; margin-bottom: 28px; margin-top: 4px; }
.problems-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
}
.problem-card {
  background: var(--bg-card); padding: 28px 24px;
  transition: background 0.25s; position: relative; overflow: hidden;
}
.problem-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 2px; height: 0;
  background: var(--accent); transition: height 0.35s ease;
}
.problem-card:hover { background: var(--bg-3); }
.problem-card:hover::before { height: 100%; }
.problem-card h4 {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: -0.01em; color: var(--ink);
  margin-bottom: 12px; line-height: 1.3;
}
.problem-card p { font-size: 12px; color: var(--ink-muted); line-height: 1.7; }

/* ═══ SERVICES ═══ */
.services {
  padding: 100px 48px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.services-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 64px; gap: 40px;
}
.services-header h2 {
  font-family: var(--font-display); font-size: clamp(24px,3vw,40px);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
  max-width: 480px; color: var(--ink);
}
.services-header h2 em { font-style: normal; color: var(--accent); }
.services-header p { max-width: 300px; color: var(--ink-2); font-size: 13px; line-height: 1.8; }

.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0; border: 1px solid var(--border);
}
.service-card {
  background: var(--bg-card); border-right: 1px solid var(--border);
  transition: background 0.25s; position: relative; overflow: hidden;
}
.service-card:last-child { border-right: none; }
.service-card:hover { background: var(--bg-3); }
/* Фото у верхній частині картки */
.service-photo {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border);
  filter: grayscale(20%) brightness(0.95);
  transition: filter 0.4s, transform 0.5s;
}
.service-card:hover .service-photo { filter: grayscale(0%) brightness(1); transform: scale(1.03); }
.service-photo-wrap { overflow: hidden; position: relative; }
.service-body { padding: 32px 28px 36px; }
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.service-card:hover::after { transform: scaleX(1); }
.service-num {
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
  display: flex; align-items: center; gap: 6px;
}
.service-num::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.service-card h3 {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  margin-bottom: 12px; letter-spacing: -0.01em; color: var(--ink);
}
.service-card p { color: var(--ink-muted); font-size: 13px; line-height: 1.8; }

/* ═══ PROJECTS ═══ */
.projects {
  padding: 100px 48px;
  background: var(--bg);
}
.projects-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 48px; gap: 24px;
}
.projects-header h2 {
  font-family: var(--font-display); font-size: clamp(26px,3.8vw,48px);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; max-width: 520px; color: var(--ink);
}
.projects-header h2 em { font-style: normal; color: var(--accent); }
.projects-header p { max-width: 300px; color: var(--ink-muted); font-size: 13px; line-height: 1.8; }
.projects-header p strong { color: var(--ink); }
.projects-grid-2col {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border);
}

/* ═══ ABOUT STRIP — фото + текст ═══ */
.about-strip {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-strip-photo {
  position: relative; overflow: hidden;
  aspect-ratio: unset; min-height: 480px;
}
.about-strip-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: grayscale(15%);
  transition: filter 0.5s, transform 0.6s;
}
.about-strip-photo:hover img { filter: grayscale(0%); transform: scale(1.04); }
/* червона плашка поверх фото */
.about-strip-photo-label {
  position: absolute; bottom: 0; left: 0;
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 10px 20px;
}
.about-strip-content {
  padding: 72px 56px;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: center;
}
.about-strip-content h2 {
  font-family: var(--font-display);
  font-size: clamp(22px,2.8vw,36px); font-weight: 700;
  line-height: 1.2; letter-spacing: -0.02em;
  margin-bottom: 24px; color: var(--ink);
}
.about-strip-content h2 em { font-style: normal; color: var(--accent); }
.about-strip-content p { font-size: 14px; color: var(--ink-2); line-height: 1.8; margin-bottom: 14px; }
.about-strip-content p strong { color: var(--ink); font-weight: 600; }
.clients-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px;
}
.client-chip {
  font-family: var(--font-display); font-size: 9px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--border); padding: 5px 12px;
  color: var(--ink-muted); transition: border-color 0.2s, color 0.2s;
}
.client-chip:hover { border-color: var(--accent); color: var(--ink); }

/* ═══ CTA SECTION ═══ */
.cta-section {
  padding: 100px 48px;
  background: var(--bg-dark); color: #fff;
  border-top: 2px solid var(--accent);
  position: relative; overflow: hidden;
}
/* Фото-вставка у CTA */
.cta-inner {
  display: grid; grid-template-columns: 1fr 420px; gap: 80px; align-items: center;
  position: relative; z-index: 1;
}
.cta-photo-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid rgba(255,255,255,0.1);
}
.cta-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.7; filter: grayscale(20%); }
.cta-photo-badge {
  position: absolute; bottom: 0; right: 0;
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 10px 18px;
}

.cta-text .section-label { color: var(--accent); }
.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px,3.8vw,50px); font-weight: 700;
  line-height: 1.12; letter-spacing: -0.025em;
  max-width: 720px; margin-bottom: 20px; color: #fff;
}
.cta-text > p { color: rgba(255,255,255,0.5); font-size: 14px; max-width: 560px; margin-bottom: 36px; line-height: 1.8; }
.cta-text .team-info strong { color: #fff; }
.cta-text .team-info span { color: rgba(255,255,255,0.4); }

/* ═══ CTA BAND ═══ */
.cta-band {
  background: var(--accent); padding: 64px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0, transparent 20px, rgba(0,0,0,0.04) 20px, rgba(0,0,0,0.04) 21px);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(20px,2.8vw,38px); font-weight: 700;
  line-height: 1.15; letter-spacing: -0.02em;
  max-width: 520px; color: #fff; position: relative;
}
.cta-band .btn-white {
  background: #fff; color: var(--accent);
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 30px; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0; position: relative;
}
.cta-band .btn-white:hover { background: var(--bg-dark); color: #fff; transform: translateY(-2px); }

/* ═══ FOOTER ═══ */
footer {
  background: var(--bg-2); padding: 64px 48px 40px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border); gap: 40px;
}
.footer-brand .logo { display: inline-block; margin-bottom: 16px; }
.footer-brand p { color: var(--ink-muted); font-size: 13px; max-width: 260px; line-height: 1.7; }
.footer-col h5 {
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 13px; color: var(--ink-2); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: var(--ink-muted); letter-spacing: 0.04em;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-tags-row { padding: 0 20px; overflow-x: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-left { padding: 48px 20px; border-right: none; }
  .hero-right { display: none; }
  .numbers-strip { grid-template-columns: repeat(2,1fr); }
  .num-item { padding: 24px 20px; }
  .problems { grid-template-columns: 1fr; }
  .problems-left { padding: 60px 20px; border-right: none; }
  .problems-right { padding: 60px 20px; }
  .problems-grid { grid-template-columns: 1fr; }
  .services { padding: 60px 20px; }
  .services-header { flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; border-bottom: 1px solid var(--border); }
  .projects { padding: 60px 20px; }
  .projects-header { flex-direction: column; align-items: flex-start; }
  .projects-grid-2col { grid-template-columns: 1fr; }
  .about-strip { grid-template-columns: 1fr; }
  .about-strip-content { padding: 48px 20px; border-left: none; border-top: 1px solid var(--border); }
  .cta-section { padding: 64px 20px; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-photo-wrap { display: none; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 48px 20px; }
  footer { padding: 48px 20px 32px; }
  .footer-top { flex-direction: column; }
}
/* ===== # Partner ===== */
.our-partner-sec {
    background: hsl(#000 100% 60%));
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: linear-gradient(to right, hsl(261deg 80% 48%), hsl(200deg 100% 60%));
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    margin-bottom: 0px;
    padding: 66px 0px 66px 0px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(
        to right,#000000);
}
.our-partner-sec ul {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 190px;
    will-change: transform;
    animation: partnerAnim 50s infinite linear;
}
.our-partner-sec ul li img {
    display: block;
    height: 80px;
    max-width: fit-content;
}
.our-partner-sec ul li2 img {
    display: block;
    height: 40px;
    max-width: fit-content;
}

.marquee-track img {
  height: 40px;           /* контроль розміру */
  margin: 0 40px;         /* відстань між логотипами */
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.marquee-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

.project-card {
  position: relative;
  overflow: hidden;
}

.proj-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 9999;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-content {
  position: relative;
  width: 80%;
  max-width: 1000px;
}

.video-modal video {
  width: 100%;
  max-height: 80vh;
}

.video-close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 32px;
  color: white;
  cursor: pointer;
}

.video-strip {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-strip > *:not(.video-bg) {
  position: relative;
  z-index: 2;
}