:root {
  --navy: #1e4d7b;
  --blue: #2a6da8;
  --gold: #f0a500;
  --gold-dark: #d49200;
  --sky: #e8f4fc;
  --text: #1a2b3c;
  --muted: #5a6d7e;
  --white: #fff;
  --border: #d4e4f0;
  --shadow: 0 12px 40px rgba(30, 77, 123, 0.12);
  --radius: 12px;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1140px, 92vw); margin: 0 auto; }

.demo-bar {
  background: #0f2740;
  color: #fff;
  font-size: 0.85rem;
  padding: 0.55rem 0;
}
.demo-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.demo-bar a {
  color: var(--gold);
  font-weight: 600;
}
.demo-bar a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.25rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(240, 165, 0, 0.35);
}
.btn-primary:hover { background: var(--gold-dark); }
.btn-outline {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  background: transparent;
}
.btn-outline-dark {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.875rem; }

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(30,77,123,0.92) 0%, rgba(42,109,168,0.78) 100%),
    url("https://images.unsplash.com/photo-1621905252507-b35492cc74b4?w=1600&q=80") center/cover;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}
.hero-badge {
  display: inline-block;
  background: rgba(240,165,0,0.2);
  border: 1px solid rgba(240,165,0,0.5);
  color: var(--gold);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}
.hero-lead {
  font-size: 1.125rem;
  opacity: 0.92;
  margin: 0 0 1.5rem;
  max-width: 32rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.hero-phone {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
}
.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

.trust-strip {
  background: var(--navy);
  color: #fff;
  padding: 1.25rem 0;
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.trust-strip span::before { content: "✓ "; color: var(--gold); }

.section { padding: 5rem 0; }
.section-alt { background: var(--sky); }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0 0 0.75rem;
  color: var(--navy);
}
.section-head p { color: var(--muted); margin: 0; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}
.service-card:hover { transform: translateY(-6px); }
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-card-body { padding: 1.5rem; }
.service-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  color: var(--navy);
}
.service-card p { color: var(--muted); margin: 0; font-size: 0.925rem; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  box-shadow: var(--shadow);
}
.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-card span { color: var(--muted); font-size: 0.9rem; }

.area-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.area-tag {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.testimonial .stars { color: var(--gold); margin-bottom: 0.75rem; letter-spacing: 2px; }
.testimonial p { color: var(--muted); font-style: italic; margin: 0 0 1rem; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--navy); font-size: 0.9rem; }

.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  border-radius: var(--radius);
  padding: 3.5rem 2rem;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}
.cta-band p { opacity: 0.9; margin: 0 0 1.5rem; max-width: 520px; margin-left: auto; margin-right: auto; }

.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.75rem;
}
.page-hero p { opacity: 0.9; max-width: 560px; margin: 0 auto; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.grid-2 img { border-radius: var(--radius); box-shadow: var(--shadow); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.team-card img { width: 100%; height: 260px; object-fit: cover; }
.team-card-body { padding: 1.25rem; }
.team-card h3 { margin: 0 0 0.25rem; color: var(--navy); }
.team-card p { color: var(--muted); margin: 0; font-size: 0.9rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
}
.contact-info h3 { color: var(--navy); margin: 0 0 1rem; }
.contact-item { margin-bottom: 1.25rem; }
.contact-item strong { display: block; color: var(--navy); margin-bottom: 0.2rem; }
.contact-item span, .contact-item a { color: var(--muted); }
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 1rem; }
.form-row label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.35rem; color: var(--navy); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}
.form-row textarea { min-height: 120px; resize: vertical; }

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo { color: #fff; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.9rem; margin: 0; }
.footer-col h4 { color: #fff; margin: 0 0 0.75rem; font-size: 0.9rem; }
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .hero-grid, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .service-grid, .testimonial-grid, .team-grid, .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .header-cta { display: none; }
  .service-grid, .testimonial-grid, .team-grid, .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
