/* NS2 Consulting Services — shared stylesheet
   Palette sampled from the approved skyline logo: teal wordmark family
   (#017486 sampled; primary #0E7C86), white / very light grey background,
   dark slate text. */

:root {
  --teal: #0e7c86;
  --teal-deep: #017486;
  --teal-dark: #0a5a63;
  --teal-tint: #e8f3f4;
  --ink: #22313a;
  --muted: #54646e;
  --bg: #f7f9fa;
  --card: #ffffff;
  --line: #d9e3e6;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

a { color: var(--teal-deep); }
a:hover { color: var(--teal-dark); }

h1, h2, h3 { line-height: 1.25; color: var(--ink); }
h1 { font-size: 2.3rem; margin: 0 0 1rem; }
h2 { font-size: 1.55rem; margin: 2.5rem 0 1rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.4rem; }
p { margin: 0 0 1rem; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.logo { height: 68px; width: auto; display: block; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.4rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 0.35rem 0.1rem;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { color: var(--teal-deep); }
.site-nav a[aria-current="page"] {
  color: var(--teal-deep);
  border-bottom-color: var(--teal);
}

/* ---------- Main ---------- */
main { padding: 2.5rem 0 3rem; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--teal-tint), #ffffff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  margin-bottom: 0;
}
.hero .lede { font-size: 1.12rem; }
.hero-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  border: 2px solid var(--teal);
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--teal-deep); }
.btn-secondary:hover { background: var(--teal-tint); color: var(--teal-dark); }

/* Proof strip */
.proof-strip {
  background: var(--teal);
  color: #fff;
  border-radius: var(--radius);
  margin-top: 1.5rem;
  padding: 1.1rem 1.5rem;
}
.proof-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  justify-content: space-between;
  font-weight: 600;
}

/* Service tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  display: block;
}
.tile:hover { border-color: var(--teal); color: var(--teal-dark); box-shadow: 0 2px 10px rgba(1, 116, 134, 0.12); }
.tile-note { margin-top: 1rem; }

/* CTA band */
.cta-band {
  background: var(--teal-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-top: 2.5rem;
  font-size: 1.08rem;
}

/* Services page */
.service {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-top: 1.25rem;
}
.service h2 { margin-top: 0; font-size: 1.35rem; }
.download-box {
  margin-top: 2rem;
  background: var(--teal-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-weight: 600;
}

/* Track record */
.project {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}
.project p { margin-bottom: 0; color: var(--muted); }
.project h3 { color: var(--teal-dark); }

/* About */
.cert-list { padding-left: 1.25rem; }
.cert-list li { margin-bottom: 0.4rem; }

/* Contact */
.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-top: 1.5rem;
  max-width: 640px;
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}
.direct-block {
  background: var(--teal-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  max-width: 640px;
}
.direct-block p { margin-bottom: 0.5rem; }
.direct-block p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: #eef3f4;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 1.75rem 0 2rem;
  margin-top: 2rem;
  font-size: 0.95rem;
}
.site-footer .logo { height: 54px; margin-bottom: 0.75rem; }
.site-footer p { margin: 0; }
.site-footer a { font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  h1 { font-size: 1.8rem; }
  .hero { padding: 1.75rem 1.25rem; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .proof-strip ul { flex-direction: column; gap: 0.4rem; }
  main { padding-top: 1.75rem; }
}
