/* Compact global header (~17% lighter) */
.nav-inner { height: 60px; }
.nav-logo { font-size: 1.05rem; margin-right: 40px; gap: 8px; }
.nav-logo-mark-img { width: 36px; height: 36px; }
.nav-links { gap: 30px; }
.nav-right .btn.btn-blue { padding: 10px 22px; font-size: 0.9rem; }

/* ============================================================
   КОНТАКТЫ — PAGE-SCOPED STYLES (contacts-* namespace)
   ============================================================ */

/* --- Hero override: unified white background, no divider line --- */
.contacts-hero {
  background: var(--white);
  border-bottom: none;
  padding-bottom: 48px;
}

/* --- Section eyebrow / title (steps section) --- */
.contacts-section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.contacts-section-title {
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 36px;
}

/* --- How first contact works --- */
.contacts-steps-section {
  padding: 32px 0 40px;
  background: var(--white);
}
.contacts-steps-list {
  display: flex;
  flex-direction: column;
  max-width: 720px;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 40px;
}
.contacts-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 22px 28px;
  background: var(--white);
  border-bottom: 1px solid var(--grey-light);
  transition: background var(--transition);
}
.contacts-step:last-child { border-bottom: none; }
.contacts-step:hover { background: rgba(0,71,204,0.02); }
.contacts-step-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: 0.5;
  flex-shrink: 0;
  min-width: 28px;
  padding-top: 3px;
}
.contacts-step-title {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}
.contacts-step-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.62;
}

/* --- Main contacts block (two-panel dark box) --- */
.contacts-cta-section {
  padding: 32px 0 72px;
  background: var(--white);
}
.contacts-cta-box {
  background: var(--navy);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  position: relative;
}
.contacts-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;
}
.contacts-cta-visual {
  position: relative;
  overflow: hidden;
  min-height: 0;
}
.contacts-cta-visual-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.contacts-cta-form-side {
  padding: 40px 40px 36px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.contacts-cta-heading {
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.contacts-cta-lead {
  font-size: 1rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.6;
  max-width: 380px;
  margin: 0;
}
.contacts-cta-form-side .direct-contact-icon-max {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  filter: none;
  opacity: 0.65;
}
.contacts-cta-form-side .direct-contact-link:hover .direct-contact-icon-max {
  opacity: 1;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .contacts-cta-box {
    grid-template-columns: 1fr;
  }
  .contacts-cta-visual {
    height: 220px;
  }
  .contacts-cta-form-side {
    padding: 28px 20px 32px;
  }
}
