/* ═══════════════════════════════════════════════════
   NEXQUAD SYSTEMS — Premium Technology Brand CSS V5
   Design Direction: Editorial-dark luxury. Deep forest
   black, sharp emerald, refined serif+sans pairing.
   Built for $3M ARR ambitions.
═══════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────── */
:root {
  /* Brand greens */
  --g900: #011c0a;
  --g800: #032d12;
  --g700: #064d1e;
  --g600: #0a7a30;
  --g500: #00A651;
  --g400: #1abf63;
  --g300: #4dd48a;
  --g200: #a8edbe;
  --g100: #e4f9ec;
  --g-soft: rgba(0,166,81,0.10);
  --g-glow: rgba(0,166,81,0.22);

  /* Dark surfaces */
  --bg:     #050908;
  --bg-2:   #080d0a;
  --surf-1: #0b130e;
  --surf-2: #0f1912;
  --surf-3: #141f17;
  --surf-4: #1a2a1e;

  /* Text */
  --text:   #eef4f0;
  --text-2: #c4d4cb;
  --muted:  #7a9684;
  --faint:  rgba(255,255,255,0.07);

  /* Lines */
  --line:   rgba(255,255,255,0.08);
  --line-g: rgba(0,166,81,0.20);

  /* Typography */
  --serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:   'Outfit', -apple-system, 'Helvetica Neue', sans-serif;

  /* Spacing & shape */
  --container: min(1280px, calc(100% - 48px));
  --radius:    4px;
  --radius-lg: 8px;
  --shadow:    0 24px 64px rgba(0,0,0,0.40);
  --shadow-sm: 0 4px 20px rgba(0,0,0,0.30);
}


.social-icon-link {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(0,166,81,0.24);
  background: rgba(255,255,255,0.02);
  color: var(--g400);
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}
.social-icon-link svg {
  width: 19px; height: 19px; display: block;
}
.social-icon-link:hover {
  transform: translateY(-1px);
  background: rgba(0,166,81,0.12);
  border-color: rgba(0,166,81,0.44);
  color: #ffffff;
}
.contact-social-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding-top: 24px;
}
.contact-social-icons {
  display: flex; gap: 12px; align-items: center;
}

/* ── RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--sans); }

/* ── BODY ───────────────────────────────────────── */
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle grain overlay */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9998;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 280px;
}

/* ── LAYOUT ─────────────────────────────────────── */
.container { width: var(--container); margin: 0 auto; }
.section    { padding: 100px 0; }
.section-sm { padding: 64px 0; }

/* ── NAVIGATION ─────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(5,9,8,0.88);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}

.nav {
  min-height: 80px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 16px; padding: 0; text-decoration: none; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 14px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(0,166,81,0.18);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.logo  { display: block; height: 86px; width: auto; object-fit: contain; background: transparent; }
.brand-text {
  display: flex; flex-direction: column; gap: 2px;
}
.brand-name {
  font-family: var(--serif); font-size: 1.18rem; font-weight: 700;
  color: #ffffff; line-height: 1;
}
.brand-tag {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.48);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-self: center;
}

.nav-links a {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--text-2);
  padding: 8px 14px; border-radius: var(--radius);
  position: relative; transition: color 0.2s, background 0.2s;
}

.nav-links a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 1.5px; background: var(--g500); transform: scaleX(0);
  transform-origin: left; transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
}

.nav-links a:hover       { color: var(--text);  background: var(--faint); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active       { color: var(--text); }

/* ── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; font-family: var(--sans); font-size: 0.87rem;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: var(--radius); transition: all 0.25s; cursor: pointer;
  border: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--g500); color: #fff;
  box-shadow: 0 8px 28px rgba(0,166,81,0.28);
}
.btn-primary:hover {
  background: var(--g400);
  box-shadow: 0 12px 36px rgba(0,166,81,0.40);
}

.btn-secondary {
  background: transparent; color: var(--text);
  border: 1px solid rgba(255,255,255,0.14);
}
.btn-secondary:hover {
  background: var(--faint);
  border-color: rgba(255,255,255,0.24);
}

.btn-ghost {
  background: transparent; color: var(--g400);
  border: 1px solid var(--line-g);
  padding: 11px 22px;
}
.btn-ghost:hover { background: var(--g-soft); border-color: var(--g500); }

.nav-btn { padding: 10px 20px; font-size: 0.8rem; }

/* ── TYPOGRAPHY UTILITIES ───────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--g400);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; display: block;
  width: 24px; height: 1.5px; background: var(--g500);
  flex-shrink: 0;
}

.eyebrow-heading { /* legacy compat */
  display: block; margin-bottom: 14px;
  color: var(--g400); text-transform: uppercase;
  letter-spacing: 0.22em; font-size: 0.72rem; font-weight: 700;
}

