:root {
  --blue: #1a73e8;
  --dark: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1rem;
}
/* =====================
   Header
   ===================== */

header {
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  flex-shrink: 0;
}

.site-logo img {
  display: block;
  max-height: 120px;
  width: auto;
}

/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

/* =====================
   Mobile header
   ===================== */

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    padding: 16px 1rem;
  }

  .site-logo {
    margin-bottom: 12px;
  }

  .site-logo img {
    max-height: 80px;
  }

  .main-nav ul {
    justify-content: center;
    flex-wrap: wrap;
  }
}
}
/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--dark);
}

.btn-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 420px;
  color: #fff;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/images/hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 115, 232, 0.6);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero .lead {
  font-size: 1.1rem;
  max-width: 600px;
}

/* Buttons */
.btn-primary {
  background: #fff;
  color: var(--blue);
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  margin-right: 0.5rem;
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  text-decoration: none;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.service {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1.4rem;
  background: #fff;
}

.service h3 {
  margin-top: 0;
}

/* Footer */
.site-footer {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  margin-top: 3rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  height: 36px;
}

/* Mobile */
#nav-toggle {
  display: none;
}

@media (max-width: 768px) {
  .main-nav ul {
    display: none;
  }

  #nav-toggle {
    display: inline-block;
  }

  .hero h1 {
    font-size: 2rem;
  }
/* Mobile header fix */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
  }

  .site-logo {
    display: block;
    margin: 0 0 12px 0;
  }

  .site-logo img {
    display: block;
    max-height: 80px;
  }

  .main-nav {
    width: 100%;
    text-align: center;
  }

  .main-nav ul {
    justify-content: center;
  }
}
