:root {
  --blue: #1a56db;
  --blue-dark: #113a99;
  --navy: #0f1b3d;
  --text: #1f2937;
  --muted: #5b6472;
  --bg-soft: #f5f8ff;
  --border: #e3e8f2;
  --white: #ffffff;
  --radius: 10px;
  --max-width: 1140px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Poppins', 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0 0 16px;
  line-height: 1.25;
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin: 0 0 10px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
}
.logo span { color: var(--blue); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}

.site-nav a:hover { color: var(--blue); }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--blue-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  display: block;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%);
  padding: 96px 0 80px;
}

.hero-inner { max-width: 760px; }

.hero h1 {
  font-size: 44px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
}
.btn-outline:hover { background: var(--bg-soft); }

/* Section generic */
section { padding: 80px 0; }
section:nth-of-type(even) { background: var(--bg-soft); }

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-sub { color: var(--muted); font-size: 16px; }

/* About */
.about-copy {
  max-width: 780px;
  color: var(--text);
  font-size: 17px;
  margin-bottom: 48px;
}

.stat-row {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  color: var(--blue);
}
.stat-label { color: var(--muted); font-size: 14px; }

/* Services cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* Expertise tags */
.tag-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tag {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  font-weight: 600;
  color: var(--navy);
}

/* Locations */
.location-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.location-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.location-card h3 { font-size: 18px; margin-bottom: 4px; }
.location-card p { color: var(--muted); margin: 0; font-size: 14px; }

.location-registered {
  background: var(--navy);
  border-color: var(--navy);
}
.location-registered h3, .location-registered p { color: var(--white); }
.location-registered p { opacity: 0.8; }

.location-badge {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* Contact */
.contact-inner { max-width: 640px; }
.contact-email { font-weight: 600; margin-top: 8px; }

.contact-form { margin-top: 24px; }
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: 14px; }
.form-row input, .form-row textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form-notice {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
}
.form-success { background: #e6f4ea; color: #1e7a34; }
.form-error { background: #fdeaea; color: #b42318; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { color: var(--white); }
.footer-logo span { color: #6b9bff; }
.site-footer p { margin: 0; font-size: 14px; }
.back-to-top { color: rgba(255,255,255,0.7); font-size: 14px; }
.back-to-top:hover { color: var(--white); }

/* Responsive */
@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .tag-grid { grid-template-columns: repeat(3, 1fr); }
  .location-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    display: none;
    gap: 18px;
  }
  .site-nav.open { display: flex; }
  .hero h1 { font-size: 32px; }
  .card-grid, .tag-grid, .location-grid { grid-template-columns: 1fr; }
  .stat-row { gap: 28px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
