/* ═══════════════════════════════════════════════════════════════════════════
   Sodema v2: accessibility, brand mark, mobile navigation, offers, process,
   proof, forms. Loaded after styles.css on every page.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Accessibility primitives ── */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 3000;
  background: var(--color-heading);
  color: #FFFFFF !important;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--color-heading);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #FFFFFF;
}
.footer :focus-visible, .on-dark :focus-visible, .sticky-bar :focus-visible, .tool-cta-section :focus-visible {
  outline-color: #FFFFFF;
  box-shadow: 0 0 0 2px var(--color-heading);
}

main:focus, [tabindex="-1"]:focus { outline: none; box-shadow: none; }

/* Underline links inside running text so colour is not the only cue */
.prose a, .legal a, .form-note a, .faq-body a { text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Brand mark (inline logo) ── */
.logo { color: var(--color-heading); }
.logo-mark { width: 34px; height: 34px; flex-shrink: 0; }
.logo-word {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.14em;
  color: var(--color-heading);
  line-height: 1;
}
.footer .logo-word { color: #FFFFFF; }
.logo:hover { color: var(--color-heading); }

/* ── Header & mobile navigation ── */
.header-inner { gap: 1rem; }
.header .btn-sm { white-space: nowrap; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-heading);
  font-size: 1.2rem;
  cursor: pointer;
}
.nav-links a.nav-link[aria-current="page"] { color: var(--color-primary); }
.nav-links a.nav-link[aria-current="page"]::after { width: 100%; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-actions .btn-secondary { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 1.5rem 1.25rem;
  }
  .nav-links.is-open { display: flex; }
  .nav-links .nav-link { padding: 0.9rem 0; border-bottom: 1px solid var(--color-border-subtle); font-size: 1.05rem; }
  .nav-links .nav-link::after { display: none; }
  .nav-links .nav-cta-mobile { display: inline-flex; margin-top: 1rem; }
}
@media (min-width: 961px) { .nav-cta-mobile { display: none !important; } }
@media (max-width: 640px) {
  .header-actions { display: none; }
  .logo-word { font-size: 1.25rem; letter-spacing: 0.12em; }
  .logo-mark { width: 30px; height: 30px; }
}

/* ── Inner page hero & breadcrumb ── */
.page-hero {
  padding: clamp(3rem, 5vw, 5rem) 0 clamp(2.5rem, 4vw, 4rem);
  background: radial-gradient(circle at 85% 0%, var(--color-primary-subtle) 0%, var(--color-bg) 60%);
  border-bottom: 1px solid var(--color-border);
}
.page-hero h1 { font-size: clamp(2rem, 3.4vw + 0.6rem, 3.1rem); margin-bottom: 1rem; max-width: 22ch; }
.page-hero .lead { font-size: clamp(1.05rem, 1.2vw, 1.2rem); color: var(--color-text-muted); max-width: 62ch; margin-bottom: 1.75rem; }
.page-hero .hero-actions { margin-bottom: 0; }
.breadcrumb-nav { font-size: 0.88rem; color: var(--color-text-muted); margin-bottom: 1.25rem; }
.breadcrumb-nav ol { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumb-nav li + li::before { content: "/"; margin-right: 0.4rem; color: var(--color-border-hover); }
.breadcrumb-nav a { text-decoration: underline; text-underline-offset: 3px; }

.prose { max-width: 760px; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.5rem, 2vw + 0.6rem, 2rem); margin: 2.5rem 0 1rem; }
.prose h3 { margin: 2rem 0 0.75rem; }
.prose ul.checklist, .prose ul.bullets { margin: 1rem 0 1.5rem; }
ul.bullets { list-style: disc; padding-left: 1.4rem; }
ul.bullets li { margin-bottom: 0.5rem; }

ul.checklist li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.7rem;
}
ul.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.35em;
  width: 1.05rem; height: 1.05rem;
  border-radius: 50%;
  background: var(--color-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.6 2.6L12 5.5'/%3E%3C/svg%3E") center/70% no-repeat;
}

