:root {
  --primary: #1f4e8c;
  --text: #222;
  --muted: #666;
  --bg: #fff;
  --alt-bg: #f7f9fc;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: #fff; border-bottom: 1px solid #e5e9f2;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 700; color: var(--primary); font-size: 20px; letter-spacing: 0.5px; }
.logo-img { height: 40px; width: auto; display: block; }
.nav a { color: var(--text); text-decoration: none; margin-left: 16px; font-weight: 600; }
.nav a:hover { color: var(--primary); }
.menu-toggle { display: none; border: 1px solid #e5e9f2; background: #fff; color: var(--text); padding: 8px 12px; border-radius: 6px; cursor: pointer; font-weight: 700; }

.hero {
  position: relative; height: 420px; display: grid; place-items: center;
  background: #0b1d36; color: #fff;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero.hero--fallback {
  background-image: linear-gradient(135deg, #0b1d36 0%, var(--primary) 100%);
}
.hero-overlay {
  text-align: center; padding: 0 20px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.hero h1 { font-size: clamp(24px, 4vw, 36px); margin: 0 0 8px; }
.subtext { margin: 0 0 20px; color: #e6eef9; font-size: clamp(14px, 2.5vw, 18px); }
.cta { display: inline-block; background: var(--primary); color: #fff; padding: 10px 18px; border-radius: 6px; text-decoration: none; font-weight: 700; }
.cta:hover { opacity: 0.9; }
.hero-controls { position: absolute; bottom: 16px; right: 16px; display: flex; gap: 8px; }
.hero-controls button { border: none; background: rgba(255,255,255,0.85); color: #111; padding: 8px 12px; border-radius: 6px; cursor: pointer; font-weight: 700; }
.hero-controls button:hover { background: #fff; }

.section { padding: 52px 0; }
.section.alt { background: var(--alt-bg); }
.section h2 { font-size: clamp(22px, 3vw, 28px); margin: 0 0 24px; color: var(--primary); }

.grid { display: grid; gap: 20px; }
.services-grid { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 20px; 
  justify-content: center; 
}
.services-grid .card { 
  flex: 0 1 320px; 
  max-width: 340px; 
}
.why-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card { background: #fff; border: 1px solid #e5e9f2; border-radius: 10px; padding: 20px; box-shadow: 0 1px 2px rgba(0,0,0,0.03); }
.card .icon { font-size: 28px; }
.card h3 { margin: 8px 0; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }

#about p { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.contact-grid ul { margin: 8px 0 0; padding-left: 20px; }

.site-footer { border-top: 1px solid #e5e9f2; background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.footer-right a { color: var(--text); text-decoration: none; margin-left: 12px; }
.footer-right a:hover { color: var(--primary); }

/* Responsive tweaks */
@media (max-width: 640px) {
  .hero { height: 360px; }
  .hero h1 { font-size: 28px; }
  .services-grid .card { flex: 1 1 100%; max-width: 100%; }
  .footer-inner { flex-direction: column; height: auto; padding: 16px 0; gap: 8px; }
}

/* Mobile navigation */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav { 
    position: absolute; top: 64px; left: 0; right: 0; 
    background: #fff; border-bottom: 1px solid #e5e9f2; 
    display: none; flex-direction: column; padding: 12px 20px;
  }
  .nav a { margin: 8px 0; }
  .nav.open { display: flex; }
  .header-inner { position: relative; }
}