/* ============================================================
   INTELLIGENCE PARTNERS — DARK THEME
   Black + orange · techno headings · sharp edges
   ============================================================ */

:root {
  --bg: #0A0A0B;
  --bg-soft: #131315;
  --bg-card: #161618;
  --ink: #F2F1EF;           /* near-white text */
  --ink-soft: #A8A6A2;
  --ink-faint: #6E6C68;
  --line: rgba(242,241,239,0.10);
  --line-strong: rgba(242,241,239,0.20);
  --brand: #E8621A;         /* logo orange */
  --brand-dark: #C9500F;
  --brand-soft: rgba(232,98,26,0.12);  /* orange tint */
  --accent: #E8621A;
  --accent-gold: #E8621A;   /* alias so old rules pick up orange */
  --accent-soft: rgba(232,98,26,0.12);
  --green: #34C77B;

  --font: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-head: 'Saira', 'Inter', sans-serif;        /* techno display for headings */
  --font-logo: 'Saira', 'Inter', sans-serif;

  --max: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,0.4);
  --shadow-lg: 0 24px 60px rgba(232,98,26,0.18);
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(720px 540px at 85% -6%, rgba(232,98,26,0.16), transparent 60%),
    radial-gradient(560px 480px at -8% 6%, rgba(232,98,26,0.08), transparent 55%),
    radial-gradient(900px 700px at 50% 118%, rgba(232,98,26,0.07), transparent 60%),
    #0A0A0B;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* faint dot grid layer */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(242,241,239,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 55%);
}
h1, h2, h3, h4, .brand { font-family: var(--font-head); }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex; align-items: baseline; gap: 7px;
  color: var(--ink);
}
.brand::before {
  content: ''; width: 8px; height: 8px;
  background: var(--brand); border-radius: 1px;
  transform: rotate(45deg) translateY(-1px);
}
.brand small { font-weight: 500; font-size: 11px; color: var(--brand); letter-spacing: 0.22em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a {
  font-size: 13px; color: var(--ink-soft);
  transition: color 160ms;
}
.nav-links > a:hover, .nav-links > a.active { color: var(--brand); }
.lang-toggle { display: flex; border: 1px solid var(--line-strong); border-radius: 100px; overflow: hidden; }
.lang-toggle button { font-size: 11px; padding: 5px 11px; color: var(--ink-faint); }
.lang-toggle button.on { background: var(--brand); color: #fff; }
.cta-pill {
  font-size: 14px; font-weight: 600; padding: 11px 22px;
  background: var(--brand); color: #fff;
  border-radius: 100px;
  transition: all 180ms; box-shadow: 0 6px 20px rgba(232,98,26,0.35);
}
.cta-pill:hover { background: var(--brand-dark); transform: translateY(-1px); }

/* ===== Hero ===== */
.hero {
  padding: clamp(56px, 8vw, 110px) 0 clamp(56px, 6vw, 90px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-fox {
  position: absolute;
  top: 50%;
  right: -4%;
  transform: translateY(-50%);
  width: min(620px, 48vw);
  height: auto;
  z-index: 1;
  opacity: 0.92;
  pointer-events: none;
  filter: drop-shadow(0 0 80px rgba(232,98,26,0.35));
  /* fade the left edge so it blends behind the headline */
  -webkit-mask-image: linear-gradient(to left, #000 55%, transparent 92%);
  mask-image: linear-gradient(to left, #000 55%, transparent 92%);
}
@media (max-width: 980px) {
  .hero-fox { opacity: 0.16; width: 90%; right: -10%; filter: none; }
}
/* Logo lockup in hero */
.hero-logo {
  margin-bottom: 44px;
}
.hero-logo-img {
  width: min(560px, 62vw);
  height: auto;
  display: block;
}
.brand-img {
  height: 30px;
  width: auto;
  display: block;
}
.badge {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
  padding: 8px 16px;
  background: var(--brand-soft); color: var(--brand);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  margin-bottom: 32px;
}
h1.hero-title {
  font-weight: 800;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-bottom: 28px;
}
h1.hero-title em { font-style: normal; color: var(--brand); }
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.btn-primary, .btn-ghost {
  font-size: 15px; font-weight: 600; padding: 16px 30px;
  border-radius: 100px;
  transition: all 180ms; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary { background: var(--brand); color: #fff; border: 1px solid var(--brand); box-shadow: 0 8px 24px rgba(232,98,26,0.30); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

/* hero stats */
.hero-stats { display: flex; gap: clamp(32px, 6vw, 80px); flex-wrap: wrap; }
.hstat { display: flex; flex-direction: column; }
.hstat .n {
  font-size: clamp(34px, 4.5vw, 54px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1; color: var(--ink);
}
.hstat .n .u { color: var(--brand); }
.hstat .l { font-size: 14px; color: var(--ink-faint); margin-top: 8px; }

/* ===== Section header ===== */
.sec { padding: clamp(60px, 8vw, 110px) 0; border-bottom: 1px solid var(--line); }
.sec-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 16px;
}
.sec-title {
  font-weight: 800; font-size: clamp(28px, 3.8vw, 44px);
  letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 16px; max-width: 760px;
}
.sec-intro { font-size: 17px; color: var(--ink-soft); max-width: 640px; margin-bottom: 56px; }

/* ===== Service cards ===== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 38px 32px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms;
  display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-ico {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: var(--brand);
}
.svc-ico svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; }
.svc-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 24px; flex: 1; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12px; font-weight: 500; padding: 6px 13px;
  background: var(--brand-soft); border: none;
  border-radius: 100px; color: var(--brand-dark);
}

/* ===== Process steps ===== */
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proc-step { position: relative; padding: 8px; }
.proc-num {
  font-size: 13px; font-weight: 700; color: #fff;
  background: var(--accent); width: 38px; height: 38px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.proc-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.proc-step p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.proc-arrow { position: absolute; top: 18px; right: -8px; color: var(--line-strong); font-size: 18px; }

/* ===== Reviews ===== */
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rev-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 8px; padding: 30px;
  display: flex; flex-direction: column;
}
.rev-stars { color: var(--accent-gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 18px; }
.rev-text { font-size: 14px; color: var(--ink); line-height: 1.7; margin-bottom: 24px; flex: 1; }
.rev-person { display: flex; align-items: center; gap: 12px; }
.rev-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.rev-name { font-size: 14px; font-weight: 700; }
.rev-role { font-size: 12px; color: var(--ink-faint); }
.rev-placeholder-note {
  margin-top: 36px; padding: 16px 20px;
  background: var(--accent-soft); border: 1px dashed #D9CBA3;
  border-radius: var(--radius); font-size: 13px; color: #7A6326;
}

/* ===== Contact ===== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-form { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--ink-soft); margin-bottom: 8px; }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 13px 15px;
  font-family: var(--font); font-size: 15px; color: var(--ink); outline: none;
  transition: border-color 160ms, box-shadow 160ms;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field textarea { resize: vertical; min-height: 110px; }
.contact-form button { width: 100%; justify-content: center; margin-top: 6px; }

/* ===== Footer ===== */
.foot { background: #060607; color: var(--ink); padding: 72px 0 44px; border-top: 1px solid var(--line); }
.foot .brand { color: var(--ink); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.foot-brand p { font-size: 14px; color: var(--ink-soft); max-width: 280px; margin-top: 14px; }
.foot-col h4 { font-size: 13px; font-weight: 700; margin-bottom: 16px; color: var(--ink); }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 9px; }
.foot-col a { font-size: 14px; color: var(--ink-soft); }
.foot-col a:hover { color: var(--brand); }
.foot-bottom {
  border-top: 1px solid var(--line); padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--ink-faint);
}

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 80ms; } .reveal-d2 { transition-delay: 160ms; } .reveal-d3 { transition-delay: 240ms; }

/* ===== Lang visibility ===== */
[data-lang]:not(.show) { display: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links > a:not(.cta-pill) { display: none; }
  .svc-grid, .rev-grid { grid-template-columns: 1fr; }
  .proc-grid { grid-template-columns: 1fr 1fr; }
  .proc-arrow { display: none; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== Client grid (replaces reviews) ===== */
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.client-cell {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 26px;
  transition: border-color 200ms, transform 200ms, box-shadow 200ms;
}
.client-cell:hover { border-color: transparent; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.client-cell .cn { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.client-cell .cl { font-size: 12px; color: var(--ink-faint); }
@media (max-width: 900px){ .client-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   DIRECTORY PAGE
   ============================================================ */

/* Big coverage metric band */
.dir-metrics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  margin-top: 8px;
}
.dir-metric { background: var(--bg-card); padding: 36px 28px; text-align: center; }
.dir-metric .n {
  font-size: clamp(30px, 4vw, 46px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1;
}
.dir-metric .n .u { color: var(--accent-gold); }
.dir-metric .l {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint); margin-top: 12px;
}

/* Audience toggle tabs */
.dir-tabs { display: flex; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.dir-tab {
  font-size: 13px; padding: 10px 20px;
  border: 1px solid var(--line-strong); border-radius: 100px;
  color: var(--ink-soft); transition: all 160ms;
}
.dir-tab:hover { border-color: var(--ink); }
.dir-tab.on { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Pricing tiers */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 12px; padding: 36px 30px;
  display: flex; flex-direction: column; position: relative;
  transition: transform 220ms, box-shadow 220ms;
}
.tier:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(0,0,0,0.07); }
.tier.featured { border-color: var(--accent-gold); border-width: 2px; }
.tier-badge {
  position: absolute; top: -11px; left: 30px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--accent-gold); color: #fff;
  padding: 4px 12px; border-radius: 100px;
}
.tier-name { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; }
.tier-price { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.tier-price .cur { color: var(--accent-gold); }
.tier-per { font-size: 13px; color: var(--ink-faint); margin: 8px 0 28px; }
.tier ul { list-style: none; margin-bottom: 28px; flex: 1; }
.tier li {
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.5;
  padding: 9px 0 9px 26px; position: relative; border-bottom: 1px solid var(--line);
}
.tier li:last-child { border-bottom: none; }
.tier li::before {
  content: '✓'; position: absolute; left: 0; top: 9px;
  color: var(--accent-gold); font-weight: 700;
}
.tier li.plus::before { content: '+'; }
.tier .btn-primary, .tier .btn-ghost { justify-content: center; width: 100%; }
.tier-free .tier-price { color: var(--green); }

.free-note { font-size: 13px; color: var(--ink-faint); margin-bottom: 28px; }

/* Listing preview grid */
.listing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.listing-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 8px; padding: 22px; text-align: center;
  transition: border-color 180ms, transform 180ms;
}
.listing-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.listing-logo {
  width: 52px; height: 52px; border-radius: 10px; margin: 0 auto 14px;
  background: var(--accent-soft); color: var(--accent-gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px;
}
.listing-name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.listing-cat { font-size: 11px; color: var(--ink-faint); }
.listing-locked {
  filter: blur(4px); opacity: 0.5; user-select: none; pointer-events: none;
}
.listing-cta-overlay {
  text-align: center; margin-top: 32px;
}

/* Compare strip vs competitors */
.compare {
  background: var(--accent-soft); border: 1px solid #E6DCC2;
  border-radius: 10px; padding: 32px; margin-top: 8px;
}
.compare h3 { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.compare-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid #E6DCC2; font-size: 13.5px;
}
.compare-row:last-child { border-bottom: none; }
.compare-row.head { font-weight: 700; color: var(--ink-faint); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.compare-row .yes { color: var(--green); font-weight: 700; }
.compare-row .no { color: var(--ink-faint); }

@media (max-width: 900px) {
  .dir-metrics { grid-template-columns: 1fr 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .listing-grid { grid-template-columns: 1fr 1fr; }
}
