/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1B3FAA;
  --navy-dark:  #0A1852;
  --accent:     #4F8EF7;
  --fg:         #0F172A;
  --fg-muted:   #64748B;
  --border:     #E2E8F0;
  --bg:         #FFFFFF;
  --bg-alt:     #F8FAFC;
  --nav-h:      184px;
  --transition: 0.18s ease;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Utilities ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: 100px 0; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-tag::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 60px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p   { color: var(--fg-muted); font-size: 1rem; }

h1 { font-family: var(--font-display); font-size: clamp(2.6rem, 5.5vw, 4.1rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; }
h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
p  { color: var(--fg-muted); font-size: 0.95rem; }

/* ─── Scroll reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  font-family: inherit;
  letter-spacing: 0.01em;
}
.btn--primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 2px 12px rgba(27,63,170,0.28);
}
.btn--primary:hover {
  background: #1530A0;
  border-color: #1530A0;
  box-shadow: 0 4px 20px rgba(27,63,170,0.4);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--full { width: 100%; justify-content: center; }

/* Hero ghost override */
.hero .btn--ghost {
  color: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.28);
  backdrop-filter: blur(4px);
}
.hero .btn--ghost:hover {
  border-color: rgba(255,255,255,0.7);
  color: #fff;
  background: rgba(255,255,255,0.1);
}

/* ─── Navigation ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.nav.scrolled {
  box-shadow: 0 1px 24px rgba(15,23,42,0.08);
  border-bottom-color: transparent;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo { display: flex; align-items: center; }

.nav__logo-img {
  height: 166px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color var(--transition);
  letter-spacing: 0.01em;
}
.nav__links a:hover { color: var(--fg); }

.lang-toggle {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--fg-muted);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
  font-family: inherit;
}
.lang-toggle:hover { border-color: var(--navy); color: var(--navy); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
}

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 120px;
  background: linear-gradient(150deg, #060E35 0%, #0D1F6E 45%, #1B3FAA 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79,142,247,0.22) 0%, transparent 70%);
  pointer-events: none;
  animation: heroGlow 9s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.12); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

@keyframes signalPulse {
  0%, 100% { opacity: 1;   }
  50%      { opacity: 0.25; }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__illustration svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(79,142,247,0.2));
  animation: float 6s ease-in-out infinite;
}
.signal-pulse { animation: signalPulse 1.6s ease-in-out infinite; }

.hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #93B4FF;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: #93B4FF;
  border-radius: 2px;
}

.hero__title {
  color: #fff;
  margin-bottom: 22px;
}

.hero__sub {
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 40px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── Certifications strip ───────────────────────────────────── */
.certs {
  padding: 24px 0;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.certs__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.certs__label {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-right: 6px;
  font-family: 'Courier New', monospace;
}

.cert-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #93B4FF;
  padding: 5px 12px;
  border: 1px solid rgba(79,142,247,0.3);
  border-radius: 4px;
  background: rgba(79,142,247,0.08);
  font-family: 'Courier New', monospace;
}

/* ─── Stats band ─────────────────────────────────────────────── */
.stats {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  text-align: center;
  position: relative;
}
.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 12%; right: 0;
  height: 76%;
  width: 1px;
  background: var(--border);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat__label {
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.01em;
}

/* ─── About ──────────────────────────────────────────────────── */
.about { background: var(--bg-alt); border-bottom: 1px solid var(--border); }

.about__inner { max-width: 660px; }

.about__text h2 { margin-bottom: 20px; }
.about__text p   { margin-bottom: 14px; }

