/* ═══════════════════════════════════════════════════════════
   Abualkomboz Home — scoped homepage styles (front page only)
   Monochrome editorial system: Readex Pro, sharp corners,
   1px borders, dark mode via html.dark
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: var(--abk-bg);
  --fg: var(--abk-fg);
  --muted: var(--abk-muted);
  --border: var(--abk-border);
  --surface: var(--abk-surface);
}
html.dark {
  --bg: var(--abk-bg);
  --fg: var(--abk-fg);
  --muted: var(--abk-muted);
  --border: var(--abk-border);
  --surface: var(--abk-surface);
}

/* ── page base ── */
/* Woodmart sets a min-width on body for desktop layouts — min-width beats
   max-width, so it must be zeroed or the RTL page renders shifted off-screen. */
html:has(body.abk-home-page) { overflow-x: hidden !important; min-width: 0 !important; max-width: 100% !important; }
body.abk-home-page {
  background: var(--bg) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  min-width: 0 !important;
  max-width: 100% !important;
  width: auto !important;
}
.abk-page {
  background: var(--bg);
  color: var(--fg);
  font-family: "Readex Pro", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  direction: rtl;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}
.abk-page *, .abk-page *::before, .abk-page *::after {
  box-sizing: border-box;
  border-radius: 0;
  font-family: inherit;
}
.abk-page h1, .abk-page h2, .abk-page h3, .abk-page p, .abk-page ul, .abk-page blockquote {
  margin: 0; padding: 0;
}
.abk-page a { color: inherit; text-decoration: none; }
.abk-page ::selection { background: var(--fg); color: var(--bg); }
.abk-page svg.abk-ic { width: 16px; height: 16px; flex-shrink: 0; }

/* hide woodmart/plugin floating leftovers on this page */
body.abk-home-page #chaty-widget,
body.abk-home-page .chaty-widget,
body.abk-home-page #wow-modal-id,
body.abk-home-page .scrollToTop,
body.abk-home-page .wd-back-to-top { display: none !important; }

/* ═══ Layout ═══ */
/* Header is now the real Woodmart header (see global.css) — this file
   only styles the custom homepage body sections below it. */
.abk-main { max-width: 1024px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .abk-main { padding: 0 24px; } }

.abk-section { padding: 48px 0; border-top: 1px solid var(--border); }
@media (min-width: 768px) { .abk-section { padding: 64px 0; } }
.abk-center { text-align: center; }
.abk-mt-2 { margin-top: 8px; }
.abk-mt-6 { margin-top: 24px; }
.abk-mt-8 { margin-top: 32px; }
.abk-br-md { display: none; }
@media (min-width: 768px) { .abk-br-md { display: inline; } }

