/* =========================================================
   at3am IT – Stylesheet
   ========================================================= */

:root {
  --blue-950: #0a1628;
  --blue-900: #0f2044;
  --blue-800: #1e3a5f;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;

  --text-primary:   #0f172a;
  --text-secondary: #475569;
  --text-muted:     #94a3b8;
  --surface:        #ffffff;
  --surface-alt:    #f8faff;
  --border:         #e2e8f0;

  --radius:    12px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 16px rgba(14,30,70,.10);
  --shadow-lg: 0 12px 40px rgba(14,30,70,.16);

  --font: 'Inter', system-ui, sans-serif;
  --max-w: 1160px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

/* ── Utilities ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue-600);
  color: #fff;
  border-color: var(--blue-600);
}
.btn--primary:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,.35);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.8);
}

.btn--sm {
  padding: 8px 18px;
  font-size: 14px;
  background: var(--blue-600);
  color: #fff;
  border-radius: var(--radius-sm);
}
.btn--sm:hover {
  background: var(--blue-700);
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s;
}

.nav.scrolled {
  background: rgba(10, 22, 40, 0.97);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.5px;
}
.nav__logo span { color: var(--blue-400); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  color: rgba(255,255,255,.75);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.nav__links a:hover { color: #fff; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(37,99,235,.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(96,165,250,.12) 0%, transparent 55%),
    linear-gradient(160deg, var(--blue-950) 0%, #0d1f3c 60%, #111827 100%);
  z-index: 0;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(96,165,250,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,165,250,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: 80px;
  max-width: 820px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(96,165,250,.25);
  border-radius: 100px;
  background: rgba(96,165,250,.06);
}

.hero__headline {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}

.hero__accent {
  background: linear-gradient(90deg, var(--blue-400), var(--blue-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  letter-spacing: .04em;
  margin-bottom: 40px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero__scroll-indicator span {
  display: block;
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 100px;
  position: relative;
}
.hero__scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  background: rgba(255,255,255,.5);
  border-radius: 100px;
  animation: scroll-bob 1.8s ease-in-out infinite;
}
@keyframes scroll-bob {
  0%, 100% { top: 5px; opacity: 1; }
  50%       { top: 14px; opacity: .3; }
}

/* ── Partners ── */
.partners {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 24px;
}

.partners__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.partners__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.partners__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.01em;
  opacity: .75;
  transition: opacity .2s;
}
.partners__logo:hover { opacity: 1; }
.partners__logo svg { width: 23px; height: 23px; }

/* ── Section commons ── */
.section {
  padding-block: 100px;
}

.section--dark {
  background: var(--blue-950);
  color: #fff;
}

.section--alt {
  background: var(--surface-alt);
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}
.section__header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.section__header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin-inline: auto;
}

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-300);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  color: var(--blue-600);
}
.card__icon svg { width: 24px; height: 24px; }

.card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ── Procurement ── */
.procurement-cards {
  align-items: stretch;
}

.procurement-card {
  height: 100%;
}

.procurement-card__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.procurement-card__list {
  margin-top: 16px;
  padding-left: 20px;
  color: var(--text-secondary);
}

.procurement-card__list li + li {
  margin-top: 10px;
}

/* ── About ── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 20px;
  color: #fff;
}

.about__text .lead {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--blue-300);
  margin-bottom: 16px;
}

.about__text p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,.65);
  margin-bottom: 12px;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}

.stat {
  background: rgba(255,255,255,.04);
  padding: 32px 24px;
  text-align: center;
  transition: background .2s;
}
.stat:hover { background: rgba(96,165,250,.1); }

.stat__value {
  font-size: 24px;
  font-weight: 800;
  color: var(--blue-400);
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.stat__label {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  font-weight: 500;
}

/* ── Contact ── */
.contact {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.contact__card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 36px;
  min-width: 280px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, border-color .25s, transform .25s;
}
.contact__card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-400);
  transform: translateY(-3px);
}

.contact__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
}
.contact__icon svg { width: 22px; height: 22px; }

.contact__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact__value {
  font-size: 17px;
  font-weight: 600;
  color: var(--blue-600);
  transition: color .2s;
}
.contact__value:hover { color: var(--blue-700); }

/* ── Footer ── */
.footer {
  background: var(--blue-950);
  border-top: 1px solid rgba(255,255,255,.07);
  padding-block: 32px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand .nav__logo {
  font-size: 18px;
  display: block;
  margin-bottom: 4px;
}

.footer__brand p {
  font-size: 13px;
  color: rgba(255,255,255,.35);
}

.footer__copy {
  font-size: 13px;
  color: rgba(255,255,255,.35);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav__links a:not(.btn) { display: none; }

  .hero__headline { font-size: 2rem; }

  .about {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .section { padding-block: 72px; }

  .contact__card { width: 100%; }

  .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr 1fr; }
}