.display {
  font-family: var(--serif);
  font-size: clamp(50px, 6.5vw, 96px);
  line-height: 0.97; letter-spacing: -0.025em; font-weight: 700;
  color: var(--text);
}
.display em   { font-style: italic; color: var(--g400); }
.display span.accent { color: var(--g400); }

.headline {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08; letter-spacing: -0.02em; font-weight: 700;
  color: var(--text);
}
.headline em { font-style: italic; color: var(--g400); }

.h2-serif {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.12; letter-spacing: -0.015em; font-weight: 700;
}

.lead {
  font-size: 1.15rem; color: var(--text-2);
  max-width: 620px; line-height: 1.75; font-weight: 300;
}

.body-copy { font-size: 1rem; color: var(--muted); line-height: 1.78; }

/* ── HERO (HOME) ────────────────────────────────── */
.hero {
  position: relative; min-height: 94vh;
  display: flex; align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

/* Grid lattice background */
.hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    radial-gradient(ellipse at 18% 20%, rgba(0,166,81,0.10) 0%, transparent 40%),
    radial-gradient(ellipse at 85% 78%, rgba(0,166,81,0.08) 0%, transparent 35%);
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.hero-glow {
  position: absolute; bottom: -180px; right: 38%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,166,81,0.14) 0%, transparent 68%);
  pointer-events: none;
}

/* Particles */
.hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-particles span {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(0,166,81,0.7);
  box-shadow: 0 0 12px rgba(0,166,81,0.5);
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  from  { transform: translateY(60px) scale(0.7); opacity: 0; }
  10%, 88% { opacity: 0.9; }
  to    { transform: translateY(-110vh) scale(1.3); opacity: 0; }
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 48px; align-items: center;
  padding: 100px 0 90px;
}

.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
  padding: 8px 16px;
  border: 1px solid rgba(0,166,81,0.25);
  background: rgba(0,166,81,0.06);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--g300);
  border-radius: 2px;
}
.hero-kicker-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--g500);
  box-shadow: 0 0 8px var(--g500);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.5); opacity: 0.6; }
}

.hero-left .display   { margin-bottom: 24px; }
.hero-left .lead      { margin-bottom: 40px; }
.hero-actions         { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-metrics {
  display: flex; gap: 0;
  margin-top: 56px; padding-top: 40px;
  border-top: 1px solid var(--line);
}
.hero-metric {
  padding-right: 40px; margin-right: 40px;
  border-right: 1px solid var(--line);
  flex-shrink: 0;
}
.hero-metric:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.hero-metric-val {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 700;
  color: var(--g400); line-height: 1; display: block; margin-bottom: 5px;
}
.hero-metric-label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted);
}

/* Hero right card */
.hero-card {
  position: relative;
  background: linear-gradient(160deg, var(--surf-2), var(--surf-3));
  border: 1px solid var(--line);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute; right: -60px; bottom: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,166,81,0.16), transparent 66%);
  pointer-events: none;
}
.hero-card h3 {
  font-family: var(--serif); font-size: 1.65rem; font-weight: 700;
  line-height: 1.2; margin-bottom: 14px;
}
.hero-card > p { font-size: 0.97rem; color: var(--muted); margin-bottom: 22px; }

