@font-face {
  font-family: 'Archangelsk';
  src: url('../fonts/Archangelsk.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   CSS CUSTOM PROPERTIES
============================================================ */
:root {
  --primary: #1D2D44;
  --primary-hover: #263C5A;
  --primary-dark: #142030;
  --secondary: #E67A22;
  --secondary-hover: #EE8D3D;
  --secondary-dark: #C96516;
  --bg: #F9FAFB;
  --surface: #FFFFFF;
  --border: #E5E7EB;
  --text: #111827;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --footer-bg: #0B192C;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Archangelsk', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: 1px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*:focus-visible {
  outline: 2px solid #E67A22;
  outline-offset: 4px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

section {
  scroll-margin-top: 88px;
}

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
}

/* ============================================================
   UTILITIES
============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 80px;
  }
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .navbar {
    padding: 14px 80px;
  }
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

.nav-logo-main {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1;
}

.nav-logo-sub {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--secondary);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 60;
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 100vw);
  background: var(--surface);
  z-index: 55;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  padding: 80px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--secondary);
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-menu-close:hover {
  background: var(--border);
  color: var(--secondary);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 54;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   HERO SECTION
============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #1D2D44 40%, #0d2b1e 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url('../images/content-2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 160px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 200px 80px 120px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230, 122, 34, 0.15);
  border: 1px solid rgba(230, 122, 34, 0.4);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
}

.hero-badge span {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-h1 {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  max-width: 100%;
  letter-spacing: 1px;
}

@media (min-width: 640px) {
  .hero-h1 {
    font-size: 52px;
  }
}

@media (min-width: 1024px) {
  .hero-h1 {
    font-size: 68px;
  }
}

.hero-h1 span {
  color: var(--secondary);
}

.hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 24px;
  max-width: 600px;
  line-height: 1.7;
  font-weight: 400;
}

@media (min-width: 1024px) {
  .hero-sub {
    font-size: 20px;
  }
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--secondary);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 40px;
  border-radius: 8px;
  margin-top: 40px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.hero-cta:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(230, 122, 34, 0.35);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* ============================================================
   FEATURES SECTION
============================================================ */
#features {
  background: var(--bg);
  padding: 60px 20px;
}

@media (min-width: 1024px) {
  #features {
    padding: 120px 80px;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

@media (min-width: 768px) {
  .section-h2 {
    font-size: 36px;
  }
}

@media (min-width: 1024px) {
  .section-h2 {
    font-size: 42px;
  }
}

.section-h2-white {
  color: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.feature-card {
  background: var(--surface);
  padding: 32px 24px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(29, 45, 68, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--secondary);
}

.feature-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-top: 16px;
  line-height: 1.4;
}

/* ============================================================
   EXPERTS / DEPARTMENTS SECTION
============================================================ */
#experts {
  background: var(--surface);
  padding: 60px 20px;
}
@media(max-width: 568px){
  .dept-logo-row{
    flex-direction: column;
  }
}
@media (min-width: 1024px) {
  #experts {
    padding: 120px 80px;
  }
}
@media(max-width: 1024px){
  .dept-block-reverse{
    display: flex;
    flex-direction: column-reverse;
  }
}
.experts-intro {
  margin-bottom: 60px;
}

@media (min-width: 1024px) {
  .experts-intro {
    margin-bottom: 80px;
  }
}

.experts-h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

@media (min-width: 1024px) {
  .experts-h2 {
    font-size: 48px;
  }
}

.dept-block {
  margin-bottom: 80px;
}

@media (min-width: 1024px) {
  .dept-block {
    margin-bottom: 120px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
}

.dept-block:last-child {
  margin-bottom: 0;
}

.dept-block.reverse {
  direction: rtl;
}

.dept-block.reverse > * {
  direction: ltr;
}

.dept-logo-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.dept-logo-badge {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.badge-blue { background: var(--primary); }
.badge-teal { background: #0E7490; }
.badge-green { background: #15803D; }
.badge-purple { background: #7C3AED; }

.dept-logo-text h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.dept-logo-text span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.dept-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.dept-metric {
  border-left: 3px solid var(--secondary);
  padding: 10px 14px;
  background: var(--bg);
  border-radius: 0 8px 8px 0;
  flex: 1;
  min-width: 120px;
}

.dept-metric-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.dept-metric-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 2px;
}

.dept-services {
  margin-bottom: 24px;
}

.dept-services li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 7px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  line-height: 1.5;
}

.dept-services li:last-child {
  border-bottom: none;
}

.check-icon {
  width: 18px;
  height: 18px;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 1px;
}

.dept-italic {
  font-style: italic;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 16px 20px;
  border-left: 3px solid var(--border);
  background: var(--bg);
  border-radius: 0 8px 8px 0;
}

.dept-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dept-visual-inner {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 32px;
}

.dept-visual-bg-1 {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/content-4.jpg') center/cover no-repeat;
}

.dept-visual-bg-2 {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/content-7.jpg') center/cover no-repeat;
}

.dept-visual-bg-3 {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/content-5.jpg') center/cover no-repeat;
}

.dept-visual-bg-4 {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/content-6.jpg') center/cover no-repeat;
}

.qr-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

/* Partners row */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.partner-badge {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg);
  filter: grayscale(100%) opacity(0.6);
  transition: filter 0.4s ease, opacity 0.4s ease;
}

.partner-badge:hover {
  filter: grayscale(0) opacity(1);
  color: var(--primary);
}

/* 2x2 icon grid */
.icon-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

@media(max-width: 568px){
  .icon-grid-2x2{
        grid-template-columns: 1fr;
  }
}

.icon-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--bg);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  min-height: 90px;
}

