/* ============================================================
   GRAVINOX SERVICES INC. — Marketing Site Stylesheet
   Deep graphite/navy base + electric cyan accent
   ============================================================ */

:root {
  --bg-0: #0b1622;
  --bg-1: #0f1f33;
  --bg-2: #12263f;
  --bg-3: #17304d;
  --surface: rgba(18, 38, 63, 0.55);
  --surface-solid: #12263f;
  --text: #eaf1f9;
  --muted: #9db0c6;
  --muted-2: #72859c;
  --accent: #22d3ee;
  --accent-bright: #67e8f9;
  --accent-soft: rgba(34, 211, 238, 0.12);
  --accent-glow: rgba(34, 211, 238, 0.35);
  --accent-ink: #04222b;
  --border: rgba(157, 176, 198, 0.16);
  --border-strong: rgba(157, 176, 198, 0.28);
  --shadow-lg: 0 30px 60px -22px rgba(0, 0, 0, 0.62);
  --shadow-md: 0 18px 44px -20px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 8px 24px -14px rgba(0, 0, 0, 0.5);
  --radius: 18px;
  --radius-sm: 12px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Manrope", var(--font-body);
  --font-brand: "Michroma", var(--font-display);
  --maxw: 1180px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--text);
}
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-bright); }
ul { margin: 0 0 1em; padding-left: 1.2em; }
::selection { background: var(--accent); color: var(--accent-ink); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-accent {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -10px var(--accent-glow);
}
.btn-accent:hover {
  color: var(--accent-ink);
  box-shadow: 0 14px 36px -10px var(--accent-glow);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  background: var(--accent-soft);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 22, 34, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-mark { width: 40px; height: 40px; flex: none; }
@media (max-width: 560px) { .brand-mark { width: 32px; height: 32px; } }
.brand-text {
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}
.brand-text span { color: var(--accent); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  position: relative;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 9px 14px;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav-link:hover { color: var(--text); background: rgba(157, 176, 198, 0.08); }
.nav-link.active { color: var(--text); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  cursor: pointer;
  padding: 0 11px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.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); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 96px;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(34, 211, 238, 0.16), transparent 60%),
    radial-gradient(700px 500px at 8% 18%, rgba(14, 165, 233, 0.14), transparent 55%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
}
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 0%, transparent 75%);
  animation: gridDrift 24s linear infinite;
}
@keyframes gridDrift {
  0% { background-position: 0 0; }
  100% { background-position: 0 44px; }
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  animation: orbFloat 14s ease-in-out infinite;
}
.hero-orb.o1 {
  width: 420px; height: 420px;
  right: -80px; top: -60px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.5), transparent 70%);
}
.hero-orb.o2 {
  width: 360px; height: 360px;
  left: -100px; bottom: -80px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.4), transparent 70%);
  animation-delay: -7s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 24px) scale(1.06); }
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(34, 211, 238, 0.28);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 3.9rem);
  margin-bottom: 20px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent-bright), var(--accent) 55%, #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero .lede {
  font-size: 1.16rem;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-metrics {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 46px;
}
.metric-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  backdrop-filter: blur(6px);
}
.metric-pill .num { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--accent-bright); }
.metric-pill .lbl { font-size: 0.82rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.section-head .sub { color: var(--muted); font-size: 1.06rem; }

/* ---------- Services grid ---------- */
.grid { display: grid; gap: 22px; }
.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 {
  position: relative;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(34, 211, 238, 0.22), 0 0 30px -8px rgba(34, 211, 238, 0.45);
}
.card:hover::before { opacity: 1; }
.card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 1px solid rgba(34, 211, 238, 0.24);
  margin-bottom: 20px;
  color: var(--accent);
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }
.card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent);
}
.card .more svg { width: 15px; height: 15px; transition: transform 0.18s ease; }
.card:hover .more svg { transform: translateX(4px); }

/* ---------- Value props ---------- */
.value {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
}
.value .icon { margin-bottom: 0; flex: none; }
.value h3 { font-size: 1.08rem; }
.value p { font-size: 0.93rem; }

