/* Fabeny Media — partners.fabenyconsult.com
   Palette pulled from the Fabeny Consult logo (orange mark, blue accent). */

:root {
  --ink: #1a2233;
  --muted: #5d6679;
  --border: #e7e9ee;
  --bg: #ffffff;
  --bg-soft: #f7f8fb;

  --orange: #e64a19;
  --orange-dark: #bd3a11;
  --orange-soft: #fdece3;

  --blue: #1e6fb0;
  --blue-dark: #164f80;
  --blue-soft: #e8f1f9;

  --navy: #12233b;
  --max: 1120px;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(18, 35, 59, 0.04), 0 12px 32px -16px rgba(18, 35, 59, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* Header */
header.site {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  z-index: 50;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 34px; width: auto; }
.brand-divider { width: 1px; height: 22px; background: var(--border); }
.brand-suffix {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-suffix span { color: var(--orange); }

nav.main { display: flex; gap: 30px; align-items: center; }
nav.main a { font-size: 0.92rem; color: var(--muted); font-weight: 500; transition: color .15s; }
nav.main a:hover, nav.main a.active { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px -6px rgba(230, 74, 25, 0.55);
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--orange-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn-outline:hover { border-color: var(--ink); background: var(--bg-soft); transform: none; }

/* Hero */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange-dark);
  background: var(--orange-soft);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 820px;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 34px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Dark hero (homepage + inner pages) ===== */
.hero-dark, .page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 520px at 10% -10%, rgba(230,74,25,0.30), transparent 60%),
    radial-gradient(820px 520px at 92% 110%, rgba(30,111,176,0.32), transparent 60%),
    linear-gradient(165deg, #0d1a2c 0%, #15283f 52%, #0d1a2c 100%);
}

.hero-dark { padding: 92px 0 100px; }
.page-hero { padding: 66px 0 62px; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }

.hero-dark::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 56px;
  align-items: center;
}

.hero-dark .eyebrow, .page-hero .eyebrow {
  color: #ffd2bf;
  background: rgba(230,74,25,0.16);
  border: 1px solid rgba(230,74,25,0.38);
}
.hero-dark h1, .page-hero h1 { color: #fff; max-width: 100%; }
.hero-dark h1 .accent, .page-hero h1 .accent { color: #ff7a45; }
.hero-dark .lede, .page-hero .lede { color: #a9b7ca; max-width: 720px; }
.hero-dark .lede { max-width: 100%; }

.hero-dark .btn-outline, .page-hero .btn-outline {
  color: #fff;
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.24);
}
.hero-dark .btn-outline:hover, .page-hero .btn-outline:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.45);
}

/* Stat row */
.stat-row {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.stat strong { display: block; font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.stat span { font-size: 0.82rem; color: #8fa0b8; }

/* Hero media */
/* margin-bottom mirrors the card's -34px overhang so align-items:center
   accounts for the card's visual height, not just the photo frame's. */
.hero-media { position: relative; align-self: center; margin-bottom: 34px; }

.hero-photo-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 44px 84px -28px rgba(0,0,0,0.72);
}
.hero-photo { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,26,44,0) 42%, rgba(13,26,44,0.5) 100%);
}

.visual-card {
  position: absolute;
  z-index: 2;
  left: -40px;
  bottom: -34px;
  width: 258px;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 28px 54px -16px rgba(0,0,0,0.62);
}

.visual-card-head { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.visual-card-head .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border); }
.visual-card-title { margin-left: 9px; font-size: 0.7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }

.visual-chart { width: 100%; height: auto; display: block; margin-bottom: 13px; }

.visual-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.chip {
  font-size: 0.64rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-dark { padding: 64px 0 88px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { margin-bottom: 26px; }
  .visual-card { left: 16px; bottom: -26px; width: 240px; padding: 16px; }
}
@media (max-width: 480px) {
  .stat-row { flex-wrap: wrap; gap: 28px; row-gap: 20px; }
  .visual-card { width: 180px; }
}

/* Feature strip (replaces plain trust bar) */
.feature-strip-section { border-bottom: 1px solid var(--border); }
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
.feature-item { background: var(--bg); padding: 30px 26px; }
.feature-item .icon-box { margin-bottom: 16px; }
.feature-item h4 { margin: 0 0 6px; font-size: 0.98rem; }
.feature-item p { margin: 0; font-size: 0.86rem; color: var(--muted); }

@media (max-width: 800px) {
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .feature-strip { grid-template-columns: 1fr; }
}

/* Vertical strip (homepage preview) */
.vertical-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}
.vertical-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 24px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.vertical-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.vertical-chip .icon-box { margin-bottom: 0; }
.vertical-chip span { font-size: 0.85rem; font-weight: 600; }

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
}
.section-head-row .section-lede { margin-bottom: 0; }
.link-arrow { font-weight: 600; font-size: 0.92rem; color: var(--orange-dark); white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }

.fact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.fact-row:last-child { border-bottom: none; }
.fact-row svg { width: 18px; height: 18px; color: var(--orange); flex: none; }
.fact-row div strong { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 700; }
.fact-row div span { font-size: 0.92rem; color: var(--ink); font-weight: 600; }
.card-accent { height: 4px; border-radius: 4px 4px 0 0; background: linear-gradient(90deg, var(--orange), var(--blue)); margin: -30px -30px 20px; }

/* ===== Process steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
  transition: transform .15s, box-shadow .15s;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step-num {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--orange);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem;
  margin-bottom: 16px;
  box-shadow: 0 8px 18px -6px rgba(230,74,25,0.6);
}
.step h3 { font-size: 1rem; margin: 0 0 8px; }
.step p { margin: 0; font-size: 0.9rem; color: var(--muted); }

@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--orange);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  flex: none;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 14px 0 0; color: var(--muted); font-size: 0.95rem; max-width: 700px; }

/* ===== Compliance list ===== */
.compliance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.compliance-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
}
.compliance-item svg { width: 20px; height: 20px; color: var(--orange); flex: none; margin-top: 2px; }
.compliance-item.dont svg { color: #c0392b; }
.compliance-item.dont { background: var(--bg-soft); }
.compliance-item h4 { margin: 0 0 5px; font-size: 0.95rem; }
.compliance-item p { margin: 0; font-size: 0.87rem; color: var(--muted); }

/* Sections */
section { padding: 76px 0; }
section.soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.01em; margin: 0 0 12px; }
.section-lede { color: var(--muted); max-width: 640px; margin: 0 0 40px; font-size: 1.02rem; }

.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--bg);
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}

.card h3 { margin: 0 0 10px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.icon-box {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.icon-box.blue { background: var(--blue-soft); color: var(--blue-dark); }
.icon-box svg { width: 22px; height: 22px; }

/* Trust strip */
.trust-row { display: flex; flex-direction: column; gap: 14px; }
.trust-item { font-size: 0.92rem; color: var(--muted); }
.trust-item strong { color: var(--ink); display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; }

/* Two column */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  nav.main { display: none; }
}

.list-check { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.list-check li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--orange); }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  margin: 0 24px;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(230,74,25,0.35), transparent 70%);
  top: -180px; right: -100px;
  border-radius: 50%;
}

.cta-band h2, .cta-band p { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b7c1d1; max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn { position: relative; }

/* Footer */
footer.site { border-top: 1px solid var(--border); padding: 52px 0 32px; margin-top: 64px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 28px; align-items: center; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--ink); }
.footer-note { color: var(--muted); font-size: 0.82rem; max-width: 720px; }

/* Legal pages */
.legal { padding: 60px 0 40px; }
.legal h1 { font-size: 1.8rem; }
.legal h2 { font-size: 1.15rem; margin-top: 36px; }
.legal p, .legal li { color: var(--muted); font-size: 0.96rem; }
.legal > p:first-child { margin-top: 0; }

/* Form */
.form-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; background: var(--bg-soft); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
}
.field textarea { min-height: 120px; resize: vertical; }

/* Anti-spam challenge */
.field.challenge {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
}
.field.challenge label { margin-bottom: 8px; font-size: 0.9rem; font-weight: 600; }
.field.challenge label strong { color: var(--orange-dark); }
.field.challenge input { max-width: 130px; }
.field-help { margin: 8px 0 0; font-size: 0.78rem; color: var(--muted); }

.form-error {
  background: #fdecea;
  border: 1px solid #e6a9a1;
  color: #8e2c20;
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0 0 20px;
}
.contact-meta { display: flex; flex-direction: column; gap: 20px; }
.contact-meta .card a { color: var(--orange-dark); font-weight: 600; }