/* type helpers */
.abk-kicker {
  font-size: .72rem; font-weight: 600; letter-spacing: .15em;
  color: var(--muted); margin-bottom: 12px;
}
.abk-h2 { font-size: 1.4rem; font-weight: 700; color: var(--fg); line-height: 1.4; }
@media (min-width: 768px) { .abk-h2 { font-size: 1.9rem; } }
.abk-h2-lg { font-size: 1.6rem; font-weight: 700; color: var(--fg); line-height: 1.45; margin-bottom: 16px; }
@media (min-width: 768px) { .abk-h2-lg { font-size: 2.6rem; } }
.abk-h3 { font-size: 1.05rem; font-weight: 700; color: var(--fg); margin-bottom: 8px; }
.abk-h3-sm { font-size: .95rem; font-weight: 700; color: var(--fg); margin-bottom: 8px; }
.abk-h-muted { color: var(--muted); }
.abk-p-fg { color: var(--fg); font-size: 1rem; }
.abk-p-lg { font-size: 1.15rem; }
.abk-p-bold { font-weight: 700; font-size: 1.1rem; }
.abk-p-muted { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.abk-p-muted-sm { color: var(--muted); font-size: .875rem; line-height: 1.7; }
.abk-sec-head { text-align: center !important; margin-bottom: 40px; }
.abk-sec-sub {
  color: var(--muted); font-size: .95rem; max-width: 640px;
  display: block;
  margin: 0 auto !important;
  margin-left: auto !important; margin-right: auto !important;
  line-height: 1.8; text-align: center !important;
}
/* the newsletter section keeps its rhythm — subtitle spacing above the form */
.abk-news .abk-sec-sub { margin-bottom: 24px !important; }

/* Woodmart targets bare `p` directly, which beats inherited centering —
   force-center every paragraph inside the centered blocks */
body.abk-home-page .abk-hero p,
body.abk-home-page .abk-sec-head p,
body.abk-home-page .abk-social-proof p,
body.abk-home-page .abk-stat p,
body.abk-home-page .abk-mini-stat p,
body.abk-home-page .abk-news-stat p,
body.abk-home-page .abk-pillar p,
body.abk-home-page .abk-pillar h3,
body.abk-home-page .abk-center p {
  text-align: center !important;
}
.abk-sec-row {
  display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px;
}
@media (min-width: 768px) { .abk-sec-row { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

.abk-link-fg, .abk-link-muted {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .875rem; font-weight: 500; flex-shrink: 0; transition: opacity .15s, color .15s;
}
.abk-link-fg { color: var(--fg); }
.abk-link-fg:hover { opacity: .6; }
.abk-link-muted { color: var(--muted); }
.abk-link-muted:hover { color: var(--fg); }

/* ═══ Hero ═══ */
.abk-hero { padding: 48px 0; text-align: center; }
@media (min-width: 768px) { .abk-hero { padding: 80px 0; } }
.abk-kicker-line { font-size: .8rem; font-weight: 500; color: var(--muted); margin-bottom: 24px; }
.abk-hero-title { margin-bottom: 32px; }
.abk-hero-title p {
  font-size: 1.55rem; font-weight: 700; line-height: 1.35; margin-bottom: 8px;
  word-break: break-word;
}
@media (min-width: 480px) { .abk-hero-title p { font-size: 1.9rem; } }
@media (min-width: 640px) { .abk-hero-title p { font-size: 2.4rem; } }
@media (min-width: 1024px) { .abk-hero-title p { font-size: 3.4rem; } }
.abk-h-fg { color: var(--fg); }
.abk-hero-title .abk-h-muted { color: var(--muted); }
.abk-hero-sub {
  font-size: 1rem; color: var(--muted); max-width: 620px;
  display: block;
  margin: 0 auto 48px !important;
  margin-left: auto !important; margin-right: auto !important;
  line-height: 1.8; text-align: center !important;
}
@media (min-width: 768px) { .abk-hero-sub { font-size: 1.15rem; } }
.abk-hero-btns { display: flex; flex-direction: column; gap: 16px; justify-content: center; align-items: center; }
@media (min-width: 640px) { .abk-hero-btns { flex-direction: row; } }

.abk-btn-solid {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--fg) !important; color: var(--bg) !important;
  padding: 12px 32px; font-size: .875rem; font-weight: 500;
  transition: opacity .2s; border: 1px solid var(--fg);
}
.abk-btn-solid:hover { opacity: .85; color: var(--bg) !important; }
.abk-btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--fg); color: var(--fg) !important;
  padding: 12px 32px; font-size: .875rem; font-weight: 500;
  transition: background .2s, color .2s; background: transparent;
}
.abk-btn-outline:hover { background: var(--fg); color: var(--bg) !important; }

/* ═══ Trust stats ═══ */
.abk-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  padding: 24px 0 48px; border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) { .abk-stats { grid-template-columns: repeat(4, 1fr); } }
.abk-stat { text-align: center; }
.abk-stat-ic { width: 18px !important; height: 18px !important; color: var(--muted); margin: 0 auto 8px; display: block; }
.abk-stat-num { font-size: 1.3rem; font-weight: 700; color: var(--fg); }
@media (min-width: 768px) { .abk-stat-num { font-size: 1.5rem; } }
.abk-stat-num-lg { font-size: 1.4rem; font-weight: 700; color: var(--fg); margin-bottom: 4px; }
@media (min-width: 768px) { .abk-stat-num-lg { font-size: 1.9rem; } }
.abk-stat-lbl { font-size: .75rem; color: var(--muted); }

