:root {
  --navy: #081c2e;
  --navy-2: #0d2133;
  --green: #8bbd15;
  --green-2: #a9d152;
  --grey-100: #f4f6f7;
  --grey-300: #d0d3d4;
  --grey-600: #5a6672;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(8, 28, 46, 0.08);
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}
h1, h2, h3, h4 { font-family: inherit; font-weight: 800; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--navy); }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--grey-300);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.brand img { height: 48px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; }
.site-nav a { text-decoration: none; font-weight: 600; color: var(--navy); padding: 6px 2px; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { border-bottom-color: var(--green); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); display: block; }

/* Buttons */
.btn { display: inline-block; padding: 13px 26px; border-radius: 6px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, opacity .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--navy); }
.btn-primary:hover { background: var(--green-2); }
.btn-outline-invert { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline-invert:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.nav-cta { padding: 10px 20px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  padding: 96px 0 88px;
}
.hero-copy { max-width: 700px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.82rem; font-weight: 700; color: var(--green-2); margin-bottom: 14px; }
.hero h1 { color: var(--white); }
.accent { color: var(--green-2); }
.lead { font-size: 1.15rem; color: #cfd8de; max-width: 620px; }

.page-hero { background: var(--navy); color: var(--white); padding: 64px 0 56px; }
.page-hero h1 { color: var(--white); margin-bottom: 6px; }
.page-hero .lead { color: #cfd8de; }
.page-hero.thanks { text-align: center; }
.page-hero.thanks .btn { margin-top: 12px; }

/* Sections */
.section { padding: 72px 0; }
.section.alt-bg { background: var(--grey-100); }
.section-title { margin-bottom: 28px; }
.lead-small { font-size: 1.05rem; color: var(--grey-600); max-width: 720px; }
.anchor-offset { scroll-margin-top: 90px; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.card-tag {
  display: inline-block;
  background: var(--navy);
  color: var(--green-2);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.link-arrow { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--green); }

.why-item { text-align: center; padding: 20px 10px; }
.why-icon { font-size: 2.2rem; margin-bottom: 10px; color: var(--green); }
.why-item h4 { font-size: 1rem; }

.cta-band { background: var(--grey-100); text-align: center; }
.cta-band-inner h2 { margin-bottom: 10px; }
.cta-band-inner p { color: var(--grey-600); }

/* Services */
.service-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--grey-300);
  font-weight: 600;
}
.service-list li::before {
  content: "\2713";
  position: absolute; left: 0; top: 10px;
  color: var(--green);
  font-weight: 800;
}
.coverage { text-align: center; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.about-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 30px; }
.about-card h4 { color: var(--green-2); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 18px 0 6px; }
.about-card h4:first-child { margin-top: 0; }
.about-card a { color: var(--white); }

/* Projects */
.project-card { border: 1px solid var(--grey-300); border-radius: var(--radius); overflow: hidden; }
.project-thumb { background: linear-gradient(135deg, var(--navy), var(--navy-2)); height: 160px; }
.project-card .card-tag, .project-card h4, .project-card p { margin-left: 20px; margin-right: 20px; }
.project-card .card-tag { margin-top: 20px; }
.project-card p:last-child { margin-bottom: 20px; color: var(--grey-600); }

/* Forms */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.site-form { display: flex; flex-direction: column; gap: 16px; }
.site-form.wide .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.site-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.92rem; }
.site-form .full { grid-column: 1 / -1; }
.site-form input, .site-form select, .site-form textarea {
  font: inherit; padding: 11px 12px; border: 1px solid var(--grey-300); border-radius: 6px; background: var(--white); color: var(--navy);
}
.site-form input:focus, .site-form select:focus, .site-form textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.site-form button { align-self: flex-start; margin-top: 6px; }
.hidden-field { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--navy); color: #cfd8de; padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.logo-chip { display: inline-block; background: var(--white); padding: 10px 16px; border-radius: 8px; margin-bottom: 14px; }
.footer-brand img { height: 40px; display: block; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-col a { color: #cfd8de; text-decoration: none; }
.footer-col a:hover { color: var(--green-2); }
.footer-col ul li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 24px; font-size: 0.85rem; }

@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4, .about-grid, .contact-grid, .footer-inner, .site-form.wide .form-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .site-nav { position: fixed; top: 78px; left: 0; right: 0; bottom: 0; background: var(--white); flex-direction: column; align-items: flex-start; padding: 24px; gap: 20px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
  .site-nav.open { transform: translateX(0); }
  .site-nav ul { flex-direction: column; gap: 18px; width: 100%; }
  .site-nav a { display: block; font-size: 1.1rem; }
  .nav-cta { width: 100%; text-align: center; }
  .hero { padding: 64px 0; }
  .section { padding: 52px 0; }
}
