/* ---------- Tokens ---------- */
:root {
  --navy-950: #050d24;
  --navy-900: #0a1730;
  --navy-800: #0f1f42;
  --navy-700: #16295a;
  --blue-600: #0093dd;
  --blue-500: #1eaee8;
  --blue-400: #4fc3ef;
  --gradient: linear-gradient(135deg, var(--blue-400) 0%, var(--blue-600) 45%, var(--navy-800) 100%);

  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-soft-2: #eef3fa;
  --text: #131c30;
  --text-muted: #566079;
  --border: #e3e9f2;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 12px 32px -16px rgba(10, 26, 65, 0.25);
  --shadow-lg: 0 24px 60px -20px rgba(10, 26, 65, 0.35);

  --container: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 0.75rem;
}
.center { text-align: center; }
.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 46ch;
  margin: 0.75rem 0 0;
}
.center.section-lead { margin-left: auto; margin-right: auto; }

h2 {
  font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-600); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { flex-shrink: 0; }
.brand-logo { height: 30px; width: auto; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 2rem; }
.site-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-800);
  position: relative;
  padding: 0.25rem 0;
}
.site-nav a:hover { color: var(--blue-600); }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  margin-left: 0.5rem;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  color: #fff;
  padding: 7rem 0 6rem;
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero .eyebrow { color: var(--blue-400); }
.hero h1 {
  font-size: clamp(2.2rem, 1.7rem + 2.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 56ch;
  margin-bottom: 2.25rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.hero .btn-ghost:hover { border-color: var(--blue-400); color: var(--blue-400); }

.hero-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60%;
  height: 140%;
  background: var(--gradient);
  opacity: 0.35;
  filter: blur(90px);
  z-index: 1;
}

/* ---------- About ---------- */
.about { padding: 6rem 0; background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.about-copy h2 { margin-bottom: 1.25rem; }
.about-copy p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.1rem;
}
.about-stats {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}
.stat {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.stat dt {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-600);
  margin-bottom: 0.35rem;
}
.stat dd {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-900);
}

/* ---------- Services ---------- */
.services { padding: 6rem 0; background: var(--bg-soft); }
.services h2 { margin-bottom: 0.5rem; }
.service-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: #fff;
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.6rem;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ---------- Contact ---------- */
.contact {
  padding: 6rem 0;
  background: var(--navy-950);
  color: #fff;
}
.contact-inner { max-width: 720px; }
.contact .eyebrow { color: var(--blue-400); }
.contact h2 { color: #fff; margin-bottom: 0.75rem; }
.contact .section-lead { color: rgba(255, 255, 255, 0.7); }

.contact-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.18s ease, background 0.18s ease;
}
a.contact-item:hover {
  border-color: var(--blue-400);
  background: rgba(255, 255, 255, 0.1);
}
.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-400);
}
.contact-value {
  font-weight: 600;
  font-size: 1.02rem;
}
.contact-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.6); padding: 2rem 0; }
.footer-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-logo { height: 20px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-inner p { font-size: 0.85rem; }
.back-to-top { margin-left: auto; font-size: 0.85rem; font-weight: 600; }
.back-to-top:hover { color: var(--blue-400); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: 66px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .site-nav.open { max-height: 320px; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 24px 1.25rem;
  }
  .site-nav li { border-bottom: 1px solid var(--border); }
  .site-nav a { display: block; padding: 0.9rem 0; }
  .nav-cta { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .hero { padding: 5.5rem 0 4rem; }
  .about, .services, .contact { padding: 4rem 0; }
}