/* ═══ Intro ═══ */
.abk-intro { padding: 48px 0 64px; max-width: 768px; margin: 0 auto; }
.abk-avatar {
  width: 172px; height: 172px; margin: 0 auto 32px;
  border-radius: 50% !important; overflow: hidden;
  border: 2px solid var(--border);
}
.abk-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 50% !important; display: block; }
.abk-intro-txt > * { margin-bottom: 24px; }
.abk-intro-txt > *:last-child { margin-bottom: 0; }
.abk-quote {
  display: block;
  border-right: 4px solid var(--fg);
  border-left: none; border-top: none; border-bottom: none;
  padding: 2px 28px 2px 0; margin: 32px 0;
  font-size: 1.05rem; font-weight: 700; font-style: italic;
  color: var(--fg); line-height: 1.9;
}

/* ═══ Methodology ═══ */
.abk-phases {
  display: grid; grid-template-columns: 1fr;
  border: 1px solid var(--border); margin-bottom: 40px;
}
@media (min-width: 640px) { .abk-phases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .abk-phases { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .abk-phases { grid-template-columns: repeat(5, 1fr); } }
.abk-phase {
  padding: 20px; display: flex; flex-direction: column;
  border-bottom: 1px solid var(--border);
  transition: background .2s ease;
}
@media (min-width: 1024px) { .abk-phase { border-bottom: none; border-left: 1px solid var(--border); } .abk-phase:last-child { border-left: none; } }
.abk-phase:hover { background: var(--surface); }
.abk-ghost-num {
  font-size: 1.9rem; font-weight: 700; color: var(--muted);
  font-variant-numeric: tabular-nums; line-height: 1; display: block; margin-bottom: 8px;
}
.abk-phase:hover .abk-ghost-num { color: var(--muted); }
.abk-phase-title { font-size: .85rem; font-weight: 700; color: var(--fg); margin-bottom: 2px; }
.abk-phase-sub { font-size: .75rem; font-weight: 500; color: var(--muted); margin-bottom: 12px; display: block; }
.abk-phase-desc { font-size: .78rem; color: var(--muted); line-height: 1.7; margin-bottom: 16px; flex-grow: 1; }
.abk-phase-list { list-style: none; }
.abk-phase-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; color: var(--fg); margin-bottom: 6px;
}
.abk-diamond { font-size: 9px; color: var(--fg); }

.abk-mini-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  padding: 24px 0 0; border-top: 1px solid var(--border);
}
@media (min-width: 768px) { .abk-mini-stats { grid-template-columns: repeat(4, 1fr); } }
.abk-mini-stat { text-align: center; }