.about__pillars {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about__pillars li {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pillar-icon { color: var(--navy); font-size: 0.55rem; }

/* ─── Why section ────────────────────────────────────────────── */
.why { background: var(--bg); border-bottom: 1px solid var(--border); }

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.why-card:hover {
  box-shadow: 0 12px 40px rgba(27,63,170,0.12);
  transform: translateY(-4px);
  border-color: #C4D4FF;
}

.why-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #EEF2FF, #E0E8FF);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--navy);
}
.why-card__icon svg { width: 24px; height: 24px; }

.why-card h3 { color: var(--fg); margin-bottom: 10px; font-size: 1rem; }
.why-card p  { font-size: 0.875rem; line-height: 1.7; }

/* ─── Products ───────────────────────────────────────────────── */
.services { background: var(--bg-alt); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.service-card {
  background: var(--bg);
  padding: 36px;
  transition: background 0.2s ease, box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 36px; right: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--navy), var(--accent));
  transform: scaleX(0);
  transition: transform 0.25s ease;
  border-radius: 2px;
}
.service-card:hover {
  background: #F5F8FF;
  box-shadow: 0 10px 32px rgba(27,63,170,0.1);
  transform: translateY(-4px);
  z-index: 1;
}
.service-card:hover::after {
  transform: scaleX(1);
}

.service-card__num {
  position: absolute;
  top: 30px;
  right: 32px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--border);
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}
.service-card:hover .service-card__num { color: var(--accent); }

.service-card h3 {
  color: var(--fg);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ─── Card icons ─────────────────────────────────────────────── */
.card-icon {
  width: 36px;
  height: 36px;
  color: var(--navy);
  margin-bottom: 18px;
  display: block;
}

/* ─── Contact ────────────────────────────────────────────────── */
.contact { background: var(--bg); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact__info h2 { margin-bottom: 14px; }
.contact__info p  { margin-bottom: 32px; }

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
}
.contact__item-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  background: var(--bg);
}
.contact__item a {
  color: var(--navy);
  font-weight: 500;
}
.contact__item a:hover { text-decoration: underline; }

/* Form */
.contact__form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 24px rgba(15,23,42,0.06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
  font-family: inherit;
  font-size: 0.88rem;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg-alt);
  color: var(--fg);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #B0BAC9; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  background: var(--bg);
}

.form-success {
  font-size: 0.84rem;
  color: #16a34a;
  font-weight: 500;
  min-height: 20px;
  text-align: center;
}

/* ─── CTA band ───────────────────────────────────────────────── */
.cta {
  background: linear-gradient(120deg, #060E35 0%, #12296F 55%, #1B3FAA 100%);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.cta__inner {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta__inner h2 { color: #fff; margin-bottom: 16px; }
.cta__inner p {
  color: rgba(255,255,255,0.65);
  font-size: 1.02rem;
  margin-bottom: 32px;
}
.cta .btn--primary {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.cta .btn--primary:hover {
  background: #EAF0FF;
  border-color: #EAF0FF;
  transform: translateY(-2px);
}

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
  padding: 56px 0;
  background: var(--navy-dark);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer__logo-img {
  height: 150px;
  width: auto;
  display: block;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.footer__brand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  max-width: 200px;
  line-height: 1.6;
}

.footer__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer__links {
  display: flex;
  gap: 28px;
}
.footer__links a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
  font-weight: 500;
}
.footer__links a:hover { color: #fff; }

.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.footer__social a:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}
.footer__social svg { width: 16px; height: 16px; }

.footer__copy {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.28);
  text-align: right;
  line-height: 1.8;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__illustration { display: none; }
  .why__grid { grid-template-columns: 1fr; gap: 16px; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .stat:nth-child(2)::after { display: none; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
  .footer__copy { text-align: center; }
  .footer__brand { flex-direction: column; }
}

@media (max-width: 640px) {
  :root { --nav-h: 88px; }
  .nav__logo-img { height: 72px; }
  .section { padding: 72px 0; }
  .container { padding: 0 24px; }
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 28px 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    z-index: 99;
  }
  .nav__burger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .stats__grid { grid-template-columns: 1fr; gap: 32px; }
  .stat::after { display: none; }
  .btn { width: 100%; justify-content: center; }
  .contact__form { padding: 28px 24px; }
  .footer__logo-img { height: 72px; }
}