.icon-grid-item svg {
  width: 28px;
  height: 28px;
  color: var(--secondary);
  flex-shrink: 0;
}

/* Client logos grid */
.client-logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px;
}

.client-logo-item {
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
  filter: grayscale(100%) opacity(0.6);
  transition: filter 0.4s ease, opacity 0.4s ease, color 0.3s ease;
}

.client-logo-item:hover {
  filter: grayscale(0) opacity(1);
  color: rgba(255,255,255,1);
}

.dept-text-block p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ============================================================
   ROADMAP SECTION
============================================================ */
#roadmap {
  background: var(--bg);
  padding: 60px 20px;
}

@media (min-width: 1024px) {
  #roadmap {
    padding: 120px 80px;
  }
}

.roadmap-h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 64px;
}

@media (min-width: 1024px) {
  .roadmap-h2 {
    font-size: 44px;
    margin-bottom: 80px;
  }
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* Desktop: central vertical line */
@media (min-width: 1024px) {
  .timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
    z-index: 0;
  }
}

/* Mobile: left vertical line */
@media (max-width: 1023px) {
  .timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
    z-index: 0;
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile layout: all cards on right */
@media (max-width: 1023px) {
  .timeline-item {
    padding-left: 64px;
  }

  .timeline-marker {
    position: absolute;
    left: 0;
    top: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    z-index: 1;
    transition: background 0.3s ease;
    box-shadow: 0 0 0 4px var(--bg);
  }

  .timeline-item:hover .timeline-marker {
    background: var(--secondary);
  }

  .timeline-card {
    background: var(--surface);
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #F1F5F9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .timeline-item:hover .timeline-card {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
}

/* Desktop layout: alternating sides */
@media (min-width: 1024px) {
  .timeline-item {
    display: flex;
    justify-content: flex-end;
    width: 50%;
    padding-right: 60px;
    margin-bottom: 48px;
  }

  .timeline-item:nth-child(even) {
    justify-content: flex-start;
    margin-left: 50%;
    padding-right: 0;
    padding-left: 60px;
  }

  .timeline-marker {
    position: absolute;
    right: -20px;
    top: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    z-index: 1;
    transition: background 0.3s ease;
    box-shadow: 0 0 0 4px var(--bg);
  }

  .timeline-item:nth-child(even) .timeline-marker {
    right: auto;
    left: -20px;
  }

  .timeline-item:hover .timeline-marker {
    background: var(--secondary);
  }

  .timeline-card {
    background: var(--surface);
    padding: 24px 28px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #F1F5F9;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .timeline-item:hover .timeline-card {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  }

  .timeline-item:nth-child(odd) .timeline-card {
    text-align: right;
  }
}

.timeline-step-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.timeline-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   BENEFITS SECTION
============================================================ */
#benefits {
  background: var(--primary);
  padding: 80px 20px;
}

@media (min-width: 1024px) {
  #benefits {
    padding: 120px 80px;
  }
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 56px;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
}

.benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
  cursor: default;
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  color: var(--secondary);
  transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
}

.benefit-title {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-top: 20px;
  line-height: 1.45;
}

@media (min-width: 1024px) {
  .benefit-title {
    font-size: 18px;
  }
}

/* ============================================================
   FOOTER / CONTACT
============================================================ */
#contact {
  background: var(--footer-bg);
  padding: 60px 20px 40px;
}

@media (min-width: 1024px) {
  #contact {
    padding: 80px 80px 40px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 48px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1.5fr 1fr;
  }
}

.footer-logo-main {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -1px;
  line-height: 1;
}

.footer-logo-sub {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

.footer-logo-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 16px;
  line-height: 1.7;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 2;
  transition: color 0.3s ease;
}

.footer-contact-item:hover {
  color: var(--secondary);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--secondary);
}