/* ---------- Stats band ---------- */
.stats-band {
  background: linear-gradient(135deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; }
.stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.7rem);
  background: linear-gradient(120deg, var(--accent-bright), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stat .lbl { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(34, 211, 238, 0.22), transparent 60%),
    linear-gradient(135deg, var(--bg-2), var(--bg-0));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 60px 44px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 30px; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 64px;
  background:
    radial-gradient(800px 420px at 80% -10%, rgba(34, 211, 238, 0.15), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
  border-bottom: 1px solid var(--border);
}
.page-hero .hero-grid { -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 0%, transparent 80%); mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 0%, transparent 80%); }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted-2);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-bright); }
.breadcrumb .sep { margin: 0 8px; color: var(--muted-2); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); margin-bottom: 16px; }
.page-hero .lede { color: var(--muted); font-size: 1.1rem; max-width: 680px; margin-bottom: 0; }

/* ---------- Service detail sections ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 28px 0;
}
.service-block .card { height: 100%; }
.service-block h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.service-block ul { color: var(--muted); }
.service-block ul li { margin-bottom: 8px; }
.service-block ul li::marker { color: var(--accent); }

/* ---------- Open automation feature ---------- */
.feature-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.07), transparent 55%), var(--bg-1);
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 22px;
  padding: 48px 44px;
}
.feature-panel h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.feature-panel p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(34, 211, 238, 0.28);
  color: var(--accent-bright);
}
.feature-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.feature-visual .node {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}
.feature-visual .node svg { width: 30px; height: 30px; margin: 0 auto 10px; color: var(--accent); }
.feature-visual .node .t { font-family: var(--font-display); font-weight: 700; font-size: 0.86rem; }
.feature-visual .node .s { color: var(--muted-2); font-size: 0.74rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
}
.faq-q .chev {
  flex: none;
  width: 22px; height: 22px;
  color: var(--accent);
  transition: transform 0.25s ease;
}
.faq-item[open] .faq-q .chev { transform: rotate(180deg); }
.faq-a { padding: 0 22px 20px; color: var(--muted); font-size: 0.95rem; }
.faq-a p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--text);
}
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg-0);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 13px 16px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.form-note { color: var(--muted-2); font-size: 0.82rem; margin-top: 4px; }
.form-success {
  display: none;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.32);
  color: var(--accent-bright);
  font-weight: 600;
  font-size: 0.94rem;
}
.form-success.show { display: flex; align-items: center; gap: 10px; }

.form-error {
  display: none;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(244, 63, 94, 0.10);
  border: 1px solid rgba(244, 63, 94, 0.38);
  color: #ffd9df;
  font-size: 0.94rem;
}
.form-error.show { display: block; }

/* ---------- Contact layout ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.info-list li:last-child { border-bottom: none; }
.info-list .ic {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 1px solid rgba(34, 211, 238, 0.24);
  color: var(--accent);
}
.info-list .ic svg { width: 22px; height: 22px; }
.info-list .k { font-family: var(--font-display); font-weight: 700; font-size: 0.86rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.info-list .v { color: var(--text); font-size: 1.02rem; }
.info-list .v a { color: var(--text); }
.info-list .v a:hover { color: var(--accent-bright); }

/* ---------- Team ---------- */
.team-card { text-align: center; padding: 34px 22px; }
.team-card .avatar {
  width: 84px; height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), rgba(14, 165, 233, 0.18));
  border: 1px solid rgba(34, 211, 238, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
}
.team-card h3 { margin-bottom: 4px; font-size: 1.08rem; }
.team-card .role { color: var(--accent); font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.steps .step {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.steps .step .n {
  counter-increment: step;
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--accent-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
}
.steps .step .n::before { content: counter(step); }
.steps .step h4 { margin-bottom: 4px; font-size: 1rem; }
.steps .step p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-0), #081018);
  padding: 64px 0 0;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 48px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 320px; }
