*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0B1F3A;
  --blue:    #185FA5;
  --blue-mid:#2477C3;
  --blue-lt: #85B7EB;
  --blue-xs: #D6E9F8;
  --white:   #FFFFFF;
  --off:     #F4F7FB;
  --gray:    #8A96A8;
  --gray-lt: #C8D3DF;
  --gray-xs: #EDF1F6;
  --ink:     #1A2A3A;
  --green:   #27A06A;
  --font-h: 'Syne', sans-serif;
  --font-b: 'DM Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-b);
  background: var(--off);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;

}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0B1F3A;
  border-bottom: 1px solid rgba(133,183,235,0.10);
  padding: 0 40px;
  height: 64px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  will-change: transform; /* попереджає мерехтіння на GPU */
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-mark {
  width: 38px; height: 38px;
  min-width: 38px; /* не стискається */
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-mark .nm-t { font-family: 'Arial Black', Arial, sans-serif; font-size: 8px; font-weight: 900; color: var(--blue-lt); line-height: 1; }
.nav-mark .nm-r { font-family: 'Arial Black', Arial, sans-serif; font-size: 14px; font-weight: 900; color: #fff; line-height: 1; letter-spacing: -0.3px; }
.nav-word { font-family: 'Arial Black', Arial, sans-serif; font-size: 22px; font-weight: 900; color: #fff; letter-spacing: -0.5px; width: 112px; /* фіксована ширина — нема зсуву */ }
.nav-word span { color: var(--blue-mid); }



.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-lt);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 8px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--blue-mid) !important; color: #fff !important; }

/* ── HERO ── */
.hero {
  min-height: calc(100vh - 64px);
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 80px 80px;
  position: relative;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.40;
  pointer-events: none;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11,31,58,0.30) 0%,
    rgba(11,31,58,0.05) 50%,
    rgba(11,31,58,0.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(133,183,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133,183,235,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 2;
}
.hero-circle1 {
  position: absolute;
  right: -140px; top: -140px;
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 100px solid rgba(24,95,165,0.12);
  pointer-events: none;
  z-index: 2;
}
.hero-circle2 {
  position: absolute;
  right: 160px; bottom: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  border: 40px solid rgba(133,183,235,0.07);
  pointer-events: none;
  z-index: 2;
}
.hero-dot {
  position: absolute;
  left: 60px; bottom: 120px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-mid);
  z-index: 2;
  opacity: 0.6;
}
.hero-eyebrow {
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-lt);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s 0.1s forwards;
  position: relative;
  z-index: 3;
}
.hero h1 {
  font-family: var(--font-h);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  color: #fff;
  line-height: 1.0;
  letter-spacing: -2px;
  max-width: 760px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s forwards;
  position: relative;
  z-index: 3;
}
.hero h1 .accent { color: var(--blue-mid); }
.hero-sub {
  font-family: var(--font-b);
  font-size: 18px;
  font-weight: 300;
  color: var(--gray-lt);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.7s 0.35s forwards;
  position: relative;
  z-index: 3;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.7s 0.5s forwards;
  position: relative;
  z-index: 3;
}
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--blue-mid); transform: translateY(-1px); }
.btn-ghost {
  display: inline-block;
  color: var(--gray-lt);
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 400;
  padding: 14px 24px;
  text-decoration: none;
  border: 1px solid rgba(200,211,223,0.25);
  border-radius: 10px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: rgba(200,211,223,0.6); color: #fff; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid rgba(133,183,235,0.12);
  opacity: 0;
  animation: fadeUp 0.7s 0.65s forwards;
  position: relative;
  z-index: 3;
}
.stat-num {
  font-family: var(--font-h);
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
}
.stat-num span { color: var(--blue-mid); }
.stat-label {
  font-size: 12px;
  color: var(--gray);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

/* ── PAGE HERO (non-index pages) ── */
.page-hero {
  background: var(--navy);
  padding: 56px 80px 72px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(133,183,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133,183,235,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero-circle {
  position: absolute;
  right: -100px; top: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 80px solid rgba(24,95,165,0.10);
  pointer-events: none;
}
.page-hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-lt);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 0.7s 0.1s forwards;
}
.page-hero h1 {
  font-family: var(--font-h);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -1.5px;
  max-width: 760px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s forwards;
}
.page-hero h1 .accent { color: var(--blue-mid); }
.page-hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--gray-lt);
  max-width: 540px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 0.7s 0.3s forwards;
}

