
/* SOLUTIONS HERO — ghost button visible on dark background */
.cap-hero .btn--ghost{background:rgba(245,242,234,0.04) !important;color:#F5F2EA !important;border-color:rgba(245,242,234,0.18) !important}
.cap-hero .btn--ghost:hover{background:rgba(245,242,234,0.10) !important;border-color:rgba(245,242,234,0.40) !important}
.cap-hero .btn--ghost .btn__arrow{background:rgba(245,242,234,0.10) !important;color:#F5F2EA !important}
.cap-hero .btn--ghost .btn__arrow svg{color:#F5F2EA !important}

/* CASES-FEATURED — copied from portfolio page so the featured card renders with full styling here too */
.cap-hero__lower .cases-featured__card{margin-top:clamp(2rem,4vw,3rem)}
.cases-featured__footer{align-items:stretch;gap:1rem}
.cases-featured__footer .cases-featured__metrics{flex:1 1 auto}
.cases-featured__footer .case-card__cta{flex-shrink:0;width:auto;aspect-ratio:1/1;height:auto;align-self:stretch;padding:0;border-radius:50%;background:rgba(245,242,234,0.04);border:1px solid rgba(245,242,234,0.18);display:inline-flex;align-items:center;justify-content:center;font-size:0;letter-spacing:0;text-transform:none;min-height:64px;min-width:64px;transition:background 0.35s var(--ease),border-color 0.35s var(--ease),transform 0.35s var(--ease)}
.cases-featured__footer .case-card__cta > span{display:none}
.cases-featured__footer .case-card__cta svg{width:18px;height:18px}
.cases-featured__card:hover .cases-featured__footer .case-card__cta,.cases-featured__card:focus-visible .cases-featured__footer .case-card__cta{background:var(--red);border-color:var(--red);transform:scale(1.06)}
.cases-featured__card.is-tilt{transform-style:preserve-3d;will-change:transform;transition:none}
.cases-featured__card.is-tilt .cases-featured__copy,
.cases-featured__card.is-tilt .cases-featured__visual{transform-style:preserve-3d}
.cases-featured__card.is-tilt .cases-featured__visual-logo{transform:translateZ(20px)}
.cases-featured__card.is-tilt .cases-featured__visual-spark{transform:translateZ(28px)}
.cases-featured__card.is-tilt .cases-featured__visual-client{transform:translateZ(16px)}
.cases-featured__card.is-tilt .cases-featured__visual-tag{transform:translateZ(12px)}
.cases-featured{padding:var(--section-pad) var(--gutter);max-width:1480px;margin:0 auto;background:#FFFFFF;}
.cases-featured__head{display:flex;flex-direction:column;gap:0.75rem;margin-bottom:clamp(2.5rem,5vw,4rem);align-items:flex-start}
.cases-featured__badge{font-family:var(--font-mono);font-size:10px;letter-spacing:0.06em;text-transform:uppercase;color:var(--red);background:var(--red-soft);padding:5px 10px;border-radius:6px;align-self:flex-start;display:inline-flex;align-items:center;gap:6px}
.cases-featured__badge::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--red);box-shadow:0 0 8px var(--red-glow)}
.cases-featured__card{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:0;background:#15120F;border:1px solid rgba(245,242,234,0.12);border-radius:var(--radius-xl);overflow:hidden;cursor:pointer;isolation:isolate;transition:transform 0.45s var(--ease),box-shadow 0.45s var(--ease),border-color 0.45s var(--ease)}
.cases-featured__card::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,36,60,0.5),transparent);z-index:3;pointer-events:none}
.cases-featured__card:hover{transform:translateY(-3px);border-color:rgba(255,36,60,0.28);box-shadow:0 32px 80px -20px rgba(0,0,0,0.55),0 0 0 1px rgba(255,36,60,0.08)}
.cases-featured__card:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.cases-featured__copy{position:relative;padding:clamp(1.75rem,3.5vw,2.75rem);background:transparent;display:flex;flex-direction:column;gap:1.1rem;justify-content:center}
.cases-featured__industry{font-family:var(--font-mono);font-size:11px;letter-spacing:0.06em;text-transform:uppercase;color:var(--red);display:inline-flex;align-items:center;gap:8px;margin:0}
.cases-featured__industry::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--red);box-shadow:0 0 8px var(--red-glow);flex-shrink:0}
.cases-featured__title{font-family:var(--font-display);font-weight:500;font-size:clamp(1.5rem,2.5vw,2.1rem);line-height:1.18;letter-spacing:-0.025em;color:#F5F2EA;margin:0;text-wrap:balance}
.cases-featured__excerpt{font-size:14.5px;line-height:1.6;color:rgba(245,242,234,0.7);max-width:54ch;margin:0;text-wrap:pretty}
.cases-featured__visual{position:relative;background:linear-gradient(165deg,#1F1B17 0%,#15120F 50%,#0A0908 100%);overflow:hidden;display:flex;align-items:center;justify-content:center;padding:clamp(2rem,4vw,3.5rem);min-height:380px}
.cases-featured__visual::before{content:"";position:absolute;inset:-30%;background:radial-gradient(circle at 30% 30%,rgba(255,36,60,0.18) 0%,transparent 60%);pointer-events:none;filter:blur(40px)}
.cases-featured__visual-pattern{position:absolute;inset:0;background-image:repeating-linear-gradient(45deg,rgba(245,242,234,0.018) 0 1px,transparent 1px 22px);pointer-events:none}
.cases-featured__visual-spark{position:absolute;top:1.5rem;right:1.5rem;width:22px;height:22px;color:var(--red);opacity:0.55;filter:drop-shadow(0 0 12px rgba(255,36,60,0.4));z-index:2}
.cases-featured__visual-spark svg{width:100%;height:100%;display:block;color:currentColor;fill:currentColor}
.cases-featured__visual-tag{position:absolute;top:1.5rem;left:1.5rem;font-family:var(--font-mono);font-size:10.5px;letter-spacing:0.08em;text-transform:uppercase;color:rgba(245,242,234,0.65);padding:6px 11px;border:1px solid rgba(245,242,234,0.14);border-radius:999px;background:rgba(10,9,8,0.4);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);z-index:2;display:inline-flex;align-items:center;gap:6px}
.cases-featured__visual-tag::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--red);box-shadow:0 0 8px var(--red-glow);flex-shrink:0}
.cases-featured__visual-logo{position:relative;width:60%;max-width:240px;aspect-ratio:1.6/1;display:flex;align-items:center;justify-content:center;color:#F5F2EA;z-index:1}
.cases-featured__visual-logo svg{width:100%;height:100%;display:block;color:currentColor;fill:currentColor}
.cases-featured__visual-client{position:absolute;left:50%;bottom:1.75rem;transform:translateX(-50%);font-family:var(--font-display);font-weight:500;font-size:clamp(1.6rem,3vw,2.2rem);line-height:1;letter-spacing:-0.025em;color:#F5F2EA;z-index:2;white-space:nowrap}
.cases-featured__metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:rgba(245,242,234,0.08);border:1px solid rgba(245,242,234,0.08);border-radius:var(--radius-lg);overflow:hidden;margin-top:0.25rem}
.cases-featured__metric{padding:0.85rem 1rem;background:rgba(15,13,11,0.6);display:flex;flex-direction:column;gap:4px;min-width:0}
.cases-featured__metric-value{font-family:var(--font-display);font-weight:500;font-size:clamp(1.3rem,2.2vw,1.85rem);line-height:1;letter-spacing:-0.025em;color:#F5F2EA;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cases-featured__metric-label{font-family:var(--font-mono);font-size:10.5px;letter-spacing:0.06em;text-transform:uppercase;color:rgba(245,242,234,0.5);line-height:1.3}
.cases-featured__footer{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;margin-top:1.5rem}
.cases-featured__footer .cases-featured__metrics{margin-top:0;flex:1 1 280px;min-width:0}
.cases-featured__footer .case-card__cta{flex-shrink:0;margin-top:0;padding:11px 20px;border-radius:999px;border:1px solid rgba(245,242,234,0.22);background:rgba(245,242,234,0.04);color:#F5F2EA;font-family:var(--font-mono);font-size:12.65px;letter-spacing:0.06em;text-transform:uppercase;display:inline-flex;align-items:center;gap:11px;line-height:1;transition:background 0.35s var(--ease),border-color 0.35s var(--ease),color 0.35s var(--ease)}
.cases-featured__footer .case-card__cta svg{width:13px;height:13px;display:block;color:currentColor;transition:transform 0.35s var(--ease)}
.cases-featured__card:hover .cases-featured__footer .case-card__cta,.cases-featured__card:focus-visible .cases-featured__footer .case-card__cta{background:var(--red);border-color:var(--red);color:#fff}
.cases-featured__card:hover .cases-featured__footer .case-card__cta svg,.cases-featured__card:focus-visible .cases-featured__footer .case-card__cta svg{transform:translateX(3px)}
@media (max-width:760px){.cases-featured__card{grid-template-columns:1fr}.cases-featured__visual{min-height:240px;order:-1}.cases-featured__visual-client{font-size:1.4rem;bottom:1.25rem}}
.section-title,.hero__main,.cap-hero__title,.cap-cta__title,.cta__title,.cap-overview__title,.cases-featured__title,.swap-card__title,.cases__head h2,.testimonials h2,.languages__title,.legal-toc__title,.legal-content h2,.about-stats h2,.about-team h2,.about-values h2,.contact-side__title,.cap-faq__question,.cap-service__title,.product-cta-tile__title,.product-features h2,.about-event__title,.cap-process__head h2,.cap-services__head h2,.cap-cases__head h2{text-wrap:balance}
.lede,.cap-hero__lede,.cap-cta__lede,.cases-featured__excerpt,.cap-overview__body,.swap-card__desc,.cap-service__desc,.cap-faq__answer-inner,.legal-content p,.product-cta-tile__lede,.product-feature__desc,.about-event__body,.about-value__desc,.contact-channel__value{text-wrap:pretty}
.cases-featured__visual{position:relative;overflow:hidden}
.cases-featured__visual-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;opacity:1}
.cases-featured__visual-overlay{position:absolute;inset:0;background:linear-gradient(165deg,rgba(15,18,17,0.35) 0%,rgba(10,9,8,0.55) 60%,rgba(10,9,8,0.78) 100%);z-index:1;pointer-events:none}
.cases-featured__visual-pattern,.cases-featured__visual-tag,.cases-featured__visual-spark,.cases-featured__visual-client{z-index:2;position:relative}
.cases-featured__visual-tag{position:absolute;top:1.5rem;left:1.5rem}
.cases-featured__visual-spark{position:absolute;top:1.5rem;right:1.5rem}
.cases-featured__visual-client{position:absolute;bottom:1.75rem;left:50%;transform:translateX(-50%)}
.cases-featured__visual-logo{display:none}
/* Featured card background (still painted by bootstrap script) */
.cases-featured__visual > img.case-bg{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
  filter: brightness(0.55) saturate(1.05);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.cases-featured__visual > img.case-bg[src]{ opacity: 1; }
/* AR featured-card metrics — preserved from round 10 */
:root[lang="ar"] .cases-featured__metrics,
[dir="rtl"]      .cases-featured__metrics{
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1px !important;
}
:root[lang="ar"] .cases-featured__metric,
[dir="rtl"]      .cases-featured__metric{
  flex: 0 1 auto !important;
  min-width: 0 !important;
}
:root[lang="ar"] .cases-featured__metric-label,
[dir="rtl"]      .cases-featured__metric-label{
  font-size: 11.5px !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
}
