:root {
  --primary: #1a3a5c;
  --primary-light: #2c5f8a;
  --accent: #b8860b;
  --bg: #ffffff;
  --bg-light: #f8f9fb;
  --text-dark: #1a1a1a;
  --text-light: #555555;
  --border: #e0e4e8;
  --border-dark: #c0c8d2;
}

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

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

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

/* ── Navbar ── */

.navbar {
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.navbar-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.navbar-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.navbar-link:hover {
  color: var(--primary-light);
}

.navbar-link.active {
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
}

.navbar-cta {
  margin-left: 1rem;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--text-dark);
  margin: 3px 0;
  transition: 0.3s;
}

/* ── Hero ── */

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--bg);
  padding: 4rem 0 5rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-sublead {
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto 2rem;
  opacity: 0.92;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Credentials strip ── */

.credentials-strip {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.credentials-strip span {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-right: 1.5rem;
}

.credentials-strip strong {
  color: var(--text-dark);
}

/* ── Services preview ── */

.services-preview {
  padding: 4rem 0;
  text-align: center;
}

.services-preview h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26, 58, 92, 0.08);
}

.service-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

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

/* ── Buttons ── */

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
}

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

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  background-color: transparent;
  color: var(--bg);
  border: 2px solid var(--bg);
}

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

/* ── Footer ── */

.footer {
  background-color: var(--primary);
  color: var(--bg);
  padding: 3rem 0 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

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

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

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--bg);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-col a:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-dark);
  text-align: center;
  opacity: 0.7;
  font-size: 0.85rem;
}

/* ── Responsive ── */

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

  .navbar-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

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

  .navbar-cta {
    display: none;
  }

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

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .credentials-strip span {
    display: block;
    margin: 0.25rem 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