.checks { list-style: none; }
.checks li {
  padding: 13px 0 13px 28px; position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem; color: var(--text-2);
}
.checks li:last-child { border-bottom: none; }
.checks li::before {
  content: '';
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--g-soft); border: 1.5px solid var(--g500);
  display: flex; align-items: center; justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2300A651' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}

.hero-visual {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 18px;
}

/* ── SECTION HEADER ─────────────────────────────── */
.section-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; align-items: end;
  margin-bottom: 52px;
}
.section h2   { margin: 0; }
.section-copy { color: var(--muted); font-size: 1.02rem; max-width: 540px; line-height: 1.78; }

/* ── CAPABILITY CARDS ───────────────────────────── */
.cards { display: grid; gap: 1px; }
.cards.four  { grid-template-columns: repeat(4,1fr); }
.cards.three { grid-template-columns: repeat(3,1fr); }
.cards.two   { grid-template-columns: repeat(2,1fr); }

.card, .service-item, .sector-item, .quote-box {
  background: var(--surf-2);
  border: 1px solid var(--line);
  padding: 36px 32px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  position: relative; overflow: hidden;
}

/* Green left-bar reveal on hover */
.card::before, .service-item::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: var(--g500); transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.card:hover::before, .service-item:hover::before { transform: scaleY(1); }
.card:hover, .service-item:hover {
  background: var(--surf-3);
  border-color: var(--line-g);
}

.card-label {
  font-size: 0.70rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--g400); margin-bottom: 14px;
}

.card h3, .service-item h3, .sector-item h3, .quote-box h3 {
  font-family: var(--serif); font-size: 1.45rem; font-weight: 700;
  line-height: 1.2; margin-bottom: 12px;
}

.card p, .card li, .service-item p, .service-item li,
.sector-item p, .quote-box p {
  font-size: 0.96rem; color: var(--muted); line-height: 1.75;
}

.card ul, .service-item ul {
  list-style: none; margin-top: 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.card ul li, .service-item ul li {
  padding-left: 18px; position: relative;
}
.card ul li::before, .service-item ul li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--g500);
}

/* ── BAND (ACCENT SECTION) ──────────────────────── */
.band {
  background: linear-gradient(180deg, rgba(0,166,81,0.07), rgba(0,166,81,0.02));
  border-top: 1px solid rgba(0,166,81,0.12);
  border-bottom: 1px solid rgba(0,166,81,0.12);
}

/* ── SPLIT LAYOUT ───────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* ── METRICS ROW ────────────────────────────────── */
.metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin-top: 48px; }
.metric {
  background: var(--surf-1); border: 1px solid var(--line);
  padding: 32px 28px; text-align: center;
  transition: background 0.25s;
}
.metric:hover { background: var(--surf-2); }
.metric strong {
  display: block; margin-bottom: 6px;
  font-family: var(--serif); font-size: 2.4rem; font-weight: 700;
  color: var(--g400); line-height: 1;
}
.metric span { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* ── PAGE HERO ──────────────────────────────────── */
.page-hero {
  padding: 100px 0 60px;
  background:
    radial-gradient(ellipse at top right, rgba(0,166,81,0.10) 0%, transparent 40%),
    linear-gradient(180deg, var(--surf-1), var(--bg-2));
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 72px 72px;
}
.page-hero h1 {
  font-family: var(--serif); margin: 0 0 14px;
  font-size: clamp(40px, 5vw, 72px); font-weight: 700;
  line-height: 1.02; letter-spacing: -0.025em;
}
.page-hero p {
  margin: 0; max-width: 760px;
  color: var(--text-2); font-size: 1.08rem; font-weight: 300; line-height: 1.75;
}
.page-hero .eyebrow { margin-bottom: 20px; }

/* ── SERVICE ITEMS (services page) ─────────────── */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.service-item { padding: 48px 44px; }
.service-item .svc-num {
  font-family: var(--serif); font-size: 3.2rem; font-weight: 700;
  color: rgba(0,166,81,0.12); line-height: 1;
  margin-bottom: 20px; transition: color 0.3s;
}
.service-item:hover .svc-num { color: rgba(0,166,81,0.22); }

.svc-icon {
  width: 40px; height: 40px; margin-bottom: 22px;
  color: var(--g500);
}

.svc-delivers {
  list-style: none; margin-top: 20px; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 9px;
}
.svc-delivers li {
  font-size: 0.87rem; color: var(--text-2);
  display: flex; align-items: center; gap: 10px;
}
.svc-delivers li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--g500); flex-shrink: 0;
}
.svc-delivers {
  list-style: none;
  padding: 0;
  margin: 0;
}