.footer-col h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a { color: var(--muted); font-size: 0.93rem; }
.footer-col ul a:hover { color: var(--accent-bright); }
.footer-contact li { color: var(--muted); font-size: 0.93rem; }
.footer-contact a { color: var(--muted); }
.footer-contact a:hover { color: var(--accent-bright); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-size: 0.85rem;
}
.footer-bottom .accent { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .service-block { grid-template-columns: 1fr; }
  .feature-panel { grid-template-columns: 1fr; padding: 36px 26px; }
  .contact-grid { grid-template-columns: 1fr; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(11, 22, 34, 0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 22px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-link { padding: 14px 16px; font-size: 1.05rem; }
  .nav-link.active::after { display: none; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: flex; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; gap: 16px; padding: 30px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 80px 0 70px; }
  .section { padding: 66px 0; }
  .cta-band { padding: 44px 24px; }
  .form-card { padding: 26px 20px; }
  .feature-visual { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .hero-metrics { gap: 10px; }
  .metric-pill { padding: 10px 14px; }
  .metric-pill .num { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   POLISH — scroll reveal, counters, hero fx, card sweep,
   master mark showcase, finishing touches
   ============================================================ */

/* ---------- Text balance (headings) ---------- */
h1, h2, h3 { text-wrap: balance; }
@supports not (text-wrap: balance) {
  h1, h2, h3 { max-width: 100%; }
}

/* ---------- Scroll reveal (class added by JS only) ---------- */
.reveal {
  opacity: 0;
  translate: 0 18px;
  transition:
    opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    translate 0.62s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

/* ---------- Card diagonal light sweep (::after) ---------- */
.card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(115deg,
    transparent 30%,
    rgba(103, 232, 249, 0.08) 43%,
    rgba(34, 211, 238, 0.20) 50%,
    rgba(103, 232, 249, 0.08) 57%,
    transparent 70%);
  transform: translateX(-135%);
  opacity: 0;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
  pointer-events: none;
}
.card:hover::after {
  transform: translateX(135%);
  opacity: 1;
}

/* ---------- Hero polish (index) ---------- */
.hero h1 .grad-sweep {
  background: linear-gradient(100deg, var(--accent-bright) 0%, var(--accent) 40%, #7dd3fc 60%, var(--accent-bright) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradSweep 6s ease-in-out infinite;
}
@keyframes gradSweep {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(ellipse 130% 100% at 50% 34%, transparent 56%, rgba(3, 8, 15, 0.5) 100%);
}
/* ---------- CTA band watermark (master mark) ---------- */
.cta-band { isolation: isolate; }
.cta-mark {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(300px, 42vw, 480px);
  height: clamp(300px, 42vw, 480px);
  object-fit: contain;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}
.cta-band > h2,
.cta-band > p,
.cta-band > .hero-ctas { position: relative; z-index: 1; }

/* ---------- About page hero — master mark showcase ---------- */
.page-hero--mark .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.page-hero-copy { position: relative; z-index: 2; max-width: 660px; min-width: 0; }
.hero-mark {
  position: relative;
  flex: none;
  width: 260px;
  height: 260px;
  pointer-events: none;
  z-index: 1;
}
.hero-mark-glow {
  position: absolute;
  inset: -22%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.42), rgba(34, 211, 238, 0.12) 46%, transparent 72%);
  filter: blur(30px);
  z-index: 0;
}
.hero-mark img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 900px) { .hero-mark { width: 210px; height: 210px; } }
@media (max-width: 700px) { .hero-mark { width: 150px; height: 150px; } }
@media (max-width: 620px) {
  .page-hero--mark .container { flex-direction: column; align-items: flex-start; gap: 22px; }
  .hero-mark { width: 150px; height: 150px; }
}

/* ---------- Hairline gradient rule between major sections ---------- */
.section + .section { position: relative; }
.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(34, 211, 238, 0.14) 22%, rgba(34, 211, 238, 0.24) 50%, rgba(34, 211, 238, 0.14) 78%, transparent 100%);
}

/* ---------- Focus-visible rings (keyboard nav) ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* ---------- Reduced motion: reveal + hero fx degrade ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; translate: 0 0 !important; transition: none !important; }
  .visual-img { animation: none !important; transform: none !important; }
  .visual-scan::after { animation: none !important; display: none; }
  .visual-sweep { transition: none !important; }
  .hero h1 .grad-sweep {
    animation: none;
    background: none;
    -webkit-text-fill-color: var(--accent);
    color: var(--accent);
  }
}

/* ============================================================
   EXTENSIONS — skip link, representative visuals,
   industries strip, consent note, privacy prose, print
   ============================================================ */

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 300;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 11px 20px;
  border-radius: 0 12px 12px 0;
}
.skip-link:focus {
  left: 0;
  color: var(--accent-ink);
}