.footer-trust {
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.rsti-badge {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(230, 122, 34, 0.2);
  border: 1px solid rgba(230, 122, 34, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rsti-badge span {
  font-size: 11px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: 0.3px;
}

.footer-trust-name {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.footer-trust-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--secondary);
}

/* ============================================================
   SHARED HELPERS
============================================================ */
.max-w-content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 60px 20px;
}

.text-center {
  text-align: center;
}

/* Dept visual mobile fallback */
@media (max-width: 1023px) {
  .dept-visual {
    margin-top: 32px;
    min-height: 280px;
  }

  .dept-visual-inner {
    min-height: 280px;
  }
}

/* Full-width partner/client rows below dept-blocks */
.dept-block-wrapper {
  margin-bottom: 80px;
}
@media (min-width: 1024px) {
  .dept-block-wrapper {
    margin-bottom: 120px;
  }
}
.dept-block-wrapper .dept-block {
  margin-bottom: 0 !important;
}
.dept-partners-full {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border);
}
.dept-partners-label {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  text-align: center;
}
.dept-partners-images {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
@media(max-width: 568px){
  .dept-partners-images {
    flex-direction: column;
  }
}
.dept-partners-images img {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: filter 0.4s ease;
}
.dept-partners-images img:hover {
  filter: grayscale(0) opacity(1);
}
.dept-clients-full {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border);
}
.dept-clients-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.dept-clients-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dept-clients-list .client-logo-item {
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--surface);
}
.dept-clients-list .client-logo-item:hover {
  color: var(--primary);
}

/* ---- Layout containers ---- */
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 20px;
}
.section-inner-lg {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 20px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* ---- Nav logo image ---- */
.nav-logo img {
  height: 60px;
  width: auto;
}

/* ---- Dept logo badge — image variant ---- */
.dept-logo-badge-img {
  background: transparent !important;
  overflow: hidden;
  padding: 4px;
  flex-shrink: 0;
}
.dept-logo-badge-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.dept-badge-wide  { width: 220px; height: 80px; }
.dept-badge-med   { width: 160px; height: 80px; }
.dept-badge-tall  { width: 160px; height: 100px; }

/* ---- QR images ---- */
.qr-img    { width: 180px; height: 180px; object-fit: contain; }
.qr-img-sm { width: 140px; height: 140px; object-fit: contain; }

/* ---- ITC logo ---- */
.itc-logo { height: 80px; width: auto; max-width: 180px; }

/* ---- Dept 2 inline QR block ---- */
.dept-qr-block { margin-top: 24px; display: flex; flex-direction: column; align-items: center; }
.dept-qr-block p { font-size: 14px; color: var(--text-muted); margin-top: 8px; }

/* ---- Section label accent color ---- */
.section-label-accent { color: rgba(230,122,34,0.9); }

/* ---- Footer ---- */
.footer-logo-col img { height: 60px; width: auto; }
.footer-contacts { display: flex; flex-direction: column; gap: 4px; }
.footer-trust-img { max-width: 180px; width: 100%; height: auto; }

/* ---- Contact Split Section ---- */
#contact-form { padding: 80px 0; background: var(--bg-dark, #0d1117); }

.contact-split {
  display: flex;
  gap: 48px;
  align-items: stretch;
  margin-top: 56px;
}

.contact-image {
  flex: 1;
  min-width: 0;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.contact-form-wrapper {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: sticky;
  height: 100%;
  top: 100px;
}

#contactForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted, #8b949e);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary, #e6edf3);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(230,122,34,0.7);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(248, 81, 73, 0.6);
}

.btn-submit {
  align-self: flex-start;
  background: linear-gradient(135deg, #e67a22, #c0591a);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-submit:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-submit:active { transform: translateY(0); }

@media (max-width: 768px) {
  .contact-split {
    flex-direction: column;
  }
  .contact-image {
    max-height: 260px;
    overflow: hidden;
  }
}

/* ---- Contact form error ---- */
.cf-error {
  color: #f85149;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  background: rgba(248,81,73,0.12);
  border: 1px solid rgba(248,81,73,0.35);
  border-radius: 8px;
}

.field-error {
  display: none;
  color: #f85149;
  font-size: 12px;
  margin-top: 4px;
}
.field-error--visible { display: block; }

.input-invalid {
  border-color: rgba(248,81,73,0.7) !important;
}

/* ---- Contact success popup ---- */
.cf-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.cf-popup-overlay[hidden] { display: none; }

.cf-popup-box {
  background: #161b22;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 40px 48px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.cf-popup-box p {
  font-size: 17px;
  color: var(--text-primary, #e6edf3);
  line-height: 1.5;
  margin: 0;
}

.cf-popup-box .btn-submit {
  width: 100%;
}
