:root {
  --primary: #1a3a5c;
  --accent: #e8913a;
  --bg: #f8f9fa;
  --text-dark: #1e293b;
  --text-light: #f8fafc;
  --border: #d1d5db;
  --primary-hover: #15304a;
  --accent-hover: #d17a28;
  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-700: #334155;
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

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

/* Navbar
   ========================================================================== */

.navbar {
  background: var(--primary);
  color: var(--text-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: none;
  white-space: nowrap;
}

.navbar-logo:hover {
  color: var(--accent);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.navbar-links a {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

/* Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-light);
}

/* Hero
   ========================================================================== */

.hero {
  background: var(--primary);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-lead {
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 32px;
  opacity: 0.9;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn-outline {
  color: var(--text-light);
  border-color: var(--text-light);
}

.hero .btn-outline:hover {
  background: var(--text-light);
  color: var(--primary);
}

/* Sections
   ========================================================================== */

.section-services {
  padding: 64px 0;
}

.section-services h2,
.section-credentials h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
  color: var(--primary);
}

/* Services Grid
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.service-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.service-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* Credentials Strip
   ========================================================================== */

.section-credentials {
  padding: 48px 0 64px;
  background: var(--white);
}

.credentials-strip {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.credential-item {
  text-align: center;
}

.credential-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.credential-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Footer
   ========================================================================== */

.footer {
  background: var(--primary);
  color: var(--text-light);
  padding-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 32px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--accent);
}

.footer-col p {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul li a {
  color: var(--text-light);
  font-size: 0.9rem;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Responsive — Mobile Breakpoint at 768px
   ========================================================================== */

@media (max-width: 768px) {
  .navbar-toggle {
    display: block;
  }

  .navbar-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 16px 24px 24px;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-links a {
    width: 100%;
    padding: 8px 0;
    border-bottom: none;
  }

  .navbar-links a.active {
    border-bottom: none;
    color: var(--accent);
    font-weight: 700;
  }

  .navbar-links .btn {
    text-align: center;
    width: 100%;
  }

  .hero {
    padding: 48px 0;
  }

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

  .hero-lead {
    font-size: 0.95rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .service-card {
    padding: 20px 16px;
  }

  .credentials-strip {
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .credential-item {
    text-align: left;
  }
}