/* ==========================================================================
   FR SERVICE — Forensic Research
   Design system / global stylesheet
   ========================================================================== */

:root {
  /* Palette */
  --navy-900: #0a1628;
  --navy-800: #0f2038;
  --navy-700: #16304f;
  --navy-600: #1d3d63;
  --steel:    #25527f;
  --accent:   #2f80ed;   /* blue accent */
  --accent-2: #38b6a0;   /* teal */
  --gold:     #c9a24b;   /* forensic gold detail */
  --ink:      #16202e;
  --muted:    #5b6b7d;
  --line:     #e4e9f0;
  --bg:       #ffffff;
  --bg-soft:  #f5f8fc;
  --bg-soft2: #eef3fa;
  --white:    #ffffff;
  --ok:       #2ea66a;
  --warn:     #d8821b;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 8px rgba(13, 30, 54, .06);
  --shadow:    0 12px 36px rgba(13, 30, 54, .12);
  --shadow-lg: 0 26px 60px rgba(13, 30, 54, .20);

  --max: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 { line-height: 1.18; color: var(--navy-900); margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }

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

.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy-900); color: #d8e2f0; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--accent-2); }

.lead { font-size: 1.13rem; color: var(--muted); max-width: 62ch; }
.section--navy .lead { color: #aebed3; }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: .98rem;
  padding: 13px 24px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(47,128,237,.35); }
.btn--primary:hover { background: #1f6fd6; }
.btn--gold { background: var(--gold); color: #2a2210; box-shadow: 0 8px 20px rgba(201,162,75,.35); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-900); color: #cbd7e6;
  font-size: .82rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #cbd7e6; }
.topbar .tb-right { display: flex; gap: 18px; }
.topbar .badge { color: var(--gold); font-weight: 600; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-700), var(--accent));
  color: #fff; font-weight: 900; font-size: 1.05rem;
  display: grid; place-items: center; letter-spacing: -.04em;
  box-shadow: var(--shadow-sm);
}
.brand .bt { display: flex; flex-direction: column; line-height: 1.05; }
.brand .bt strong { color: var(--navy-900); font-size: 1.05rem; letter-spacing: .02em; }
.brand .bt span { color: var(--muted); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; }

.menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menu a {
  color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: 9px 13px; border-radius: 8px;
}
.menu a:hover { background: var(--bg-soft2); text-decoration: none; color: var(--navy-900); }
.menu a.active { color: var(--accent); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy-900); margin: 5px auto; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(47,128,237,.20), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #e7eefa;
  padding: 84px 0 92px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--accent-2); }