.svc-delivers li {
  display: grid;
  grid-template-columns: 260px 1fr;
  column-gap: 24px;
  align-items: start;
  margin-bottom: 20px;
  position: relative;
  padding-left: 22px;
}

.svc-delivers li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #39ff6a;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 10px;
}

.service-title {
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}

.service-desc {
  line-height: 1.5;
  color: var(--muted-text);
}

/* ── PROCESS ────────────────────────────────────── */
.process { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; }
.process-step {
  background: var(--surf-2); border: 1px solid var(--line);
  padding: 36px 32px; position: relative; overflow: hidden;
  transition: background 0.3s;
}
.process-step:hover { background: var(--surf-3); }
.process-number {
  font-family: var(--serif); font-size: 3.8rem; font-weight: 700;
  color: rgba(0,166,81,0.12); line-height: 1; margin-bottom: 18px;
  display: block;
}
.process-step h3 {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 700;
  margin-bottom: 10px;
}
.process-step p { font-size: 0.94rem; color: var(--muted); line-height: 1.7; }

/* ── INSIGHTS GRID ──────────────────────────────── */
.insights-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; }
.insight-card {
  background: var(--surf-2); border: 1px solid var(--line);
  overflow: hidden; position: relative;
  transition: border-color 0.3s, background 0.3s;
  display: flex; flex-direction: column;
}
.insight-card:hover { background: var(--surf-3); border-color: var(--line-g); }

.insight-card-img {
  width: 100%; aspect-ratio: 16/9; overflow: hidden;
  background: var(--surf-3);
  border-bottom: 1px solid var(--line);
}
.insight-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.insight-card:hover .insight-card-img img { transform: scale(1.04); }

.insight-card-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.insight-card .card-label { margin-bottom: 10px; }
.insight-card h3 {
  font-family: var(--serif); font-size: 1.28rem; font-weight: 700;
  line-height: 1.3; margin-bottom: 12px;
}
.insight-card p {
  font-size: 0.93rem; color: var(--muted); line-height: 1.7;
  flex: 1; margin-bottom: 18px;
}
.insight-card .read-more {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--g400);
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
}
.insight-card .read-more::after { content: '→'; transition: transform 0.2s; }
.insight-card:hover .read-more::after { transform: translateX(4px); }

/* ── INDUSTRIES PAGE ────────────────────────────── */
.sector-item {
  display: flex; flex-direction: column; gap: 0;
  padding: 0; overflow: hidden; cursor: pointer;
}
.sector-item-img {
  width: 100%; aspect-ratio: 16/8; overflow: hidden;
  background: var(--surf-3);
}
.sector-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.sector-item:hover .sector-item-img img { transform: scale(1.05); }
.sector-item-body { padding: 32px 32px 36px; flex: 1; }
.sector-item h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 12px; }
.sector-item p  { font-size: 0.94rem; color: var(--muted); line-height: 1.72; }

.sector-item .sector-tag {
  display: inline-block; margin-bottom: 12px;
  font-size: 0.70rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--g400);
}

/* ── QUOTE / PRINCIPLE BOX ──────────────────────── */
.quote-box {
  background: linear-gradient(150deg, var(--g900), var(--g800), rgba(0,60,20,0.9));
  border: 1px solid rgba(0,166,81,0.20);
  padding: 48px 44px;
  position: relative; overflow: hidden;
}
.quote-box::before {
  content: '"';
  position: absolute; top: -10px; left: 28px;
  font-family: var(--serif); font-size: 180px; font-weight: 700;
  color: rgba(0,166,81,0.08); line-height: 1; pointer-events: none;
}
.quote-box blockquote {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 400;
  font-style: italic; line-height: 1.65; color: var(--text);
  margin-bottom: 18px; position: relative; z-index: 1;
}
.quote-box cite {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--g400); font-style: normal;
}

