/* ============================================================
   Water Oak Tech / global stylesheet
   ============================================================ */

:root {
  --navy-950: #081524;
  --navy-900: #0b1d31;
  --navy-800: #112a44;
  --navy-700: #16344f;
  --accent: #1c8f6e;
  --accent-strong: #157a5d;
  --accent-soft: #e3f4ee;
  --ink: #14263a;
  --body: #3c4f63;
  --muted: #67788c;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --line: #dfe6ee;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(11, 29, 49, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 29, 49, 0.10);
  --max-width: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); color: #fff; }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost:hover { border-color: #fff; color: #fff; }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-strong); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand .mark { width: 30px; height: 30px; flex: none; }
.brand span em { font-style: normal; color: var(--accent-strong); }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  color: var(--body);
  font-weight: 500;
  font-size: 15.5px;
}
.main-nav a:hover { color: var(--ink); text-decoration: none; }
.main-nav a.active { color: var(--accent-strong); font-weight: 600; }
.main-nav a.btn-primary { padding: 10px 20px; color: #fff; }
.main-nav a.btn-primary:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Hero (dark) ---------- */

.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(28, 143, 110, 0.28), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: #d7e1ec;
  padding: 96px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero .eyebrow { color: #4fc9a4; }

.hero h1 {
  color: #fff;
  font-size: clamp(34px, 4.6vw, 52px);
  margin-bottom: 20px;
}

.hero .lead {
  font-size: 18.5px;
  line-height: 1.7;
  color: #b7c5d4;
  max-width: 560px;
  margin-bottom: 32px;
}

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

/* Capability panel in hero */
.hero-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 26px;
}
.hero-panel h3 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.chip-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  font-size: 13.5px;
  font-weight: 500;
  color: #cfe8de;
  background: rgba(28, 143, 110, 0.16);
  border: 1px solid rgba(79, 201, 164, 0.35);
  border-radius: 999px;
  padding: 6px 13px;
}

/* ---------- Page hero (light, interior pages) ---------- */

.page-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 60px;
}
.page-hero h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 14px; }
.page-hero .lead { font-size: 18px; max-width: 720px; color: var(--body); }

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 14px; }
.section-head p { font-size: 17.5px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Stats band ---------- */

.stats-band { background: var(--navy-900); padding: 52px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat h3 { color: #fff; font-size: 34px; margin-bottom: 6px; letter-spacing: -0.02em; }
.stat p { color: #97a8ba; font-size: 14.5px; line-height: 1.5; }

/* ---------- Cards ---------- */

.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: #cdd8e4;
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card h3 { font-size: 19.5px; margin-bottom: 10px; }
.card p { font-size: 15.5px; }
.card .card-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  font-size: 15px;
}

/* ---------- Feature rows (solutions page) ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.feature-row:last-of-type { border-bottom: none; }

.feature-row h2 { font-size: 27px; margin-bottom: 14px; }
.feature-row .icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-row p + p { margin-top: 14px; }

.check-list { list-style: none; margin-top: 8px; }
.check-list li {
  position: relative;
  padding: 9px 0 9px 34px;
  font-size: 15.5px;
  border-bottom: 1px solid var(--line);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23157a5d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.check-list strong { color: var(--ink); }

/* ---------- Process steps ---------- */

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { padding: 26px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
}
.step h3 { font-size: 17.5px; margin-bottom: 8px; }
.step p { font-size: 14.5px; }

/* ---------- Testimonials ---------- */

.quote-featured {
  background: var(--navy-900);
  border-radius: var(--radius);
  padding: 48px;
  color: #d7e1ec;
}
.quote-featured blockquote {
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.55;
  color: #fff;
  font-weight: 500;
  margin-bottom: 22px;
}
.quote-featured .who { color: #97a8ba; font-size: 15px; }
.quote-featured .who strong { color: #fff; display: block; font-size: 16px; }

.quote-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote-card .quote-mark { color: var(--accent); flex: none; }
.quote-card blockquote { font-size: 15.5px; color: var(--body); flex: 1; }
.quote-card .who { font-size: 14px; color: var(--muted); }
.quote-card .who strong { display: block; color: var(--ink); font-size: 15px; }

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(700px 300px at 15% 120%, rgba(28, 143, 110, 0.3), transparent 60%),
    var(--navy-900);
  padding: 76px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
.cta-band p { color: #b7c5d4; font-size: 17.5px; max-width: 620px; margin: 0 auto 30px; }

/* ---------- Leadership strip ---------- */

.leader-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.cred-list { list-style: none; }
.cred-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.cred-list li:last-child { border-bottom: none; }
.cred-list .dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
}
.cred-list strong { color: var(--ink); }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(28, 143, 110, 0.15);
}
.field textarea { resize: vertical; min-height: 130px; }

.form-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }

.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 14.5px;
  font-weight: 500;
}
.form-status.visible { display: block; }

.info-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.info-card h3 { font-size: 19px; margin-bottom: 6px; }
.info-card > p { font-size: 15px; margin-bottom: 22px; }

.info-list { list-style: none; }
.info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:last-child { border-bottom: none; }
.info-list .icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-list .label { font-size: 13px; color: var(--muted); }
.info-list .value { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.info-list .value a { color: var(--ink); }
.info-list .value a:hover { color: var(--accent-strong); }

/* ---------- FAQ ---------- */

.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.faq-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.faq-item h3 { font-size: 16.5px; margin-bottom: 8px; }
.faq-item p { font-size: 14.5px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-950);
  color: #97a8ba;
  padding: 64px 0 32px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand span em { color: #4fc9a4; }
.footer-tagline { max-width: 280px; line-height: 1.6; }
.site-footer h4 {
  color: #fff;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #97a8ba; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 13.5px;
  color: #67788c;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-grid, .leader-strip, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 64px; }
  .stats-grid, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-3, .steps-grid, .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .card-grid, .card-grid.cols-3, .steps-grid, .faq-grid,
  .stats-grid, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .quote-featured { padding: 32px; }

  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 20px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav .btn { margin-top: 14px; text-align: center; }
}