/* ── SECTIONS COMMON ── */
section { padding: 100px 80px; }
.section-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-h);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--gray);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 56px;
}

/* ── INDEX PREVIEW CARDS ── */
.preview-section { padding: 80px 80px; }
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.preview-card {
  background: var(--white);
  border: 1px solid var(--gray-xs);
  border-radius: 14px;
  padding: 32px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.25s, transform 0.2s, border-color 0.25s;
}
.preview-card:hover {
  box-shadow: 0 8px 32px rgba(24,95,165,0.10);
  transform: translateY(-3px);
  border-color: var(--blue-lt);
}
.preview-icon {
  width: 44px; height: 44px;
  background: var(--blue-xs);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.25s;
}
.preview-card:hover .preview-icon { background: var(--blue); }
.preview-icon svg { width: 20px; height: 20px; stroke: var(--blue); transition: stroke 0.25s; }
.preview-card:hover .preview-icon svg { stroke: #fff; }
.preview-title {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.preview-desc {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 16px;
}
.preview-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── SERVICES ── */
.services-section { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--gray-xs);
  border-radius: 16px;
  overflow: hidden;
}
.service-card {
  background: var(--white);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.service-card:hover { background: var(--off); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 48px; height: 48px;
  background: var(--blue-xs);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.25s;
}
.service-card:hover .service-icon { background: var(--blue); }
.service-icon svg {
  width: 22px; height: 22px;
  stroke: var(--blue);
  transition: stroke 0.25s;
}
.service-card:hover .service-icon svg { stroke: #fff; }
.service-title {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.2;
}
.service-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
}
.service-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid var(--blue-xs);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── WHY ── */
.why-section { background: var(--navy); position: relative; overflow: hidden; }
.why-section .section-title { color: #fff; }
.why-section .section-sub { color: var(--gray-lt); }
.why-section .section-eyebrow { color: var(--blue-lt); }
.why-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(133,183,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133,183,235,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.why-circle {
  position: absolute;
  left: -200px; bottom: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 80px solid rgba(24,95,165,0.12);
  pointer-events: none;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  position: relative;
}
.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(133,183,235,0.12);
  border-radius: 14px;
  padding: 32px;
  transition: background 0.25s, border-color 0.25s;
}
.why-card:hover {
  background: rgba(24,95,165,0.12);
  border-color: rgba(133,183,235,0.25);
}
.why-num {
  font-family: var(--font-h);
  font-size: 48px;
  font-weight: 800;
  color: rgba(133,183,235,0.15);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -2px;
}
.why-title {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.why-text {
  font-size: 14px;
  color: var(--gray-lt);
  line-height: 1.65;
}

/* ── CASES ── */
.cases-section { background: var(--off); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--gray-xs);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s, border-color 0.25s;
  cursor: default;
}
.case-card:hover {
  box-shadow: 0 8px 32px rgba(24,95,165,0.10);
  transform: translateY(-3px);
  border-color: var(--blue-lt);
}
.case-sector {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-xs);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.case-title {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.25;
}
.case-desc {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 20px;
}
.case-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--gray-xs);
  padding-top: 16px;
}
.case-result-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
}
.case-result-item::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.case-num-badge {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--font-h);
  font-size: 56px;
  font-weight: 800;
  color: var(--blue-xs);
  line-height: 1;
  letter-spacing: -3px;
  pointer-events: none;
  user-select: none;
}

/* ── MID CTA ── */
.mid-cta-section {
  background: var(--blue);
  padding: 72px 80px;
  position: relative;
  overflow: hidden;
}
.mid-cta-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.mid-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
}
.mid-cta-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}
.mid-cta-title {
  font-family: var(--font-h);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  max-width: 560px;
}
.mid-cta-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  margin-top: 12px;
  font-weight: 300;
  max-width: 420px;
}
.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--blue);
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-white:hover { background: var(--off); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0,0,0,0.15); }