/* ---------- Representative visuals ---------- */
.visual-card {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.visual-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: var(--shadow-md), 0 0 30px -8px rgba(34, 211, 238, 0.4);
}
.visual-figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--bg-0);
  border-bottom: 1px solid var(--border);
  isolation: isolate;
}
.visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  animation: workDrift 30s ease-in-out infinite alternate;
  will-change: transform;
}
/* subtle bottom scrim so overlay + caption edge stay readable */
.visual-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 12, 20, 0) 42%, rgba(6, 12, 20, 0.62) 100%);
}
/* HUD texture + travelling scan bar (feels like a live plant feed) */
.visual-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: screen;
  background: repeating-linear-gradient(to bottom, rgba(34, 211, 238, 0.07) 0 1px, transparent 1px 3px);
}
.visual-scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -30%;
  height: 26%;
  background: linear-gradient(to bottom, transparent, rgba(34, 211, 238, 0.2) 62%, transparent);
  animation: workScan 7s linear infinite;
}
/* light sweep on hover */
.visual-sweep {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(226, 250, 255, 0.18) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.visual-card:hover .visual-sweep { transform: translateX(130%); }
.visual-card:hover .visual-img { filter: saturate(1.08) brightness(1.05); }
@keyframes workDrift {
  from { transform: scale(1.01) translate3d(0, 0, 0); }
  to   { transform: scale(1.09) translate3d(-1.4%, -1.1%, 0); }
}
@keyframes workScan {
  0%   { top: -30%; }
  100% { top: 100%; }
}
.visual-caption { padding: 18px 20px 22px; }
.visual-caption h3 { font-size: 1.05rem; margin-bottom: 6px; }
.visual-caption p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ---------- Industries served strip ---------- */
.industries {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 30px;
}
.industries-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  margin: 0;
}
.industries-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.industry {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--muted);
  padding: 7px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.industry:hover { color: var(--accent-bright); border-color: rgba(34, 211, 238, 0.4); }

/* ---------- Form consent note ---------- */
.consent-note {
  font-size: 0.8rem;
  color: var(--muted-2);
  text-align: center;
  margin: 14px 0 0;
}

/* ---------- Privacy policy prose ---------- */
.policy { max-width: 820px; }
.policy .updated {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--accent-bright);
  background: var(--accent-soft);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 26px;
}
.policy h2 { font-size: 1.3rem; margin: 1.7em 0 0.55em; }
.policy h2:first-of-type { margin-top: 0.2em; }
.policy p, .policy li { color: var(--muted); }

/* ---------- Responsive additions ---------- */
@media (max-width: 620px) {
  .industries { padding: 20px 20px; }
}

/* ---------- Print ---------- */
@media print {
  :root {
    --bg-0: #fff; --bg-1: #fff; --bg-2: #fff; --bg-3: #fff;
    --surface: #fff; --surface-solid: #fff;
    --text: #000; --muted: #222; --muted-2: #555;
    --accent: #0b1622; --accent-bright: #0b1622; --accent-ink: #fff;
    --border: #ccc; --border-strong: #999;
  }
  *, *::before, *::after {
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
    animation: none !important;
    transition: none !important;
  }
  body { background: #fff !important; color: #000 !important; }
  .site-header, .site-footer, .skip-link, .nav-toggle,
  .hero-grid, .hero-orb, .hero-grain, .hero-vignette,
  .cta-mark, .hero-mark, .hero-mark-glow { display: none !important; }
  .hero, .page-hero { padding: 20px 0; }
  .container { max-width: 100%; padding: 0 8px; }
  .card, .visual-card, .faq-item, .feature-panel, .stats-band,
  .industries, .form-card, .metric-pill, .service-block {
    border: 1px solid #bbb !important;
    break-inside: avoid;
  }
  .card::before, .card::after { display: none !important; }
  h1, h2, h3, h4, h5, .stat .num, .metric-pill .num, .hero h1 .grad, .hero h1 .grad-sweep {
    color: #000 !important;
    background: none !important;
    -webkit-text-fill-color: #000 !important;
    -webkit-background-clip: border-box !important;
  }
  .eyebrow, .chip, .industry { color: #000 !important; background: none !important; border-color: #bbb !important; }
  a { color: #000 !important; }
  a[href^="http"]::after, a[href^="mailto"]::after, a[href^="tel"]::after {
    content: " (" attr(href) ")";
    font-size: 0.82em;
    color: #555;
    word-break: break-all;
  }
  details .faq-a { display: block !important; }
  details > summary { list-style: none; }
  details > summary .chev { display: none; }
  .reveal { opacity: 1 !important; translate: 0 0 !important; }
  .visual-scan, .visual-sweep, .visual-figure::after { display: none !important; }
  .visual-figure { aspect-ratio: auto; }
  .visual-img { position: static; animation: none !important; }
  .section, .section-tight { padding: 24px 0; }
}

/* service-area chips, centred */
.industries-list.center { justify-content: center; }
.footer-area { margin-top: 10px; font-size: 0.88rem; color: var(--muted); }

/* service-area chip groups */
.area-group { margin-top: 26px; text-align: center; }
.area-label { display: block; font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); opacity: 0.75; margin-bottom: 12px; }
.area-group .industries-list { margin-top: 0; }
