:root {
  --navy-950: #0b1526;
  --navy-900: #0f1f38;
  --navy-800: #16294a;
  --slate-600: #4b5b73;
  --slate-500: #647589;
  --paper: #f6f7f9;
  --white: #ffffff;
  --teal: #1fb6a7;
  --teal-dark: #158e82;
  --amber: #e8a33d;
  --radius: 10px;
  font-size: 17px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--navy-900);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: var(--navy-950); line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.8em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; color: var(--slate-600); }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header */
.site-header { background: var(--navy-950); border-bottom: 1px solid #1c2c48; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: Georgia, serif; font-size: 1.4rem; font-weight: bold; color: var(--white); letter-spacing: 0.5px; }
.brand:hover { text-decoration: none; }
.accent { color: var(--teal); }
.nav nav a { color: #cdd6e4; margin-left: 28px; font-size: 0.95rem; font-weight: 500; }
.nav nav a:hover { color: var(--white); text-decoration: none; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy-950), var(--navy-800) 70%); color: var(--white); padding: 90px 0 80px; }
.hero-inner { max-width: 760px; }
.eyebrow { color: var(--teal); text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; font-weight: 700; margin-bottom: 14px; }
.hero h1 { color: var(--white); }
.hero .lede { color: #c7d1e2; font-size: 1.15rem; max-width: 640px; }
.cta-row { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

.btn { display: inline-block; padding: 13px 26px; border-radius: 6px; font-weight: 600; font-size: 0.97rem; }
.btn-primary { background: var(--teal); color: var(--navy-950); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid #44567a; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); text-decoration: none; }

/* Sections */
.section { padding: 70px 0; }
.section.alt { background: var(--paper); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 10px; }
.card { background: var(--white); border: 1px solid #e4e8ee; border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: 10px; }

.lede-sm { color: var(--slate-600); font-size: 1.05rem; max-width: 700px; margin-bottom: 24px; }
.industries.grid-3 { grid-template-columns: repeat(3, 1fr); }
.industries .card { padding: 18px 20px; text-align: center; background: var(--paper); border-color: #e4e8ee; }
.industries .card p { margin: 0; color: var(--navy-900); font-weight: 600; font-size: 0.95rem; }

.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; max-width: 700px; }
.checklist li { position: relative; padding-left: 30px; color: var(--navy-900); font-weight: 500; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-dark); font-weight: 700; }

.cta-band { background: var(--navy-900); color: var(--white); text-align: center; }
.cta-band-inner { max-width: 640px; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #c7d1e2; }

/* Footer */
.site-footer { background: var(--navy-950); color: #9fadc4; padding: 32px 0; margin-top: 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-inner p { margin: 0; color: #80901; color: #8b9ab3; }
.footer-inner nav a { color: #9fadc4; margin-left: 18px; font-size: 0.92rem; }
.footer-inner nav a:hover { color: var(--white); }

/* Generic page header for subpages */
.page-hero { background: var(--navy-950); color: var(--white); padding: 60px 0 50px; }
.page-hero h1 { color: var(--white); margin-bottom: 8px; }
.page-hero p { color: #c7d1e2; max-width: 650px; }

.list-detail { display: grid; gap: 28px; margin-top: 10px; }
.service-item { border-bottom: 1px solid #e4e8ee; padding-bottom: 26px; }
.service-item:last-child { border-bottom: none; }
.service-item h3 { color: var(--teal-dark); margin-bottom: 6px; }

.two-col { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }

.contact-methods { display: grid; gap: 18px; margin-top: 10px; }
.contact-methods .method { background: var(--paper); border-radius: var(--radius); padding: 18px 20px; }
.contact-methods .method strong { display: block; color: var(--navy-950); margin-bottom: 4px; }

/* Form styling */
.sas-form { max-width: 560px; margin-top: 10px; }
.sas-field { margin-bottom: 18px; }
.sas-field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy-900); font-size: 0.95rem; }
.sas-field input, .sas-field textarea, .sas-field select {
  width: 100%; padding: 11px 13px; border: 1px solid #ccd3dd; border-radius: 6px;
  font-size: 1rem; font-family: inherit; background: var(--white); color: var(--navy-900);
}
.sas-field input:focus, .sas-field textarea:focus, .sas-field select:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.sas-form button[type="submit"] {
  background: var(--teal); color: var(--navy-950); border: none; padding: 13px 28px;
  border-radius: 6px; font-weight: 700; font-size: 1rem; cursor: pointer;
}
.sas-form button[type="submit"]:hover { background: var(--teal-dark); color: var(--white); }

@media (max-width: 760px) {
  .nav nav a { margin-left: 16px; font-size: 0.88rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; align-items: flex-start; }
}