/* ═══ Pillars ═══ */
.abk-pillars { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
@media (min-width: 768px) { .abk-pillars { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.abk-pillar {
  text-align: center; padding: 32px 24px;
  border: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.abk-pillar:hover { border-color: var(--border); background: var(--surface); }
.abk-icon-box {
  width: 48px; height: 48px; border: 1px solid var(--fg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.abk-icon-box svg { width: 20px !important; height: 20px !important; color: var(--fg); }

/* ═══ Case studies ═══ */
.abk-cases { display: grid; grid-template-columns: 1fr; border: 1px solid var(--border); }
@media (min-width: 768px) { .abk-cases { grid-template-columns: repeat(3, 1fr); } }
.abk-case {
  display: block; padding: 24px; transition: background .15s;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .abk-case { border-bottom: none; border-left: 1px solid var(--border); padding: 32px; }
  .abk-case:last-child { border-left: none; }
}
.abk-case:hover { background: var(--surface); }
.abk-case-metric { margin-bottom: 20px; }
.abk-case-num { font-size: 2.2rem; font-weight: 700; color: var(--fg); line-height: 1.2; }
.abk-case-co { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.abk-case-name { font-weight: 700; font-size: .875rem; color: var(--fg); }
.abk-read {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: .8rem; font-weight: 500; color: var(--fg);
}
.abk-read svg { width: 13px !important; height: 13px !important; }

/* ═══ Testimonials ═══ */
.abk-testis { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .abk-testis { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .abk-testis { grid-template-columns: repeat(3, 1fr); } }
.abk-testi {
  padding: 24px; border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.abk-testi:hover {
  transform: translateY(-4px);
  border-color: var(--fg);
  box-shadow: 0 8px 24px var(--abk-shadow);
}
.abk-stars { display: flex; gap: 2px; margin-bottom: 16px; }
.abk-star { width: 15px; height: 15px; color: var(--fg); }
.abk-testi-txt { font-size: .875rem; color: var(--muted); line-height: 1.75; flex-grow: 1; margin-bottom: 20px; }
.abk-testi-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--border); margin-top: auto;
}
.abk-testi-name { font-size: .875rem; font-weight: 600; color: var(--fg); }
.abk-badge {
  font-size: .72rem; padding: 4px 8px; font-weight: 500;
  border: 1px solid var(--border); color: var(--muted); flex-shrink: 0;
}

/* ═══ Articles ═══ */
.abk-articles { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .abk-articles { grid-template-columns: repeat(3, 1fr); } }
.abk-article {
  display: block; padding: 24px; border: 1px solid var(--border);
  transition: border-color .2s;
}
.abk-article:hover { border-color: var(--fg); }
.abk-article-title { font-size: 1rem; font-weight: 700; color: var(--fg); line-height: 1.5; margin-bottom: 12px; }

/* ═══ Newsletter ═══ */
.abk-news { padding-bottom: 80px; }
.abk-nf { max-width: 460px; margin: 20px auto 0; width: 100%; overflow: hidden; }
/* Ninja Forms ships fixed widths / table layouts that can blow out the page width */
.abk-nf, .abk-nf * { max-width: 100% !important; min-width: 0 !important; box-sizing: border-box; }
.abk-nf .nf-form-cont, .abk-nf .nf-form-layout, .abk-nf .nf-form-content,
.abk-nf form, .abk-nf .nf-field-container { width: 100% !important; margin: 0 auto; float: none !important; }

/* ninja form → monochrome sharp */
.abk-nf .nf-form-cont { text-align: right; }
.abk-nf .nf-form-title, .abk-nf h3 { display: none; }
.abk-nf .nf-field-label label { font-size: .8rem; color: var(--muted) !important; font-weight: 500; }
.abk-nf input[type="text"], .abk-nf input[type="email"], .abk-nf input[type="tel"] {
  width: 100%; padding: 13px 16px; font-size: .875rem;
  background: var(--bg) !important; color: var(--fg) !important;
  border: 1px solid var(--fg) !important; border-radius: 0 !important;
  outline: none; box-shadow: none !important; height: auto !important;
}
.abk-nf input::placeholder { color: var(--muted) !important; }
.abk-nf input[type="button"], .abk-nf input[type="submit"], .abk-nf button {
  width: 100%; background: var(--fg) !important; color: var(--bg) !important;
  border: 1px solid var(--fg) !important; border-radius: 0 !important;
  font-size: .875rem !important; font-weight: 700 !important;
  padding: 13px !important; cursor: pointer; transition: opacity .2s;
  height: auto !important; box-shadow: none !important;
}
.abk-nf input[type="button"]:hover, .abk-nf input[type="submit"]:hover { opacity: .85; }
.abk-nf .nf-field-container { margin-bottom: 12px; }
.abk-nf .nf-error-msg, .abk-nf .ninja-forms-req-symbol { color: var(--abk-danger) !important; font-size: .75rem; }
.abk-nf .nf-response-msg { color: var(--fg); font-size: .9rem; text-align: center; }

.abk-news-grid {
  display: grid; grid-template-columns: 1fr;
  border: 1px solid var(--border); margin: 48px 0;
}
@media (min-width: 640px) { .abk-news-grid { grid-template-columns: repeat(2, 1fr); } }
.abk-news-item {
  padding: 24px; display: flex; gap: 20px;
  border-bottom: 1px solid var(--border);
  transition: background .2s ease;
}
.abk-news-item:hover { background: var(--surface); }
@media (min-width: 640px) {
  .abk-news-item { padding: 32px; }
  .abk-news-item:nth-child(odd) { border-left: 1px solid var(--border); }
  .abk-news-item:nth-child(n+3) { border-bottom: none; }
}
@media (max-width: 639px) { .abk-news-item:last-child { border-bottom: none; } }

.abk-social-proof {
  border: 1px solid var(--border);
  padding: 32px 24px; text-align: center; margin-bottom: 40px;
}
@media (min-width: 768px) { .abk-social-proof { padding: 40px 64px; } }
.abk-proof-txt { font-size: 1.05rem; font-weight: 700; color: var(--fg); line-height: 1.8; margin-bottom: 16px; }
@media (min-width: 768px) { .abk-proof-txt { font-size: 1.25rem; } }

.abk-news-stats { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--border); }
@media (min-width: 768px) { .abk-news-stats { grid-template-columns: repeat(4, 1fr); } }
.abk-news-stat { padding: 28px 8px; text-align: center; border-left: 1px solid var(--border); }
.abk-news-stat:last-child { border-left: none; }
@media (max-width: 767px) { .abk-news-stat:nth-child(2n) { border-left: none; } .abk-news-stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }

/* ═══ Footer ═══ */
.abk-footer { border-top: 1px solid var(--border); margin-top: 64px; }
.abk-footer-in {
  max-width: 1024px; margin: 0 auto; padding: 28px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
@media (min-width: 768px) { .abk-footer-in { flex-direction: row; justify-content: space-between; padding: 32px 24px; } }
.abk-socials { display: flex; align-items: center; gap: 16px; }
.abk-socials a { color: var(--muted); transition: color .15s; }
.abk-socials a:hover { color: var(--fg); }
.abk-socials svg { width: 19px; height: 19px; }
.abk-legal { display: flex; gap: 16px; }
.abk-legal a { font-size: .75rem; color: var(--muted); transition: color .15s; }
.abk-legal a:hover { color: var(--fg); }

/* ═══ WhatsApp float ═══ */
.abk-wa {
  position: fixed; bottom: 40px; left: 24px; z-index: 1000;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 24px; background: var(--fg) !important; color: var(--bg) !important;
  border-radius: 50px !important; font-weight: 600; font-size: .9rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  transform: translateY(100px); opacity: 0;
  transition: transform .4s, opacity .4s, box-shadow .2s;
  animation: abk-glow 3s ease-in-out infinite;
}
.abk-wa.show { transform: translateY(0); opacity: 1; }
.abk-wa:hover { transform: translateY(-2px); color: var(--bg) !important; box-shadow: 0 6px 24px rgba(0,0,0,.2); animation: none; }
.abk-wa svg { width: 19px !important; height: 19px !important; color: var(--bg) !important; }
.abk-wa-txt, .abk-wa-txt-sm { color: var(--bg) !important; }
@keyframes abk-glow {
  0%,100% { box-shadow: 0 4px 20px rgba(0,0,0,.15); }
  50% { box-shadow: 0 4px 30px rgba(0,0,0,.25), 0 0 0 4px rgba(128,128,128,.1); }
}
.abk-wa-txt-sm { display: none; }
@media (max-width: 640px) {
  .abk-wa {
    width: 52px; height: 52px; padding: 0;
    left: 16px; bottom: 16px; gap: 0;
    justify-content: center;
  }
  .abk-wa-txt, .abk-wa-txt-sm { display: none; }
  .abk-wa svg { width: 22px !important; height: 22px !important; }
}

/* ═══ Reveal on scroll ═══ */
.abk-reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.abk-reveal.abk-active { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .abk-reveal { opacity: 1; transform: none; transition: none; }
}
/* no-JS safety: never leave sections invisible */
html.no-js .abk-reveal { opacity: 1; transform: none; }

/* admin bar offset */
body.admin-bar .abk-header { top: 32px; }

/* ═══════════════════════════════════════════════════════════
   v5 — original homepage + NEW hero + NEW pre-footer section
   ═══════════════════════════════════════════════════════════ */
html:has(body.abk-home-page) { scroll-behavior: smooth; }
.abk-page [id] { scroll-margin-top: 96px; }

/* break out of Woodmart's 1200px container so the hero / band can bleed full width */
body.abk-home-page .main-page-wrapper > .container,
body.abk-home-page .main-page-wrapper > .container-fluid { max-width: none !important; width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
body.abk-home-page .main-page-wrapper .content-layout-wrapper,
body.abk-home-page .main-page-wrapper .row { margin-left: 0 !important; margin-right: 0 !important; }
body.abk-home-page .main-page-wrapper .site-content { padding-left: 0 !important; padding-right: 0 !important; max-width: none !important; width: 100% !important; flex: 0 0 100%; }
body.abk-home-page .main-page-wrapper { padding-top: 0 !important; padding-bottom: 0 !important; margin-top: 0 !important; }
body.abk-home-page .wd-page-title, body.abk-home-page .page-title { display: none !important; }
.abk-bleed { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

/* ── Hero v2 ── */
.abk-hero2 { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--border); margin-bottom: 0; }
.abk-hero2-txt { padding: 40px 20px 32px; display: flex; flex-direction: column; justify-content: center; }
.abk-hero2-media { position: relative; height: 300px; order: 2; }
.abk-hero2-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 85% center; display: block;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
}
@media (min-width: 860px) {
  .abk-hero2 { grid-template-columns: 1.1fr .9fr; min-height: 540px; }
  .abk-hero2-txt { padding: 72px max(24px, calc((100vw - 1280px) / 2)) 72px 40px; order: 2; }
  .abk-hero2-media { height: auto; order: 1; }
  .abk-hero2-media img {
    object-position: 80% center;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%);
            mask-image: linear-gradient(to right, transparent 0, #000 30%);
  }
}
body.abk-home-page .abk-hero2 p, body.abk-home-page .abk-hero2 h1 { text-align: start !important; }
.abk-hero2-h1 { font-size: 2.1rem !important; font-weight: 700 !important; line-height: 1.35 !important; color: var(--fg) !important; margin: 0 0 14px !important; word-break: break-word; }
@media (min-width: 640px) { .abk-hero2-h1 { font-size: 2.6rem !important; } }
@media (min-width: 1024px) { .abk-hero2-h1 { font-size: 3.1rem !important; } }
@media (min-width: 1400px) { .abk-hero2-h1 { font-size: 3.5rem !important; } }
.abk-hero2-accent { font-size: 1.3rem; font-weight: 600; color: var(--muted); margin-bottom: 16px !important; }
@media (min-width: 768px) { .abk-hero2-accent { font-size: 1.6rem; } }
.abk-hero2-sub { font-size: 1rem; color: var(--muted); line-height: 1.9; max-width: 540px; margin-bottom: 28px !important; }
.abk-hero2-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.abk-hero2-btns a { flex: 0 1 auto; }
@media (max-width: 479px) { .abk-hero2-btns a { flex: 1 1 100%; } }

/* ── Pre-footer: entry paths + diagnostic form ── */
.abk-prefoot { background: var(--surface); border-top: 1px solid var(--border); margin-top: 48px; }
.abk-prefoot-in { max-width: 1280px; margin: 0 auto; padding: 56px 20px 72px; }
@media (min-width: 768px) { .abk-prefoot-in { padding: 72px 24px 88px; } }
.abk-prefoot-head { margin-bottom: 32px; }
body.abk-home-page .abk-prefoot-head p, body.abk-home-page .abk-prefoot-head h2 { text-align: start !important; }
.abk-prefoot-head .abk-sec-aside { max-width: 460px; }
.abk-paths { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .abk-paths { grid-template-columns: 1fr 1fr; gap: 20px; } }
.abk-path { padding: 30px; border: 1px solid var(--border); background: var(--bg); display: flex; flex-direction: column; align-items: flex-start; }
.abk-path-dark { background: #0d0d0d; border-color: #0d0d0d; }
body.abk-home-page .abk-path-kick { font-size: .78rem; font-weight: 600; color: var(--muted); margin-bottom: 8px !important; text-align: start !important; }
.abk-path-h { font-size: 1.6rem !important; font-weight: 700; color: var(--fg) !important; margin: 0 0 10px !important; text-align: start !important; }
body.abk-home-page .abk-path-p { font-size: .94rem; color: var(--muted); line-height: 1.8; margin-bottom: 16px !important; text-align: start !important; }
.abk-path-list { margin: 0 0 26px !important; padding: 0 !important; list-style: none; flex-grow: 1; }
.abk-path-list li { font-size: .9rem; color: var(--fg); margin-bottom: 6px; padding-right: 18px; position: relative; }
.abk-path-list li::before { content: "•"; position: absolute; right: 0; }
body.abk-home-page .abk-path-dark .abk-path-kick { color: #a3a3a3; }
body.abk-home-page .abk-path-dark .abk-path-h { color: #fff !important; }
body.abk-home-page .abk-path-dark .abk-path-p { color: #d4d4d4; }
.abk-path-dark .abk-path-list li { color: #fff; }
.abk-btn-light { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #fff !important; color: #0d0d0d !important; border: 1px solid #fff; padding: 12px 32px; font-size: .875rem; font-weight: 500; transition: opacity .2s; }
.abk-btn-light:hover { opacity: .85; color: #0d0d0d !important; }

.abk-diag { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 24px; align-items: start; }
@media (min-width: 900px) { .abk-diag { grid-template-columns: 1.3fr .7fr; gap: 56px; margin-top: 28px; } .abk-diag-copy { order: 2; } .abk-diag-form { order: 1; } }
.abk-diag-form { background: var(--bg); border: 1px solid var(--border); padding: 24px; }
@media (min-width: 768px) { .abk-diag-form { padding: 32px; } }
body.abk-home-page .abk-diag-copy p, body.abk-home-page .abk-diag-copy h2 { text-align: start !important; }
.abk-diag-copy .abk-h2 { font-size: 1.9rem; }
@media (min-width: 768px) { .abk-diag-copy .abk-h2 { font-size: 2.6rem; line-height: 1.3; } }
.abk-nf.abk-nf-wide { max-width: none; margin: 0; overflow: visible; }
.abk-nf-wide .nf-form-title, .abk-nf-wide .nf-form-fields-required { display: none; }
.abk-nf-wide nf-fields-wrap { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 640px) { .abk-nf-wide nf-fields-wrap { grid-template-columns: 1fr 1fr; } }
.abk-nf-wide nf-field:has(.textarea-container), .abk-nf-wide nf-field:has(.submit-container) { grid-column: 1 / -1; }
.abk-nf .nf-field-label label { color: var(--fg) !important; font-weight: 600; }
.abk-nf select, .abk-nf textarea { width: 100%; padding: 12px 16px; font-size: .875rem; background: var(--bg) !important; color: var(--fg) !important; border: 1px solid var(--fg) !important; border-radius: 0 !important; outline: none; box-shadow: none !important; }
.abk-nf select { height: auto !important; min-height: 48px; }
.abk-nf textarea { min-height: 120px; height: auto !important; }
.abk-nf-wide input[type="button"], .abk-nf-wide input[type="submit"] { width: auto !important; min-width: 200px; padding: 13px 32px !important; }
.abk-nf-wide .submit-container { text-align: start; }

/* ── Hero v2: cut-out portrait (transparent PNG-style), anchored to the hero floor ── */
.abk-hero2-media { overflow: hidden; }
.abk-hero2-media::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 62% at 50% 64%, var(--border) 0, transparent 100%); opacity: .75;
}
.abk-hero2-media img {
  position: absolute; inset: auto; bottom: 0; left: 50%; transform: translateX(-50%);
  width: auto; height: 94%; max-width: none; object-fit: contain;
  -webkit-mask-image: none; mask-image: none;
}
.abk-hero2-media { height: 400px; }
@media (min-width: 860px) {
  .abk-hero2 { grid-template-columns: 1.35fr .65fr; min-height: 580px; }
  .abk-hero2-media { height: auto; }
  .abk-hero2-media img { -webkit-mask-image: none; mask-image: none; }
}

/* hero v2 fixes: media is the FIRST (right) column in RTL, text the second */
.abk-hero2-note { font-size: .78rem; color: var(--muted) !important; margin-top: 16px !important; }
.abk-hero2-txt > * { max-width: 640px; }
@media (min-width: 860px) {
  .abk-hero2 { grid-template-columns: .7fr 1.3fr; }
  .abk-hero2-txt { padding: 72px 40px 72px 24px; }
}
@media (min-width: 1400px) { .abk-hero2 { grid-template-columns: .62fr 1.38fr; } }

.abk-hero2-media::before { background: radial-gradient(ellipse 48% 58% at 50% 62%, var(--border) 0, transparent 100%); opacity: .7; }

/* spacing fix: theme reset (.abk-page p {margin:0}) beat the utility margins in the new sections */
body.abk-home-page .abk-diag-copy .abk-kicker,
body.abk-home-page .abk-prefoot-head .abk-kicker { margin: 0 0 14px !important; }
body.abk-home-page .abk-diag-copy .abk-h2,
body.abk-home-page .abk-prefoot-head .abk-h2 { margin: 0 !important; line-height: 1.35 !important; }
body.abk-home-page .abk-diag-copy .abk-p-muted-sm { margin: 20px 0 0 !important; line-height: 1.9; }

/* quiz start panel (replaces the old inline form) */
.abk-quiz-start { display: flex; flex-direction: column; gap: 22px; }
.abk-quiz-meta { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); }
.abk-quiz-meta li { padding: 18px 8px; text-align: center; border-left: 1px solid var(--border); display: flex; flex-direction: column; }
.abk-quiz-meta li:last-child { border-left: 0; }
.abk-quiz-meta b { font-size: 2rem; line-height: 1.1; color: var(--fg); }
.abk-quiz-meta span { font-size: .8rem; color: var(--muted); }
.abk-quiz-axes { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.abk-quiz-axes li { padding: 6px 14px; border: 1px solid var(--border); font-size: .82rem; color: var(--fg); }
body.abk-home-page .abk-quiz-note { color: var(--muted); font-size: .92rem; text-align: start !important; margin: 0 !important; }
.abk-quiz-go { align-self: flex-start; padding: 14px 40px; }
@media (max-width: 480px) { .abk-quiz-go { align-self: stretch; } }

/* ═══ FAQ — last section of the homepage ═══ */
.abk-faq { background: var(--bg); border-top: 1px solid var(--border); }
.abk-faq-in { max-width: 1100px; margin: 0 auto; padding: 56px 20px 72px; display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) {
  .abk-faq-in { grid-template-columns: .8fr 1.35fr; gap: 72px; padding: 88px 24px 104px; }
  .abk-faq-copy { position: sticky; top: 110px; align-self: start; }
}
body.abk-home-page .abk-faq-copy p, body.abk-home-page .abk-faq-copy h2 { text-align: start !important; }
.abk-faq-copy .abk-h2 { font-size: 1.7rem; line-height: 1.4; margin: 0 0 14px !important; }
@media (min-width: 768px) { .abk-faq-copy .abk-h2 { font-size: 2.3rem; } }
body.abk-home-page .abk-faq-copy .abk-kicker { margin: 0 0 14px !important; }
body.abk-home-page .abk-faq-sub { color: var(--muted); font-size: .95rem; line-height: 1.9; margin: 0 0 24px !important; }
.abk-faq-wa { gap: 10px; }
.abk-faq-list { border-top: 1px solid var(--border); }
.abk-faq-item { border-bottom: 1px solid var(--border); }
.abk-faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 0; font-size: 1.05rem; font-weight: 700; line-height: 1.6; color: var(--fg);
  transition: color .15s;
}
.abk-faq-item summary::-webkit-details-marker { display: none; }
.abk-faq-item summary::marker { content: ""; }
.abk-faq-item summary::after {
  content: "+"; flex: 0 0 32px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); font-size: 1.25rem; font-weight: 400; line-height: 1; transition: background .2s, color .2s, border-color .2s;
}
.abk-faq-item summary:hover::after { border-color: var(--fg); }
.abk-faq-item[open] summary::after { content: "−"; background: var(--fg); color: var(--bg); border-color: var(--fg); }
.abk-faq-item summary:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.abk-faq-a { padding: 0 0 24px; max-width: 720px; }
.abk-faq-item[open] .abk-faq-a { animation: abk-faq-in .35s ease both; }
@keyframes abk-faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
body.abk-home-page .abk-faq-a p { color: var(--muted); font-size: .95rem; line-height: 2; text-align: start !important; margin: 0 !important; }
body.abk-home-page .abk-faq-a strong { color: var(--fg); font-weight: 600; }
body.abk-home-page .abk-faq-a a { color: var(--fg) !important; text-decoration: underline; text-underline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .abk-faq-item[open] .abk-faq-a { animation: none; } }

.abk-faq-item summary::after { color: var(--fg); }
.abk-faq-item[open] summary::after { color: var(--bg); }
