/* NOVA Resource Group — hand-written stylesheet (no framework, no webfonts) */

:root {
  --navy: #0a1c30;
  --navy-2: #0e2540;
  --navy-3: #12355c;
  --cyan: #00a9e0;
  --cyan-dark: #008fc0;
  --yellow: #ffd400;
  --ink: #152a3e;
  --muted: #52667a;
  --line: #dfe8f0;
  --bg: #f5f8fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(10, 28, 48, .08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--cyan-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h3 { font-size: 1.12rem; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 8px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand img { width: 168px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav > a:not(.btn) {
  color: var(--ink); font-weight: 500; font-size: .95rem; padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.main-nav > a:not(.btn):hover { color: var(--cyan-dark); text-decoration: none; }
.main-nav > a.active { color: var(--cyan-dark); border-bottom-color: var(--cyan); }
.nav-cta { margin-left: 6px; }
.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(--ink); border-radius: 2px; transition: .25s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 600; font-size: .98rem;
  padding: 11px 24px; border-radius: 10px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--cyan); color: var(--navy); box-shadow: 0 6px 18px rgba(0, 169, 224, .35); }
.btn-primary:hover { background: var(--cyan-dark); color: #fff; }
.btn-outline { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; border-radius: 12px; }
.btn-sm { padding: 8px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 480px at 78% -10%, rgba(0, 169, 224, .22), transparent 60%),
    radial-gradient(600px 400px at 10% 110%, rgba(0, 169, 224, .12), transparent 55%),
    linear-gradient(rgba(0, 169, 224, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 169, 224, .07) 1px, transparent 1px),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  background-size: auto, auto, 44px 44px, 44px 44px, auto;
  color: #fff;
  padding: 108px 0 96px;
}
.hero-inner { max-width: 860px; }
.hero-eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--cyan);
  border: 1px solid rgba(0, 169, 224, .4); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 22px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.text-cyan { color: var(--cyan); }
.hero-sub { font-size: 1.13rem; color: #b9c9d8; max-width: 720px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 100%); color: #d7e2ec; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head .section-lead { margin: 12px auto 0; }
.eyebrow {
  font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan-dark); margin-bottom: 10px;
}
.section-lead { font-size: 1.12rem; color: var(--muted); }
.section-dark .section-lead { color: #aebfd0; }

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

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow);
}
.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(150deg, rgba(0, 169, 224, .14), rgba(0, 169, 224, .05));
  color: var(--cyan-dark);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }

.trust-card { border-top: 3px solid var(--cyan); }
.service-card { display: flex; flex-direction: column; }
.service-card .card-link { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: .93rem; }

/* ---------- Steps (chain of custody) ---------- */
.steps {
  list-style: none; display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 22px; counter-reset: step;
}
.step {
  position: relative; padding-top: 58px;
}
.step::before {
  content: ""; position: absolute; top: 24px; left: 56px; right: -16px;
  border-top: 2px dashed rgba(0, 169, 224, .45);
}
.step:last-child::before { display: none; }
.step-num {
  position: absolute; top: 0; left: 0;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.15rem; color: var(--navy);
  background: var(--cyan); box-shadow: 0 0 0 6px rgba(0, 169, 224, .18);
}
.step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: #aebfd0; }

/* ---------- Split (value commitments) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.check-list { list-style: none; margin-top: 26px; }
.check-list li { position: relative; padding-left: 40px; margin-bottom: 22px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(0, 169, 224, .14) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23008fc0" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="m5 13 4 4L19 7"/></svg>') center/14px no-repeat;
}
.check-list strong { display: block; margin-bottom: 2px; }
.check-list p { color: var(--muted); font-size: .97rem; }
.split-visual svg { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); }

/* ---------- Forms ---------- */
.form-box {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 44px;
}
.form-box h2 { margin-bottom: 8px; }
.form-sub { color: var(--muted); margin-bottom: 24px; }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 16px; }
.form .req { color: #d7263d; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px;
  font: inherit; font-weight: 400; color: var(--ink);
  padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fbfdfe; transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 169, 224, .18);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form fieldset { border: 0; margin-bottom: 8px; }