.hero p.lead { color: #b9c8de; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-trust { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust div { font-size: .85rem; color: #9fb1cb; }
.hero-trust strong { display: block; font-size: 1.7rem; color: #fff; font-weight: 800; }

.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px; padding: 26px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: #fff; margin-bottom: 16px; font-size: 1.1rem; }
.hero-card ul { list-style: none; margin: 0; padding: 0; }
.hero-card li { display: flex; gap: 11px; padding: 9px 0; color: #cdd9ea; font-size: .95rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.hero-card li:last-child { border: 0; }
.hero-card li .ck { color: var(--accent-2); font-weight: 900; }

/* ---------- Logos / trust strip ---------- */
.trust-strip { background: var(--navy-800); padding: 18px 0; }
.trust-strip .container { display: flex; align-items: center; justify-content: center; gap: 38px; flex-wrap: wrap; color: #8fa3bd; font-size: .85rem; font-weight: 600; letter-spacing: .03em; }
.trust-strip span { display: flex; align-items: center; gap: 8px; }
.trust-strip .dot { color: var(--accent-2); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe0f6; }
.card .ico {
  width: 50px; height: 50px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.4rem;
  background: var(--bg-soft2); color: var(--accent); margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 700; font-size: .9rem; }

/* feature list inside card */
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.tag { font-size: .76rem; font-weight: 600; color: var(--steel); background: var(--bg-soft2); padding: 4px 10px; border-radius: 999px; }

/* ---------- Audience ---------- */
.aud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.aud-item { background: var(--navy-800); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 24px; }
.aud-item .ico { font-size: 1.6rem; margin-bottom: 12px; }
.aud-item h3 { color: #fff; font-size: 1.08rem; }
.aud-item p { color: #a9bad2; font-size: .92rem; margin: 0; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .n {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 1.15rem;
  display: grid; place-items: center; margin-bottom: 14px;
  box-shadow: 0 8px 18px rgba(47,128,237,.3);
}
.step h3 { font-size: 1.08rem; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; text-align: center; }
.stat strong { display: block; font-size: 2.4rem; color: var(--accent-2); font-weight: 800; }
.stat span { color: #9fb1cb; font-size: .9rem; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.price.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); position: relative; }
.price .pill { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; letter-spacing: .06em; }
.price h3 { margin-bottom: 4px; }
.price .desc { color: var(--muted); font-size: .9rem; min-height: 40px; }
.price .amount { font-size: 2.3rem; font-weight: 800; color: var(--navy-900); margin: 12px 0 2px; }
.price .amount small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.price ul { list-style: none; margin: 18px 0 24px; padding: 0; }
.price li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; color: var(--ink); display: flex; gap: 9px; }
.price li .ck { color: var(--ok); font-weight: 900; }
.price .btn { margin-top: auto; justify-content: center; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.quote p { font-style: italic; color: var(--ink); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.quote .av { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-700); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote .who strong { display: block; font-size: .92rem; }
.quote .who span { color: var(--muted); font-size: .82rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--accent), var(--navy-700));
  color: #fff; border-radius: 20px; padding: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #dbe6f7; margin: 0; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 18px 22px; font-weight: 700; font-size: 1.02rem; color: var(--navy-900); cursor: pointer; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq-q .sign { color: var(--accent); font-size: 1.4rem; transition: transform .2s; }
.faq-item.open .faq-q .sign { transform: rotate(45deg); }
.faq-a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; color: var(--muted); }
.faq-item.open .faq-a { padding: 0 22px 20px; max-height: 480px; }

/* ---------- Forms ---------- */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy-900); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px;
  font-family: inherit; font-size: .96rem; color: var(--ink); background: var(--bg-soft);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid rgba(47,128,237,.35); border-color: var(--accent); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.check input { width: auto; margin-top: 4px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 8px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.contact-info .ci { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .ci .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft2); color: var(--accent); display: grid; place-items: center; font-size: 1.2rem; flex: none; }
.contact-info .ci strong { display: block; color: var(--navy-900); }
.contact-info .ci span { color: var(--muted); font-size: .92rem; }

/* ---------- Page hero (inner) ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 64px 0; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #b9c8de; max-width: 70ch; margin: 0; }
.breadcrumb { font-size: .82rem; color: #8aa0bd; margin-bottom: 14px; }
.breadcrumb a { color: #b9c8de; }

/* ---------- Prose ---------- */
.prose h2 { margin-top: 36px; }
.prose h3 { margin-top: 24px; }
.prose ul { padding-left: 20px; color: var(--muted); }
.prose li { margin-bottom: 8px; }
.prose .box { background: var(--bg-soft); border-left: 4px solid var(--accent); padding: 18px 22px; border-radius: 0 10px 10px 0; margin: 20px 0; }
.prose .box.warn { border-left-color: var(--warn); background: #fff8ef; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fb1cb; padding: 60px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: .04em; }
.site-footer a { color: #9fb1cb; display: block; padding: 5px 0; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-brand .brand .bt strong { color: #fff; }
.footer-brand p { margin-top: 16px; max-width: 34ch; color: #8499b4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #7387a3; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.disclaimer { background: var(--bg-soft); border: 1px dashed var(--line); border-radius: 12px; padding: 18px 22px; font-size: .86rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
  .grid-3, .grid-4, .aud, .steps, .stats, .pricing, .quotes { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu {
    position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px; gap: 2px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none;
  }
  .menu.open { display: flex; }
  .menu a { padding: 12px 14px; }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .topbar .tb-left { display: none; }
  .section { padding: 60px 0; }
  .grid-3, .grid-4, .aud, .steps, .stats, .pricing, .quotes, .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px; }
}
