/* Dev Group Global — brand: navy #17263c, steel #2e5f8a, light blue #9fc0dd, paper #fbfbfa */

:root {
  --navy: #17263c;
  --navy-line: #33465e;
  --steel: #2e5f8a;
  --steel-dark: #1f4463;
  --lightblue: #9fc0dd;
  --paper: #fbfbfa;
  --ink: #1c2733;
  --muted: #55606c;
  --line: #d8dde2;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

a { color: var(--steel); }
a:hover { color: var(--steel-dark); }

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 40px;
  background: rgba(251, 251, 250, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark { width: 30px; height: 33px; }

.brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.nav a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-solid { background: var(--navy); color: #ffffff; }
.btn-solid:hover { background: var(--steel-dark); color: #ffffff; }
.btn-light { background: var(--paper); color: var(--navy); }
.btn-light:hover { background: var(--lightblue); color: var(--navy); }
.btn-ghost { border-color: var(--navy-line); color: var(--lightblue); }
.btn-ghost:hover { border-color: var(--lightblue); color: #ffffff; }
.btn-lg { padding: 14px 30px; font-size: 16px; }

/* Hero */
.hero {
  background: var(--navy);
  color: #ffffff;
  text-align: center;
  padding: 88px 24px 96px;
}

.hero-mark { width: 110px; height: 122px; margin-bottom: 28px; }

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.hero-tagline {
  margin: 18px 0 0;
  font-size: clamp(15px, 2.4vw, 20px);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--lightblue);
}

.hero-sub {
  margin: 22px auto 0;
  max-width: 560px;
  font-size: 17px;
  font-weight: 500;
  color: #c6d2de;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Sections */
.section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 80px 40px;
}

.section-alt {
  max-width: none;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-alt > * { max-width: 960px; margin-left: auto; margin-right: auto; }

.label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.label-light { color: var(--lightblue); }

.section h2 {
  margin: 0 0 20px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
}

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

.lede {
  max-width: 720px;
  font-size: 17px;
  margin: 0 0 36px;
}

/* Delivery steps */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px 32px;
}

.steps li {
  counter-increment: step;
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 16px;
}

.steps li::before {
  content: counter(step);
  font-weight: 800;
  color: var(--steel);
  font-size: 18px;
  flex-shrink: 0;
}

/* Competency cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--steel);
  padding: 24px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
}

.card p { margin: 0; font-size: 15px; color: var(--ink); }

/* Engagement tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.tile {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 20px 24px;
}

.tile h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: var(--navy); }
.tile p { margin: 0; font-size: 14px; color: var(--muted); }

/* Why us */
.section-navy {
  max-width: none;
  background: var(--navy);
  color: #eef2f6;
}

.section-navy > * { max-width: 960px; margin-left: auto; margin-right: auto; }

.why-list {
  list-style: none;
  margin: 0 auto 48px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px 40px;
  font-size: 16px;
}

.why-list li {
  display: flex;
  gap: 12px;
}

.why-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 8px;
  background: var(--lightblue);
  flex-shrink: 0;
}

.why-list strong { color: #ffffff; }

.snapshot {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  border-top: 1px solid var(--navy-line);
  padding-top: 32px;
  font-size: 15px;
}

.snapshot span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lightblue);
  margin-bottom: 6px;
}

/* CTA */
.cta { text-align: center; }

.cta p {
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: 17px;
  color: var(--muted);
}

/* Footer */
.footer {
  background: #101b2c;
  color: #c6d2de;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 32px 40px;
  flex-wrap: wrap;
}

.footer-mark { width: 36px; height: 40px; }

.footer-name { font-weight: 800; color: #ffffff; letter-spacing: 0.02em; }

.footer-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--lightblue);
}

.footer-contact {
  margin-left: auto;
  font-size: 14px;
  text-align: right;
}

.footer-contact a { color: var(--lightblue); }

/* Mobile */
@media (max-width: 720px) {
  .topbar { padding: 12px 20px; gap: 16px; }
  .nav { display: none; }
  .topbar .btn { margin-left: auto; padding: 8px 14px; font-size: 13px; }
  .section { padding: 56px 24px; }
  .hero { padding: 64px 20px 72px; }
  .footer { flex-direction: column; align-items: flex-start; }
  .footer-contact { margin-left: 0; text-align: left; }
}

/* Keep full-bleed section children centered (overrides label/h2 margins above) */
.section-alt > *, .section-navy > * {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