/* ── Hero v2 ── */
.hero-v2 .hero-lead { max-width: 58ch; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 0 2rem;
}
.hero-proof div {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
}
.hero-proof strong { display: block; font-family: var(--font-heading); font-size: 1.15rem; color: var(--color-heading); line-height: 1.25; }
.hero-proof span { font-size: 0.8rem; color: var(--color-text-muted); }
.hero-ladder {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xl);
}
.hero-ladder h2 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.hero-ladder > p { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 1.25rem; }
.ladder-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-heading);
}
.ladder-row:hover { color: var(--color-primary); }
.ladder-row span { font-weight: 600; font-size: 0.95rem; }
.ladder-row em { font-style: normal; font-weight: 800; font-size: 0.9rem; color: var(--color-primary); white-space: nowrap; }

/* ── Offer / pricing cards ── */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem; }
.offer-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex; flex-direction: column;
  position: relative;
}
.offer-card.featured { border-color: var(--color-primary); box-shadow: var(--shadow-lg); }
.offer-flag {
  position: absolute; top: -12px; left: 1.5rem;
  background: var(--color-heading); color: #fff;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem; border-radius: var(--radius-full);
}
.offer-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.offer-price { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--color-heading); line-height: 1.1; margin: 0.5rem 0 0.25rem; }
.offer-price small { font-size: 0.85rem; font-weight: 600; color: var(--color-text-muted); }
.offer-meta { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 1.25rem; }
.offer-card ul.checklist { font-size: 0.93rem; margin-bottom: 1.5rem; flex-grow: 1; }
.offer-card .btn { width: 100%; white-space: normal; text-align: center; }
.price-note { text-align: center; font-size: 0.85rem; color: var(--color-text-muted); margin-top: 1.5rem; }

/* ── Process ── */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; counter-reset: step; }
.process-step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  counter-increment: step;
}
.process-step::before {
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--color-heading); color: #fff;
  font-weight: 800; margin-bottom: 1rem;
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.92rem; color: var(--color-text-muted); }

/* ── Work / proof cards ── */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.work-card {
  display: flex; flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  color: var(--color-text);
  transition: var(--transition);
}
.work-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); transform: translateY(-3px); color: var(--color-text); }
.work-card .bento-tag { margin-bottom: 0.5rem; }
.work-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.work-card p { font-size: 0.9rem; color: var(--color-text-muted); flex-grow: 1; }
.work-card .service-link { margin-top: 1rem; }

