:root {
  --primary: #1b3a5c;
  --primary-dark: #0f2440;
  --accent: #d4893b;
  --accent-light: #e8a85a;
  --bg: #ffffff;
  --bg-light: #f7f8fa;
  --bg-dark: #0f1a2e;
  --text-dark: #1a1a2e;
  --text-light: #6b7280;
  --text-white: #f0f2f5;
  --border: #e2e5ea;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 6px;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- navbar --- */
.navbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }
.nav-links a.active { font-weight: 600; }
.nav-cta .btn { padding: 8px 20px; font-size: 0.85rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: var(--transition); }

/* --- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-light); border-color: var(--accent-light); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-white-outline:hover { background: #fff; color: var(--primary); }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }

/* --- hero --- */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1f4a6e 100%);
  color: #fff;
  padding: 100px 0 90px;
  text-align: center;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 620px;
  margin: 0 auto 36px;
}
.hero .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- page hero band --- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero h1 { font-size: 2.2rem; font-weight: 800; }
.page-hero p { color: rgba(255,255,255,0.75); margin-top: 10px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* --- sections --- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-light); }
.section-dark { background: var(--bg-dark); color: var(--text-white); }

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin-bottom: 48px;
}
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* --- services grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1px solid var(--border);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card .icon { font-size: 2.2rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--primary); }
.service-card p { font-size: 0.92rem; color: var(--text-light); line-height: 1.6; }

/* --- value props / about strip --- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
}
.value-item { text-align: center; }
.value-item .icon { font-size: 2rem; margin-bottom: 12px; }
.value-item h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--primary); }
.value-item p { font-size: 0.9rem; color: var(--text-light); }

/* --- credentials strip --- */
.credentials {
  background: var(--primary);
  color: #fff;
  padding: 36px 0;
  text-align: center;
}
.credentials-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.credentials-grid span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}

/* --- CTA strip --- */
.cta-strip {
  background: var(--accent);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-strip h2 { font-size: 1.8rem; margin-bottom: 12px; }
.cta-strip p { opacity: 0.9; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-strip .btn-primary { background: var(--primary); border-color: var(--primary); }
.cta-strip .btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

/* --- about content --- */
.content-block { max-width: 800px; margin: 0 auto; }
.content-block p { margin-bottom: 18px; color: var(--text-light); font-size: 1rem; line-height: 1.8; }
.content-block h2 { color: var(--primary); margin-top: 36px; margin-bottom: 12px; font-size: 1.4rem; }

/* --- privacy / terms --- */
.legal-section { padding: 60px 0; }
.legal-section h2 { color: var(--primary); margin-top: 36px; margin-bottom: 10px; font-size: 1.3rem; }
.legal-section p, .legal-section li { color: var(--text-light); line-height: 1.8; margin-bottom: 12px; }
.legal-section ul { padding-left: 24px; margin-bottom: 18px; }

/* --- contact page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 { color: var(--primary); margin-bottom: 8px; font-size: 1.1rem; }
.contact-info p { color: var(--text-light); margin-bottom: 20px; }
.contact-info a { color: var(--accent); font-weight: 500; }

/* --- footer --- */
.footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer h4 { font-size: 1rem; margin-bottom: 16px; color: #fff; }
.footer p, .footer a { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.8; }
.footer a:hover { color: var(--accent); }
.footer .brand { font-weight: 700; font-size: 1.1rem; color: #fff; margin-bottom: 10px; }
.footer .brand span { color: var(--accent); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* --- mobile --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .page-hero h1 { font-size: 1.6rem; }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.5rem; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .credentials-grid { gap: 20px; flex-direction: column; align-items: center; }
}
