/* ZNO Solutions — site styles. Teal + charcoal, matching the Z mark. */

:root {
  --bg: #15181b;
  --bg-raise: #1c2024;
  --bg-card: #20252a;
  --line: #2c3238;
  --text: #e8ecee;
  --text-dim: #9aa5ab;
  --teal: #2a9e9f;
  --teal-bright: #46c2c3;
  --teal-deep: #17696a;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Instrument Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Bricolage Grotesque", "Instrument Sans", sans-serif; line-height: 1.15; }

a { color: var(--teal-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* --- header --- */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(21, 24, 27, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 700; letter-spacing: 0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand span em { font-style: normal; color: var(--teal-bright); }
.nav-links { display: flex; gap: 26px; font-size: 0.95rem; }
.nav-links a { color: var(--text-dim); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* --- hero --- */
.hero { position: relative; padding: 110px 0 90px; overflow: hidden; }
.hero::before {
  /* diagonal teal sweep echoing the Z mark */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 54%, rgba(42, 158, 159, 0.07) 54%, rgba(42, 158, 159, 0.07) 72%, transparent 72%),
    linear-gradient(115deg, transparent 76%, rgba(42, 158, 159, 0.045) 76%);
  pointer-events: none;
}
.hero .kicker {
  display: inline-block; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal-bright); border: 1px solid var(--teal-deep); border-radius: 999px;
  padding: 5px 14px; margin-bottom: 26px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; max-width: 17ch; }
.hero h1 .accent { color: var(--teal-bright); }
.hero p.lead { margin-top: 22px; font-size: 1.13rem; color: var(--text-dim); max-width: 54ch; }
.hero .cta-row { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 10px; font-weight: 600; font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #ffffff; box-shadow: 0 6px 22px rgba(42, 158, 159, 0.25); }
.btn-primary:hover { background: var(--teal-bright); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--teal); }

/* --- sections --- */
section { padding: 78px 0; }
section.alt { background: var(--bg-raise); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 44px; }
.section-head h2 { font-size: 1.9rem; }
.section-head p { color: var(--text-dim); margin-top: 10px; max-width: 60ch; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .grid3 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), transparent 70%);
  opacity: 0; transition: opacity 0.2s ease;
}
.card:hover::after { opacity: 1; }
.card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: 0.97rem; }
.card ul { margin: 14px 0 0 18px; color: var(--text-dim); font-size: 0.95rem; }
.card li { margin-bottom: 6px; }

/* --- sectors strip --- */
.sectors { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.sector-pill {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px;
  font-size: 0.92rem; color: var(--text-dim);
}
.sector-pill.lead-pill { border-color: var(--teal-deep); color: var(--teal-bright); }

/* --- clients --- */
.clients-row { display: flex; flex-wrap: wrap; gap: 22px 52px; }
.client { display: flex; flex-direction: column; gap: 3px; }
.client-name { font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: 1.22rem; }
.client-sub { color: var(--text-dim); font-size: 0.85rem; letter-spacing: 0.02em; }

/* --- ethos (Zero Noise) --- */
/* Marked with a small accent rule; the bordered band above provides the edge. */
.ethos { text-align: center; padding: 64px 0 84px; }
.ethos::before {
  content: ""; display: block; width: 54px; height: 3px; margin: 0 auto 36px;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
  border-radius: 2px;
}
.ethos-name {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 600;
}
.ethos-name strong { color: var(--teal-bright); font-weight: 700; }
.ethos-line { color: var(--text-dim); max-width: 62ch; margin: 18px auto 0; font-size: 1.05rem; }

/* --- contact --- */
.contact-box {
  background: linear-gradient(135deg, var(--bg-card), #1d2a2b);
  border: 1px solid var(--teal-deep); border-radius: var(--radius);
  padding: 44px 40px; text-align: center;
}
.contact-box h2 { font-size: 1.7rem; }
.contact-box p { color: var(--text-dim); margin: 12px auto 26px; max-width: 46ch; }

/* --- footer --- */
footer { border-top: 1px solid var(--line); padding: 34px 0 44px; font-size: 0.9rem; color: var(--text-dim); }
.foot { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { color: var(--text-dim); }
.foot-links a:hover { color: var(--text); }

/* --- legal pages --- */
.legal { padding: 70px 0 90px; max-width: 780px; }
.legal h1 { font-size: 2rem; margin-bottom: 6px; }
.legal .updated { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 38px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 12px; }
.legal p, .legal li { color: #c6ced2; font-size: 0.98rem; }
.legal ul { margin: 10px 0 10px 22px; }
.legal li { margin-bottom: 7px; }
.legal .note {
  background: var(--bg-card); border: 1px solid var(--line); border-left: 3px solid var(--teal);
  border-radius: 8px; padding: 16px 18px; margin: 18px 0;
}