/* ── Notices ── */
.notice {
  background: var(--color-primary-subtle);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1.25rem;
  font-size: 0.93rem;
  color: var(--color-heading);
}
.notice.warn { background: #FFFBEB; border-left-color: #B45309; }

/* ── Forms (accessible) ── */
.booking-form-panel .form-label, .form-panel .form-label, .wizard-container .form-label { color: var(--color-heading); font-size: 0.9rem; }
.form-input, select.form-input, textarea.form-input { border: 1px solid #8795A8; min-height: 44px; }
.form-input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-glow); }
.form-hint { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 0.3rem; }
.lead-magnet-form .form-hint, .on-dark .form-hint { color: #CBD5E1; }
.form-check { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.85rem; line-height: 1.5; margin: 1rem 0; color: inherit; }
.form-check input { width: 20px; height: 20px; margin-top: 0.15rem; flex-shrink: 0; accent-color: var(--color-primary); }
.lead-magnet-form .form-check { color: #E2E8F0; }
.lead-magnet-form .form-check a { color: #7DD3FC; text-decoration: underline; }
.form-note { font-size: 0.8rem; color: var(--color-text-muted); }
.hp-field { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); opacity: 0; pointer-events: none; }
.form-status { border-radius: var(--radius-sm); font-size: 0.92rem; }
.form-status:empty { display: none; }
.form-status--success { background: #ECFDF5; color: #065F46; padding: 0.85rem 1rem; border: 1px solid #A7F3D0; }
.form-status--error { background: #FEF2F2; color: #991B1B; padding: 0.85rem 1rem; border: 1px solid #FECACA; }
.form-status--info { background: var(--color-primary-subtle); color: var(--color-heading); padding: 0.85rem 1rem; border: 1px solid var(--color-border); }
.form-status a { text-decoration: underline; font-weight: 700; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.65; cursor: not-allowed; transform: none; }

/* Accessible wizard controls (native radios/checkboxes inside labels) */
fieldset.wizard-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.wizard-select-card, .wizard-pill-btn { position: relative; }
.wizard-select-card input, .wizard-pill-btn input {
  position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer;
}
.wizard-select-card:focus-within, .wizard-pill-btn:focus-within {
  outline: 3px solid var(--color-heading); outline-offset: 2px;
}
.wizard-select-card:has(input:checked), .wizard-pill-btn:has(input:checked) {
  background: var(--color-primary-subtle); border-color: var(--color-primary);
}
.wizard-select-card:has(input:checked) .wizard-checkbox { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.wizard-pill-btn { text-align: center; align-items: center; }
.wizard-progress { list-style: none; }
.wizard-legend { font-family: var(--font-heading); font-size: 1.45rem; font-weight: 700; color: var(--color-heading); text-align: center; width: 100%; margin-bottom: 0.4rem; }
.wizard-sub-legend { font-size: 0.95rem; font-weight: 600; color: var(--color-text-muted); text-align: center; width: 100%; margin: 1.25rem 0 0.75rem; }

/* FAQ with aria-expanded */
.faq-header[aria-expanded="true"] + .faq-body { display: block; }

/* ── Tool page call-to-action ── */
.tool-cta-section { background: var(--color-surface-dark); padding: 3.5rem 0; color: #E2E8F0; }
.tool-cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; }
.tool-cta-title { color: #FFFFFF; font-size: 1.6rem; margin-bottom: 0.5rem; }
.tool-cta-section p { color: #CBD5E1; }
.tool-cta-actions { display: flex; flex-direction: column; gap: 0.75rem; }
.tool-cta-actions .btn { white-space: normal; text-align: center; }
.tool-cta-actions .btn-secondary { background: transparent; color: #FFFFFF !important; border-color: #64748B; }
.tool-cta-actions .btn-secondary:hover { background: #1E293B; }
.tool-cta-note { font-size: 0.82rem; color: #CBD5E1 !important; margin-top: 0.25rem; }
@media (max-width: 800px) { .tool-cta-inner { grid-template-columns: 1fr; } }

/* ── Footer v2 ── */
.footer-legal { color: #CBD5E1; font-size: 0.8rem; margin-top: 0.75rem; max-width: 340px; }
.footer-bottom a { color: #CBD5E1; text-decoration: underline; }
.footer-link { color: #CBD5E1; }

/* ── Touch target size (WCAG 2.2 AA: at least 24px; aim for 32px+) ── */
.service-link, .footer-link { display: inline-flex; align-items: center; min-height: 32px; }
.footer-links { gap: 0.2rem; }
.breadcrumb-nav a { display: inline-block; min-height: 24px; }

/* ── Tool pages: prevent overflow on narrow screens, keep targets usable ── */
.tool-layout > *, .tool-panel, .panel, .input-panel, .output-panel, .setup-panel { min-width: 0; max-width: 100%; }
input, textarea, select { max-width: 100%; }
button, [role="button"] { min-height: 24px; min-width: 24px; }
.btn-delete, .btn-remove, .btn-del { min-width: 32px; min-height: 32px; }
.level-header h3, .quad-header h3 { color: inherit; }
.table-wrap:focus-visible { outline: 3px solid var(--color-heading); }

.sticky-bar ~ .footer { padding-bottom: 6rem; }

/* ── Utility ── */
.center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; align-items: start; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.tag-row span { background: var(--color-primary-light); color: var(--color-primary-dark); font-size: 0.8rem; font-weight: 700; padding: 0.3rem 0.8rem; border-radius: var(--radius-full); }
.table-wrap { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; font-size: 0.93rem; background: var(--color-surface); }
table.compare th, table.compare td { border: 1px solid var(--color-border); padding: 0.8rem 1rem; text-align: left; vertical-align: top; }
table.compare th { background: var(--color-bg); font-weight: 700; color: var(--color-heading); }

/* ── Dark-surface text fixes (AA) ── */
.trust-bar-label { color: var(--color-text-muted); }
.booking-info-panel .booking-perk-item { color: #E2E8F0; }
.comparison-card-sodema p, .lead-magnet-form p { color: #CBD5E1 !important; }

/* ── RTL (Arabic pages) ── */
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; line-height: 1.5; }
[dir="rtl"] ul.checklist li { padding-left: 0; padding-right: 1.9rem; }
[dir="rtl"] ul.checklist li::before { left: auto; right: 0; }
[dir="rtl"] .offer-flag { left: auto; right: 1.5rem; }
[dir="rtl"] .nav-toggle { margin-left: 0; margin-right: auto; }
[dir="rtl"] .service-link i, [dir="rtl"] .btn i.fa-arrow-right { transform: scaleX(-1); }
[dir="rtl"] .service-card-outcome { border-left: 0; border-right: 3px solid var(--color-primary); border-radius: var(--radius-xs) 0 0 var(--radius-xs); }
[dir="rtl"] .notice { border-left: 0; border-right: 4px solid var(--color-primary); border-radius: var(--radius-md) 0 0 var(--radius-md); }
[dir="rtl"] table.compare th, [dir="rtl"] table.compare td { text-align: right; }

/* ── Wizard card text (spans, valid inside labels) ── */
.wizard-card-info { display: block; }
.wizard-card-title { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 0.98rem; color: var(--color-heading); margin-bottom: 0.2rem; }
.wizard-card-text { display: block; font-size: 0.82rem; color: var(--color-text-muted); line-height: 1.4; }
.wizard-select-card .wizard-checkbox { margin-top: 0.15rem; }
.wizard-select-card:has(input:checked) .wizard-checkbox i { color: #fff; }
.wizard-container .wizard-step-desc { color: var(--color-text-muted); }

/* ── FAQ with headings + buttons ── */
.faq-card h3 { margin: 0; font-size: inherit; }
.faq-body[hidden] { display: none !important; }
.faq-header:hover { color: var(--color-primary); }

/* ── Sticky bar: hidden from keyboard and AT until visible ── */
.sticky-bar { visibility: hidden; }
.sticky-bar.visible { visibility: visible; }
.sticky-close { background: none; border: 0; color: #CBD5E1; cursor: pointer; font-size: 1.1rem; width: 44px; height: 44px; }
.sticky-close:hover { color: #FFFFFF; }
.booking-perks { list-style: none; padding: 0; }

.founder-row { display: grid; grid-template-columns: minmax(200px, 280px) 1fr; align-items: center; gap: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 800px) { .founder-row { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; line-height: 1.3; }
  .btn-lg { padding: 0.85rem 1.25rem; font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 720px) {
  .hero-proof { grid-template-columns: 1fr; }
  .sticky-bar { padding-bottom: calc(0.75rem + env(safe-area-inset-bottom)); }
}

/* Pricing toggle */
.seg-toggle { display: inline-flex; border: 1px solid #8795A8; border-radius: 999px; overflow: hidden; background: #fff; margin-top: .5rem; }
.seg-btn { background: #fff; border: 0; padding: .6rem 1.2rem; font: inherit; font-weight: 700; cursor: pointer; color: var(--color-text); min-height: 44px; }
.seg-btn.on { background: var(--color-heading); color: #fff; }
.seg-btn .save { font-size: .72rem; background: #D1FAE5; color: #065F46; border-radius: 999px; padding: .1rem .5rem; margin-left: .35rem; }

/* ── Mobile overflow fix (hero) and long price rows ── */
.hero-grid > * { min-width: 0; }
@media (max-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .ladder-row { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
  .ladder-row em { white-space: normal; }
}

/* ── Arabic web font: Scheherazade New (self-hosted, Arabic range only) ── */
@font-face {
  font-family: 'Scheherazade New';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  size-adjust: 112%;
  src: url('../vendor/fonts/scheherazade-new/sch-400.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Scheherazade New';
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  size-adjust: 112%;
  src: url('../vendor/fonts/scheherazade-new/sch-700.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
[dir="rtl"] body, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] button, [dir="rtl"] input, [dir="rtl"] textarea { font-family: 'Scheherazade New', Inter, 'Segoe UI', Tahoma, system-ui, sans-serif; }
[dir="rtl"] body { line-height: 1.75; }

/* ── Case-study and long-form service pages (detail-body / detail-section) ── */
.detail-body { max-width: 920px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.detail-section { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg, 16px); padding: 2rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); }
.detail-section h2 { font-size: 1.4rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; }
.detail-section h2 i { color: var(--color-primary); font-size: 1.1rem; }
.detail-section h3, .detail-section h4 { margin: 1.25rem 0 0.4rem; }
.detail-section p { margin-bottom: 1rem; line-height: 1.7; }
.detail-section p:last-child { margin-bottom: 0; }
.detail-section ul:not([class]) { list-style: disc; padding-inline-start: 1.4rem; margin-bottom: 1rem; }
.detail-section ul:not([class]) li { margin-bottom: 0.45rem; line-height: 1.6; }
.deliverables-list, .outcome-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.6rem; }
.deliverables-list li, .outcome-list li { position: relative; padding-inline-start: 1.9rem; line-height: 1.6; }
.deliverables-list li::before, .outcome-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset-inline-start: 0; top: 0.1rem; color: var(--color-success); font-size: 0.9rem; }
.outcome-list li::before { content: "\f091"; color: var(--color-primary); }
.case-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.case-metric { background: var(--color-primary-subtle); border: 1px solid var(--color-primary-light); border-radius: var(--radius-md, 12px); padding: 1.1rem 1rem; text-align: center; }
.case-metric-value { font-size: 1.6rem; font-weight: 800; color: var(--color-primary); line-height: 1.2; }
.case-metric-label { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 0.3rem; }
.process-steps { display: grid; gap: 1.1rem; }
.process-steps .process-step { display: flex; gap: 1rem; align-items: flex-start; background: none; border: 0; padding: 0; box-shadow: none; }
.process-step-num { flex: 0 0 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--color-primary); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.process-step-body h4 { margin: 0 0 0.3rem; font-size: 1.05rem; }
.process-step-body p { margin: 0; color: var(--color-text-muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.tag { display: inline-block; background: var(--color-primary-light); color: var(--color-primary-dark); border-radius: 999px; padding: 0.25rem 0.8rem; font-size: 0.82rem; font-weight: 700; }
.faq-item { border-top: 1px solid var(--color-border); }
.faq-item:first-of-type { border-top: 0; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: start; padding: 1rem 0; background: none; border: 0; font: inherit; font-weight: 700; color: var(--color-heading); cursor: pointer; }
.faq-question i { transition: transform .2s; color: var(--color-primary); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 0 1rem; margin: 0; color: var(--color-text-muted); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }
.text-muted { color: var(--color-text-muted); }
.text-whatsapp { color: var(--color-whatsapp); }
.founder-hero-info { min-width: 0; }
@media (max-width: 600px) { .detail-body { padding: 2rem 1rem 3rem; } .detail-section { padding: 1.25rem; } }
.process-steps .process-step::before, .process-steps .process-step::after { content: none; display: none; }
.detail-section .offer-price small { display: block; margin-top: 0.2rem; font-size: 0.85rem; }
.offer-card .tag { margin-bottom: 0.75rem; line-height: 1.3; border-radius: 8px; }

/* Two-card credential rows: each card takes half the row */
.credentials-grid:has(> .credential-card:nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 640px) {
  .credentials-grid:has(> .credential-card:nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr); }
}