/* ── CTA BAND ───────────────────────────────────── */
.cta-wrap {
  background: linear-gradient(135deg, var(--surf-2), var(--surf-3), rgba(0,40,16,0.9));
  border: 1px solid var(--line-g);
  padding: 64px 56px;
  position: relative; overflow: hidden;
}
.cta-wrap::before {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,166,81,0.12), transparent 70%);
  pointer-events: none;
}
.cta-wrap h2 { font-family: var(--serif); }

/* ── ABOUT PAGE ─────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; }
.value-item {
  background: var(--surf-2); border: 1px solid var(--line);
  padding: 40px 36px;
}
.value-item .v-num {
  font-family: var(--serif); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; color: var(--g500); margin-bottom: 18px; display: block;
}
.value-item h4 {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 700;
  margin-bottom: 12px; line-height: 1.2;
}
.value-item p { font-size: 0.94rem; color: var(--muted); line-height: 1.72; }

/* ── CONTACT PAGE ───────────────────────────────── */
.contact-box, .calendly-box {
  background: var(--surf-2); border: 1px solid var(--line);
  padding: 44px;
}
.contact-box h3, .calendly-box h3 {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 700;
  margin-bottom: 16px;
}
.contact-box p, .calendly-box p { color: var(--muted); font-size: 0.97rem; margin-bottom: 12px; }
.contact-box a { color: var(--g400); }
.contact-box a:hover { color: var(--g300); text-decoration: underline; }

.contact-detail {
  display: flex; flex-direction: column; gap: 3px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.contact-detail:last-of-type { border-bottom: none; }
.cd-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.cd-val { font-size: 1.02rem; color: var(--text); }

.notice {
  margin-top: 18px; padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  font-size: 0.88rem; color: var(--muted); line-height: 1.6;
}

/* ── FOOTER ─────────────────────────────────────── */
footer {
  background: #030504;
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.footer-wrap {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.footer-brand {
  display: flex; align-items: center; gap: 14px;
  min-width: 220px;
}
.footer-brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; padding: 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(0,166,81,0.18);
}
.footer-logo {
  width: 100%; height: 100%; object-fit: contain;
}
.footer-brand-text {
  display: flex; flex-direction: column; gap: 4px;
}
.footer-brand-name {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 700;
  color: rgba(255,255,255,0.82); line-height: 1.1;
}
.footer-links {
  display: flex; gap: 24px; flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.28); transition: color 0.2s;
}
.footer-links a:hover { color: var(--g400); }
.footer-socials {
  display: flex; align-items: center; gap: 12px;
}
.footer-copy {
  font-size: 0.8rem; color: rgba(255,255,255,0.25);
}
.footer-tagline {
  font-size: 0.70rem; color: rgba(255,255,255,0.35);
  letter-spacing: 0.16em; text-transform: uppercase;
}

/* ── FLOATING CTA ───────────────────────────────── */
.floating-consult {
  position: fixed; right: 28px; bottom: 28px; z-index: 1200;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--g500); color: #fff;
  padding: 13px 20px; font-size: 0.80rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(0,166,81,0.36);
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
}
.floating-consult:hover {
  background: var(--g400);
  box-shadow: 0 16px 44px rgba(0,166,81,0.48);
  transform: translateY(-2px);
}

/* ── VISUAL SVG CONTAINERS ──────────────────────── */
.visual-cover {
  width: 100%; aspect-ratio: 16/10;
  object-fit: cover; display: block;
  background: var(--surf-3);
}
.visual-thumb { width: 100%; display: block; }

/* ── REVEAL ANIMATION ───────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.70s ease, transform 0.70s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── SCROLLING MARQUEE BELT ─────────────────────── */
.marquee-belt {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surf-1); padding: 18px 0;
}
.marquee-track {
  display: flex; gap: 0;
  animation: scroll-left 38s linear infinite;
  width: max-content;
}
.marquee-belt:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  padding: 0 44px; white-space: nowrap;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 14px;
  border-right: 1px solid var(--line);
}
.marquee-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--g500); flex-shrink: 0;
}

