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

:root {
  --navy: #0a1628;
  --navy-light: #111d33;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-pale: #dbeafe;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --text: #0f172a;
  --text-light: #475569;
  --radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--blue-light);
}

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

/* ===== Layout ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header / Nav ===== */
.site-header {
  background: var(--navy);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--blue-light);
}

nav a {
  color: var(--gray-400);
  margin-left: 32px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--white);
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 100px 0 90px;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

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

.hero p {
  color: var(--gray-400);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 14px 36px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
}

.hero-cta:hover {
  background: var(--blue-light);
  color: var(--white);
  transform: translateY(-1px);
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--gray-50);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: box-shadow 0.2s, transform 0.15s;
}

.section-alt .service-card {
  background: var(--white);
}

.service-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Clients ===== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 700px;
  margin: 0 auto;
}

.client-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.client-logo {
  height: 48px;
  width: auto;
  margin: 0 auto 20px;
  object-fit: contain;
}

.client-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
}

.client-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.client-card .client-type {
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.client-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== Contact ===== */
.contact-section {
  background: var(--navy);
  padding: 72px 0;
  text-align: center;
}

.contact-section h2 {
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-section p {
  color: var(--gray-400);
  margin-bottom: 8px;
  font-size: 1rem;
}

.contact-section a {
  color: var(--blue-light);
}

.contact-section a:hover {
  color: var(--white);
}

.contact-info {
  margin-top: 28px;
}

.contact-info .email-link {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.2s;
}

.contact-info .email-link:hover {
  background: var(--blue-light);
  color: var(--white);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--gray-800);
  padding: 36px 0;
  text-align: center;
}

.site-footer p {
  color: var(--gray-400);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.85rem;
  margin: 0 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

/* ===== Legal Pages ===== */
.legal-hero {
  background: var(--navy);
  padding: 60px 0 50px;
  text-align: center;
}

.legal-hero h1 {
  color: var(--white);
  font-size: 2.25rem;
  font-weight: 700;
}

.legal-hero p {
  color: var(--gray-400);
  margin-top: 10px;
  font-size: 0.95rem;
}

.legal-content {
  padding: 60px 0 80px;
}

.legal-content .container {
  max-width: 780px;
}

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--text);
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-content p {
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.75;
  font-size: 0.95rem;
}

.legal-content ul {
  color: var(--text-light);
  margin-bottom: 14px;
  padding-left: 24px;
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-content li {
  margin-bottom: 6px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero {
    padding: 64px 0 56px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  nav a {
    margin-left: 20px;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.65rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .site-header .container {
    flex-direction: column;
    gap: 12px;
  }

  .section-title {
    font-size: 1.5rem;
  }
}