.form legend {
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan-dark); margin-bottom: 14px; padding-top: 8px;
}
.dropzone {
  position: relative; border: 2px dashed #b8cbdc; border-radius: 12px;
  background: #f8fbfd; text-align: center; padding: 28px 20px; margin-bottom: 22px;
  cursor: pointer; transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.dragover { border-color: var(--cyan); background: rgba(0, 169, 224, .06); }
.dropzone svg { width: 30px; height: 30px; color: var(--cyan-dark); margin: 0 auto 8px; }
.dropzone-hint { font-size: .86rem; color: var(--muted); }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone-file { font-weight: 600; color: var(--cyan-dark); margin-top: 6px; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(0, 169, 224, .25), transparent 60%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; text-align: center; padding: 72px 0;
}
.cta-band h2 { color: #fff; max-width: 760px; margin: 0 auto 12px; }
.cta-band p { color: #aebfd0; margin-bottom: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 320px at 80% -20%, rgba(0, 169, 224, .22), transparent 60%),
    linear-gradient(rgba(0, 169, 224, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 169, 224, .06) 1px, transparent 1px),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  background-size: auto, 44px 44px, 44px 44px, auto;
  color: #fff; padding: 64px 0;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero-sub { font-size: 1.12rem; color: #b9c9d8; max-width: 720px; }

/* ---------- Services page ---------- */
.service-detail {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 44px; margin-bottom: 32px;
}
.service-detail > p { color: var(--muted); margin-bottom: 24px; }
.service-detail-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 18px; }
.service-index {
  font-size: 1.6rem; font-weight: 800; color: var(--cyan);
  background: rgba(0, 169, 224, .1); border-radius: 12px; padding: 6px 14px; line-height: 1.3;
}
.service-tagline { color: var(--cyan-dark); font-weight: 600; margin-top: 4px; }
.mini-panel { background: var(--bg); border-radius: 12px; padding: 24px; }
.mini-panel h3 { margin-bottom: 12px; font-size: 1rem; }
.bullet-list { list-style: none; }
.bullet-list li { position: relative; padding-left: 24px; margin-bottom: 9px; color: var(--muted); }
.bullet-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 10px; height: 10px; border-radius: 3px; background: var(--cyan);
}

/* ---------- About page ---------- */
.about-card h2 { margin-bottom: 12px; font-size: 1.4rem; }
.about-card p { margin-bottom: 12px; }
.about-card .bullet-list li { color: var(--muted); }
.stat-row { display: flex; gap: 20px; margin-top: 28px; }
.stat {
  flex: 1; text-align: center; background: var(--bg);
  border-radius: 12px; padding: 20px 10px; border-top: 3px solid var(--cyan);
}
.stat-num { display: block; font-size: 1.9rem; font-weight: 800; color: var(--cyan-dark); }
.stat-label { font-size: .86rem; color: var(--muted); }

/* ---------- Process page ---------- */
.process-list { max-width: 900px; margin: 56px auto 0; }
.process-item {
  position: relative; display: flex; gap: 28px; padding: 0 0 46px 0;
}
.process-item::before {
  content: ""; position: absolute; left: 27px; top: 60px; bottom: 0;
  border-left: 2px dashed #c3d4e2;
}
.process-item:last-child::before { display: none; }
.process-num {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; z-index: 1;
  font-weight: 800; font-size: 1.25rem; color: var(--navy);
  background: var(--cyan); box-shadow: 0 0 0 7px rgba(0, 169, 224, .15);
}
.process-body h2 { font-size: 1.35rem; margin-bottom: 4px; }
.process-tagline { color: var(--cyan-dark); font-weight: 600; margin-bottom: 10px; }
.process-body > p:not(.process-tagline) { color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tag {
  font-size: .86rem; font-weight: 600; color: var(--navy-3);
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px;
}

/* ---------- Sustainability page ---------- */
.future-panel {
  margin-top: 32px; background: var(--white); border: 1px solid var(--line);
  border-left: 4px solid var(--yellow); border-radius: 14px;
  box-shadow: var(--shadow); padding: 34px 38px;
}
.future-panel h2 { margin-bottom: 12px; }
.future-panel p { color: var(--muted); margin-bottom: 10px; }
.note { font-size: .9rem; color: var(--muted); font-style: italic; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 340px 1fr; gap: 28px; margin-top: 48px; align-items: start; }
.contact-info { position: sticky; top: 96px; }
.contact-info h2 { font-size: 1.3rem; margin-bottom: 10px; }
.contact-org { font-weight: 600; margin-bottom: 18px; }
.contact-list { list-style: none; margin-bottom: 18px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: var(--muted); }
.contact-list svg { flex: none; width: 20px; height: 20px; color: var(--cyan-dark); margin-top: 3px; }
.contact-forms { display: grid; gap: 28px; }

/* ---------- Thanks / 404 ---------- */
.thanks-box { padding: 60px 0; }
.thanks-box h1 { margin: 18px 0 12px; }
.thanks-box .cta-actions { margin-top: 28px; }
.thanks-icon {
  width: 76px; height: 76px; margin: 0 auto; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0, 169, 224, .12); color: var(--cyan-dark);
}
.thanks-icon svg { width: 38px; height: 38px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #9fb2c4; padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-logo { width: 170px; background: #fff; border-radius: 10px; padding: 8px 12px; margin-bottom: 18px; }
.footer-brand p { font-size: .93rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer-nav a { display: block; color: #9fb2c4; font-size: .93rem; margin-bottom: 10px; }
.footer-nav a:hover { color: var(--cyan); text-decoration: none; }
.footer-contact p { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; margin-bottom: 12px; }
.footer-contact svg { flex: none; width: 18px; height: 18px; color: var(--cyan); margin-top: 3px; }
.footer-contact a { color: #9fb2c4; }
.footer-contact a:hover { color: var(--cyan); }
.footer-legal { padding: 28px 0 32px; font-size: .82rem; line-height: 1.6; }
.footer-legal p { margin-bottom: 10px; }
.footer-legal strong { color: #c4d3e0; }
.footer-legal .copyright { margin-top: 16px; color: #7b8fa3; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px 22px; }
  .step::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }
}

@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .hero { padding: 76px 0 64px; }
  .form-box, .service-detail { padding: 30px 22px; }
  .grid-2, .grid-3, .grid-4, .split, .form-grid { grid-template-columns: 1fr; }
  .split { gap: 36px; }
  .steps { grid-template-columns: 1fr; }
  .stat-row { flex-direction: column; }
  .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: 0 18px 30px rgba(10, 28, 48, .12); padding: 8px 24px 20px;
  }
  .main-nav.open { display: flex; }
  .main-nav > a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 14px 0 0; }
  .nav-toggle { display: flex; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .process-item { gap: 18px; }
}