/* ── STAT STRIP ─────────────────────────────────── */
.stat-strip {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1px;
  background: var(--line);
}
.stat-item {
  background: var(--surf-1); padding: 40px 36px; text-align: center;
}
.stat-val {
  font-family: var(--serif); font-size: 2.8rem; font-weight: 700;
  color: var(--g400); display: block; line-height: 1; margin-bottom: 8px;
}
.stat-label {
  font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted);
}

/* ── ABOUT PRINCIPLE BOX ────────────────────────── */
.principle-box {
  background: linear-gradient(135deg, var(--g900), var(--g800));
  border: 1px solid rgba(0,166,81,0.22);
  padding: 40px 36px; margin-top: 0;
}
.principle-box p {
  font-family: var(--serif); font-size: 1.18rem; font-weight: 400;
  font-style: italic; line-height: 1.65; color: var(--text); margin: 0;
}
.principle-box cite {
  display: block; margin-top: 14px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--g400); font-style: normal;
}

/* ── ROI CALCULATOR ─────────────────────────────── */
.roi-section {
  background: linear-gradient(180deg, var(--surf-1), var(--bg));
  border: 1px solid var(--line);
  padding: 64px 56px; margin-top: 1px;
}
.roi-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.roi-left .headline { margin-bottom: 14px; }
.roi-left p { color: var(--muted); font-size: 0.98rem; line-height: 1.75; }

.roi-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); display: block; margin-bottom: 10px; }
.roi-input-row { position: relative; margin-bottom: 18px; }
.roi-prefix { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 1.1rem; pointer-events: none; }
.roi-input {
  width: 100%; padding: 17px 17px 17px 36px;
  background: var(--surf-3); border: 1px solid var(--line);
  color: var(--text); font-family: var(--serif); font-size: 1.3rem;
  outline: none; transition: border-color 0.25s;
}
.roi-input:focus { border-color: var(--g500); }
.roi-input::placeholder { color: rgba(255,255,255,0.2); }
.roi-output {
  background: var(--surf-3); border: 1px solid rgba(0,166,81,0.20);
  padding: 28px 28px;
}
.roi-output-label { font-size: 0.70rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--g400); margin-bottom: 8px; display: block; }
.roi-output-value { font-family: var(--serif); font-size: 3.2rem; font-weight: 700; color: var(--g400); line-height: 1; display: block; }
.roi-output-note  { font-size: 0.82rem; color: var(--muted); margin-top: 10px; }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-inner, .about-grid, .roi-inner { grid-template-columns: 1fr; }
  .section-header { grid-template-columns: 1fr; }
  .cards.four, .metrics, .stat-strip, .process { grid-template-columns: repeat(2,1fr); }
  .insights-grid, .values-grid { grid-template-columns: repeat(2,1fr); }
  .services-grid, .cards.two, .split { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav { flex-direction: column; align-items: flex-start; padding: 16px 0; gap: 12px; }
  .nav-links { gap: 4px; flex-wrap: wrap; }
  .logo { height: 56px; }
  .brand-mark { padding: 6px 10px; }
  .brand-text { display: none; }
  .cards.four, .cards.three, .cards.two, .split, .metrics,
  .process, .insights-grid, .values-grid, .services-grid,
  .stat-strip, .about-grid { grid-template-columns: 1fr; }
  .hero-metrics { flex-direction: column; gap: 24px; }
  .hero-metric { border-right: none; padding-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .hero-metric:last-child { border-bottom: none; }
  .roi-section, .cta-wrap { padding: 48px 28px; }
}

@media (max-width: 680px) {
  .floating-consult { left: 16px; right: 16px; bottom: 16px; justify-content: center; }
}

@media (max-width: 720px) {
  .contact-social-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-wrap {
    justify-content: center;
    text-align: center;
  }
  .footer-brand {
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  .nav {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: center;
  }

  .nav-btn {
    justify-self: center;
  }
}