/* ── BRANDS ── */
.brands-section { background: var(--white); }
.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.brand-card {
  background: var(--off);
  border: 1px solid var(--gray-xs);
  border-radius: 14px;
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  cursor: default;
}
.brand-card:hover {
  border-color: var(--blue-lt);
  box-shadow: 0 6px 24px rgba(24,95,165,0.10);
  transform: translateY(-3px);
}
.brand-logo-box {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.brand-logo-box img {
  max-height: 36px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1) opacity(0.7);
  transition: filter 0.25s;
}
.brand-card:hover .brand-logo-box img { filter: grayscale(0) opacity(1); }
.brand-text-logo {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
}
.brand-category {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-xs);
  padding: 3px 9px;
  border-radius: 20px;
}
.brand-name {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.brand-desc {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.55;
}

/* ── PROCESS ── */
.process-section { background: var(--off); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(10% + 20px);
  right: calc(10% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--blue-xs), var(--blue), var(--blue-xs));
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  padding-top: 0;
}
.ps-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: background 0.2s, transform 0.2s;
}
.process-step:hover .ps-num { background: var(--navy); transform: scale(1.08); }
.ps-title {
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.2;
}
.ps-text {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.55;
}

/* ── CONTACT ── */
.contact-section { background: var(--navy); position: relative; overflow: hidden; }
.contact-section .section-title { color: #fff; }
.contact-section .section-eyebrow { color: var(--blue-lt); }
.contact-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(133,183,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133,183,235,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.contact-circle {
  position: absolute;
  right: -120px; top: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 70px solid rgba(24,95,165,0.12);
  pointer-events: none;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
}
.contact-lead {
  font-size: 17px;
  font-weight: 300;
  color: var(--gray-lt);
  line-height: 1.65;
  margin-bottom: 40px;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.ci-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(24,95,165,0.2);
  border: 1px solid rgba(133,183,235,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg { width: 18px; height: 18px; stroke: var(--blue-lt); }
.ci-label { font-size: 11px; color: var(--gray); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 3px; }
.ci-value { font-size: 15px; color: #fff; font-weight: 400; }
.ci-value a { color: var(--blue-lt); text-decoration: none; }
.ci-value a:hover { color: #fff; }
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(133,183,235,0.12);
  border-radius: 16px;
  padding: 36px;
}
.form-title {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}
.form-row { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}
.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(133,183,235,0.15);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-b);
  font-size: 14px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--gray); }
.form-input:focus,
.form-textarea:focus {
  border-color: var(--blue-lt);
  background: rgba(255,255,255,0.09);
}
.form-textarea { resize: vertical; min-height: 100px; }
select.form-input option { background: #0B1F3A; color: #fff; }
.form-submit {
  width: 100%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 500;
  padding: 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 8px;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s;
}
.form-submit:hover { background: var(--blue-mid); transform: translateY(-1px); }

/* ── FOOTER ── */
footer {
  background: #060F1E;
  padding: 48px 80px;
  border-top: 1px solid rgba(133,183,235,0.08);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.footer-mark {
  width: 34px; height: 34px;
  background: var(--blue);
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.footer-mark .fm-t { font-family: var(--font-h); font-size: 7px; font-weight: 700; color: var(--blue-lt); line-height: 1; }
.footer-mark .fm-r { font-family: var(--font-h); font-size: 13px; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.3px; }
.footer-word { font-family: var(--font-h); font-size: 18px; font-weight: 800; color: #fff; letter-spacing: -0.3px; }
.footer-word span { color: var(--blue-mid); }
.footer-copy { font-size: 12px; color: var(--gray); }
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 12px;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blue-lt); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── MOBILE BURGER ── */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--gray-lt);
  border-radius: 2px;
  transition: 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: #0B1F3A;
  border-bottom: 1px solid rgba(133,183,235,0.12);
  padding: 16px 0 24px;
  z-index: 99;
  flex-direction: column;
  gap: 0;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  display: block;
  padding: 14px 28px;
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-lt);
  text-decoration: none;
  border-bottom: 1px solid rgba(133,183,235,0.07);
  transition: background 0.2s, color 0.2s;
}
.nav-mobile-menu a:hover { background: rgba(24,95,165,0.12); color: #fff; }
.nav-mobile-menu a.nav-cta {
  margin: 16px 24px 0;
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
  text-align: center;
  border-bottom: none;
  padding: 14px 24px;
}
.nav-mobile-menu a.nav-cta:hover { background: var(--blue-mid); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  section { padding: 72px 24px; }
  .preview-section { padding: 56px 24px; }
  .mid-cta-section { padding: 56px 24px; }
  .hero { padding: 36px 24px 72px; }
  .page-hero { padding: 36px 24px 56px; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .mid-cta-inner { flex-direction: column; gap: 28px; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-steps::before { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  footer .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
