:root{--gold:#d2aa62}
.hero{background:#02130f}
.hero video{object-fit:contain}
.hero .veil{background:linear-gradient(0deg,#062c225c,transparent 24%);pointer-events:none}
.hero .hero-copy{display:none}

/* Bavaria Social visual system: use the real logo and one coherent image family. */
.brand{display:flex;align-items:center;color:var(--gold)}
.brand img{display:block;width:clamp(145px,12vw,190px);height:auto;object-fit:contain;filter:drop-shadow(0 4px 12px #0008)}
.branded-title,.process-copy,.contact>div{position:relative}
.section-mark{display:block;width:165px;height:auto;object-fit:contain;margin:0 0 24px;filter:drop-shadow(0 8px 24px #0007)}

.card>.card-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:.7s}
.card>.brand-watermark,.project-media>.brand-watermark,.process-photo>.brand-watermark{
  position:absolute!important;top:20px!important;left:20px!important;right:auto!important;bottom:auto!important;
  width:150px!important;height:auto!important;object-fit:contain!important;z-index:4;opacity:.94;
  filter:drop-shadow(0 5px 16px #000a);pointer-events:none;transform:none!important
}
.card:hover>.card-photo{transform:scale(1.07)}
.process-photo>.process-image{height:100%;object-fit:cover}
.process-photo>.brand-watermark{top:30px!important;left:30px!important;width:190px!important}
.project-media{position:relative;height:330px;overflow:hidden;padding:0!important}
.project-media>.project-photo{height:100%;object-fit:cover;transition:.7s}
.project:hover .project-photo{transform:scale(1.06)}
.project>div:not(.project-media){padding:22px}
footer .brand img{width:210px}

@media(max-width:700px){
  .nav .brand img{width:122px}
  .section-mark{width:135px;margin-bottom:18px}
  .card>.brand-watermark,.project-media>.brand-watermark{width:118px!important;top:14px!important;left:14px!important}
  .process-photo>.brand-watermark{width:145px!important;top:20px!important;left:20px!important}
}

/* Service cards: purpose-built portrait artwork with a stable, uncropped layout. */
.service-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.card{
  min-height:0;
  aspect-ratio:3/2;
  border-color:#b88a43;
  background:#031d17;
  isolation:isolate;
}
.card:after{
  background:linear-gradient(0deg,#031d17 0%,#031d17f4 27%,#031d17ac 50%,transparent 76%);
}
.card-content{padding:16px}
.card>.brand-watermark{
  width:84px!important;
  top:12px!important;
  left:12px!important;
  opacity:.82;
}
.card h3{
  font-size:clamp(.88rem,1.1vw,1.05rem);
  line-height:1.18;
  margin:9px 0 4px;
}
.card p{
  font-size:.72rem;
  line-height:1.35;
  margin-bottom:0;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.card .tags{display:none}
.card .icon{width:34px;height:34px;border-radius:10px;font-size:.95rem}
.icon svg,.industry-grid b svg{width:24px;height:24px;display:block}
.industry-grid b{color:var(--gold)}
.industry-grid b svg{width:30px;height:30px}
.card .add{width:34px;height:34px;right:12px;top:12px}
.gold,.icon{
  background:linear-gradient(135deg,#f0d28f 0%,#bd8d3f 52%,#dfb765 100%);
}
@media(max-width:1279px){
  .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .card h3{font-size:1.12rem}
  .card p{font-size:.82rem}
}
@media(max-width:700px){
  .hero{
    width:min(calc(100% - 16px),420px);
    height:auto;
    aspect-ratio:16/9;
    min-height:0;
    margin:84px auto 0;
    padding:0;
    border:1px solid #b88a43;
    border-radius:20px;
    box-shadow:0 14px 34px #0008,0 0 0 1px #d2aa621c inset;
    overflow:hidden;
  }
  .hero video{object-fit:cover;border-radius:inherit}
  .hero .veil{background:linear-gradient(0deg,#031d173d,transparent 28%)}
  .service-grid{grid-template-columns:1fr;gap:18px}
  .card{aspect-ratio:3/2}
  .card>.brand-watermark{width:88px!important}
}

/* Refined customer proof and motion system. */
.stars{color:var(--gold);letter-spacing:.18em;font-size:.85rem}
em{background:linear-gradient(90deg,#b9893d,#f0d28f,#b9893d);background-size:220% auto;-webkit-background-clip:text;background-clip:text;color:transparent;animation:goldFlow 5s linear infinite}
.reveal.visible :is(h2,h3,p,li,blockquote){animation:textLift .72s cubic-bezier(.2,.7,.2,1) both}
.industry-grid.visible div{animation:cardLift .65s cubic-bezier(.2,.7,.2,1) both}
.industry-grid.visible div:nth-child(2){animation-delay:.08s}
.industry-grid.visible div:nth-child(3){animation-delay:.16s}
@keyframes textLift{from{opacity:0;transform:translateY(14px);filter:blur(3px)}to{opacity:1;transform:none;filter:none}}
@keyframes cardLift{from{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:none}}
@keyframes goldFlow{to{background-position:220% center}}
@media(prefers-reduced-motion:reduce){em,.reveal.visible :is(h2,h3,p,li,blockquote),.industry-grid.visible div,.testimonials.visible .review-card{animation:none!important}}

/* v14 — balanced editorial type and motion, inspired by the main Bavaria Social site. */
.title{max-width:920px}
.title .kicker,.process-copy .kicker,.contact .kicker{
  display:inline-block;
  font-size:clamp(.78rem,.9vw,.92rem);
  line-height:1.25;
  letter-spacing:.18em;
}
.title h2,.process-copy h2,.contact h2{
  font-size:clamp(2.75rem,5.4vw,5.35rem);
  line-height:.96;
  text-wrap:balance;
}
.industry-title{max-width:760px}
.industry-title h2{font-size:clamp(3rem,6.2vw,6rem);margin-top:18px}
.reveal.visible>.kicker{animation:kickerIn .7s cubic-bezier(.2,.7,.2,1) both}
.reveal.visible>h2{animation:headlineIn .9s .08s cubic-bezier(.16,.8,.2,1) both}
.reveal.visible>p{animation:textLift .72s .18s cubic-bezier(.2,.7,.2,1) both}
@keyframes kickerIn{from{opacity:0;transform:translateX(-18px);letter-spacing:.28em}to{opacity:1;transform:none}}
@keyframes headlineIn{from{opacity:0;transform:translateY(28px);clip-path:inset(0 0 100% 0)}to{opacity:1;transform:none;clip-path:inset(0)}}
html[dir=rtl] .reveal.visible>.kicker{animation-name:kickerInRtl}
@keyframes kickerInRtl{from{opacity:0;transform:translateX(18px);letter-spacing:.28em}to{opacity:1;transform:none}}

@media(max-width:950px){
  .industries,.services,.projects,.contact{padding-top:82px;padding-bottom:82px}
  .title h2,.process-copy h2,.contact h2{font-size:clamp(2.65rem,8vw,4.4rem)}
  .industry-title h2{font-size:clamp(3rem,9vw,4.8rem)}
}
@media(max-width:700px){
  .industries{padding:70px 22px 78px}
  .industry-title{max-width:100%}
  .industry-title .kicker{font-size:.84rem;letter-spacing:.17em}
  .industry-title h2{font-size:clamp(3rem,13vw,4rem);line-height:.94;margin:18px 0 30px}
  .services .title h2,.projects .title h2,.process-copy h2,.contact h2,.testimonials .title h2{
    font-size:clamp(2.55rem,11vw,3.35rem);
    line-height:.97;
  }
  .title>p{font-size:1rem;line-height:1.65}
}
@media(prefers-reduced-motion:reduce){
  .reveal.visible>.kicker,.reveal.visible>h2,.reveal.visible>p{animation:none!important}
}

/* v15 — compact mobile navigation: language switcher + hamburger at the right edge. */
.menu{width:44px;height:44px;padding:10px;border:0;background:transparent;align-items:center;justify-content:center;flex-direction:column;gap:5px}
.menu span{display:block;width:23px;height:2px;border-radius:2px;background:var(--gold);transition:transform .25s,opacity .2s}
.menu.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu.open span:nth-child(2){opacity:0}
.menu.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media(max-width:950px){
  .nav .right{margin-left:auto;order:2}
  .nav .menu{display:flex;order:3;margin-left:0;flex:0 0 44px}
  .nav .brand{order:1}
  .nav nav{order:4}
}
@media(max-width:700px){
  .nav{padding-right:10px}
  .nav .right{gap:0}
  .nav .langs{height:38px;align-items:center}
  .nav .langs button{font-size:.65rem;padding:5px 7px}
}

/* v16 — direct WhatsApp consultation CTA below the hero video. */
.hero-cta-wrap{display:flex;justify-content:center;padding:22px max(6vw,22px) 6px;background:var(--g)}
.hero-cta{
  position:relative;
  isolation:isolate;
  width:min(680px,100%);
  min-height:60px;
  padding:14px 22px;
  border:1px solid #f0d28f;
  border-radius:999px;
  background:linear-gradient(110deg,#b88738,#f0d28f 48%,#bd8d3f);
  color:#031d17;
  box-shadow:0 12px 34px #d2aa6240;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-align:center;
  font-weight:900;
  letter-spacing:.035em;
  animation:consultPulse 1.8s ease-in-out infinite;
}
.hero-cta:before{content:'';position:absolute;inset:-5px;border:1px solid #d2aa6280;border-radius:inherit;z-index:-1;animation:consultRing 1.8s ease-out infinite}
.hero-cta svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.hero-cta b{font-size:1.15rem;transition:transform .2s}
.hero-cta:hover b{transform:translateX(5px)}
.wa{width:62px;height:62px;background:#25d366;border:2px solid #dcffe7;box-shadow:0 10px 30px #0007,0 0 0 6px #25d36622}
.wa svg{width:31px;height:31px;fill:none;stroke:#fff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@keyframes consultPulse{0%,100%{opacity:1;transform:scale(1);box-shadow:0 12px 34px #d2aa6240}50%{opacity:.76;transform:scale(.985);box-shadow:0 5px 14px #d2aa621f}}
@keyframes consultRing{0%{opacity:.8;transform:scale(1)}75%,100%{opacity:0;transform:scale(1.04)}}
@media(max-width:700px){
  .hero-cta-wrap{padding:18px 18px 4px}
  .hero-cta{min-height:56px;padding:12px 16px;gap:9px;font-size:.88rem;line-height:1.25}
  .hero-cta svg{width:24px;height:24px}
  .hero-cta b{font-size:1rem}
}
html[dir=rtl] .hero-cta b{transform:scaleX(-1)}
@media(prefers-reduced-motion:reduce){.hero-cta,.hero-cta:before{animation:none!important}}

/* v17 — smaller premium email CTA; keep WhatsApp as a direct floating action. */
.hero-cta-wrap{padding-top:16px}
.hero-cta{width:min(430px,100%);min-height:48px;padding:10px 18px;gap:9px;font-size:.76rem;letter-spacing:.025em;box-shadow:0 8px 22px #d2aa6230}
.hero-cta svg{width:21px;height:21px}
.hero-cta b{font-size:.95rem}
@media(max-width:700px){
  .hero-cta-wrap{padding:13px 24px 2px}
  .hero-cta{width:min(330px,100%);min-height:44px;padding:9px 13px;gap:7px;font-size:.72rem}
  .hero-cta svg{width:19px;height:19px}
}

/* v18 — real client-logo marquee, service reach and Arabic layout hardening. */
.client-strip{padding:38px 0 32px;background:#031d17;border-top:1px solid #d2aa6228;border-bottom:1px solid #d2aa6228;overflow:hidden}
.client-heading{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;margin:0 22px 22px}
.client-label{display:block;text-align:center;color:var(--gold);font-size:.875rem;font-weight:800;letter-spacing:.12em}
.client-window{overflow-x:auto;overflow-y:hidden;direction:ltr;mask-image:none;-webkit-mask-image:none;scrollbar-width:thin;scrollbar-color:#d2aa6266 #031d17;padding-bottom:8px}
.client-track{display:flex;align-items:center;gap:0;width:max-content;animation:logoMarquee 65s linear infinite}
.client-group{display:flex;align-items:center;flex:none;gap:18px;padding:0 18px 0 0}
.client-logo{margin:0;flex:0 0 190px;width:190px;height:116px;display:grid;place-items:center;padding:16px;border:1px solid #d2aa6240;border-radius:16px;background:#082b23}
.client-logo svg{display:block;width:100%;height:84px;overflow:hidden}
@keyframes logoMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.coverage{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#8d6b38;border-bottom:1px solid #8d6b38}
.coverage article{display:flex;align-items:center;gap:18px;padding:30px max(6vw,22px);background:linear-gradient(135deg,#092e25,#031914)}
.coverage article>span{width:52px;height:52px;display:grid;place-items:center;flex:0 0 52px;border:1px solid var(--gold);border-radius:50%;color:var(--gold);font-weight:900;letter-spacing:.05em}
.coverage h3{margin:0 0 4px;color:#fff8ea;font-size:clamp(.95rem,1.5vw,1.25rem);letter-spacing:.02em}
.coverage p{margin:0;color:var(--m);font-size:.88rem;line-height:1.5}
html[dir=rtl] body{font-family:"Cairo",Arial,sans-serif}
html[dir=rtl] :is(h1,h2,h3,.kicker,.client-label){letter-spacing:0!important;line-height:1.18}
html[dir=rtl] :is(.title,.process-copy,.contact>div,.coverage article){text-align:right}
html[dir=rtl] .reveal.visible>h2{clip-path:none;overflow:visible}
html[dir=rtl] .card h3,html[dir=rtl] .card p{white-space:normal;overflow-wrap:normal}
html[dir=rtl] .card p{display:block;-webkit-line-clamp:unset;overflow:visible}
html[dir=rtl] .client-track{direction:ltr;animation-direction:normal}
@media(max-width:800px){
  .coverage{grid-template-columns:1fr}
  .coverage article{padding:24px 22px}
}
@media(max-width:700px){
  .client-strip{padding:28px 0 24px}
  .client-heading{gap:12px;margin-bottom:18px}
  .client-group{gap:12px;padding-right:12px}
  .client-logo{flex-basis:158px;width:158px;height:104px;padding:14px}
  .client-logo svg{height:74px}
  .coverage article>span{width:46px;height:46px;flex-basis:46px;font-size:.8rem}
  .coverage h3{font-size:.94rem;line-height:1.35}
  .coverage p{font-size:.82rem}
  html[dir=rtl] .industry-title h2{font-size:clamp(2.7rem,12vw,3.6rem);line-height:1.08}
  html[dir=rtl] .card{aspect-ratio:auto;min-height:360px}
  html[dir=rtl] .card-content{width:100%}
}
@media(prefers-reduced-motion:reduce){.client-track{animation:none}.client-group[aria-hidden=true]{display:none}}

/* Contact actions remain native links, including inside an embedded browser. */
.contact-help{max-width:640px;margin:18px auto 28px;padding:0 22px;font-size:.875rem;color:var(--m)}
.contact-help summary{cursor:pointer;text-align:center;color:var(--gold);padding:12px 0}
.contact-help-body{margin-top:12px;border:1px solid #d2aa6240;border-radius:16px;background:#031d17;padding:20px}
.contact-help-body p{line-height:1.65}
.contact-options{display:flex;flex-wrap:wrap;gap:10px}
.contact-options a,.contact-options button{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border:1px solid var(--l);border-radius:8px;background:#082b23;color:var(--c);font:inherit;cursor:pointer;overflow-wrap:anywhere}
.contact-options a:hover,.contact-options button:hover{border-color:var(--gold)}
#copyStatus:empty{display:none}
#copyStatus{margin:16px 0 0;color:var(--gold)}
.email-draft{margin-top:20px;border-top:1px solid var(--l);padding-top:20px}
.email-draft[hidden]{display:none}
.email-draft p{font-size:1rem;line-height:1.6}
.draft-actions{display:flex;flex-wrap:wrap;gap:10px}
.draft-actions .btn{width:auto;min-width:140px}
.hero-cta:before{pointer-events:none}
.wa{isolation:isolate;cursor:pointer;touch-action:manipulation;bottom:max(22px,env(safe-area-inset-bottom))}
.wa svg{pointer-events:none}
.toast:not(.show){pointer-events:none}
:is(a,button,summary,[tabindex]):focus-visible{outline:2px solid var(--gold);outline-offset:4px}
:is(#services,#projects,#process,#contact){scroll-margin-top:24px}

/* Localized, crawlable content stays readable even if JavaScript is unavailable. */
.reveal{opacity:1;transform:none}
.reveal.visible{animation:sectionEnter .55s ease both}
@keyframes sectionEnter{from{opacity:.55;transform:translateY(12px)}to{opacity:1;transform:none}}
.langs a{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:5px 7px;font-size:.75rem;color:#fff8}
.langs a.active{background:var(--gold);color:var(--d)}
.industry-title h1{font-size:clamp(3rem,6.2vw,6rem);line-height:.98;margin:18px 0 22px}
.video-toggle{position:absolute;inset-inline-end:14px;top:14px;z-index:6;min-height:36px;border:1px solid #d2aa6270;border-radius:99px;padding:7px 12px;background:#031d17d9;color:var(--c);font:inherit;font-size:.875rem;cursor:pointer}
.motion-service{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);align-items:center;gap:40px;padding:56px max(6vw,22px);border-block:1px solid #d2aa6230;background:#041f18}
.motion-copy{min-width:0}
.motion-copy h2.kicker{font-size:1rem;line-height:1.5;letter-spacing:.08em;margin:0 0 16px}
.motion-copy>p{font-size:1rem;line-height:1.75;color:var(--m);max-width:440px;margin:0 0 22px}
.motion-cta{display:flex;align-items:center;gap:12px;color:var(--gold)}
.motion-cta .add{position:static;flex:0 0 44px;width:44px;height:44px;font-size:1.3rem;cursor:pointer}
.motion-cta label{margin:0;font-size:.875rem;cursor:pointer}
.social-motion{display:block;width:100%;max-width:660px;min-width:0;margin:0;justify-self:center}
.social-motion img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;border-radius:clamp(12px,2.5vw,24px)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
html[dir=rtl] :is(.motion-service,.project>div){text-align:start}
.stats b{direction:ltr;unicode-bidi:isolate}
@media(max-width:900px){.motion-service{grid-template-columns:1fr;gap:24px;padding-block:40px}.social-motion{max-width:660px;grid-row:1}.motion-copy{width:100%;max-width:660px;justify-self:center}.motion-copy>p{max-width:none}}
@media(max-width:700px){.industry-title h1{font-size:clamp(3rem,13vw,4rem);line-height:.98;margin:18px 0 30px}.langs a{font-size:.7rem;padding:5px 6px}.video-toggle{top:10px;inset-inline-end:10px;font-size:.75rem;padding:6px 10px}.motion-copy h2.kicker{font-size:.875rem}}
@media(prefers-reduced-motion:reduce){.reveal.visible{animation:none!important}}

/* v19 — local gold client logos, premium services and real team. */
.special-services,.team-section{padding:105px max(6vw,22px);background:#05251e}
.special-services{border-top:1px solid #d2aa6228}
.special-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:42px}
.special-card{display:flex;align-items:flex-start;gap:22px;padding:30px;border:1px solid #8d6b38;border-radius:20px;background:linear-gradient(145deg,#0a3228,#031914);box-shadow:0 20px 55px #0004}
.special-icon{width:62px;height:62px;display:grid;place-items:center;flex:0 0 62px;border:1px solid var(--gold);border-radius:18px;color:var(--gold);background:#d2aa620d}
.special-icon svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.special-card h3{margin:3px 0 10px;color:#fff8ea;font-size:1.25rem}
.special-card p{margin:0;color:var(--m);line-height:1.65}
.team-section{background:#031d17;border-top:1px solid #d2aa6228}
.team-section .title>p{max-width:680px}
.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:42px}
.team-card{position:relative;min-height:0;aspect-ratio:2/3;border:1px solid #8d6b38;border-radius:20px;overflow:hidden;background:#082b23;isolation:isolate}
.team-card:after{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,#02130ff7 0%,#02130fa8 30%,transparent 64%)}
.team-card img{width:100%;height:100%;object-fit:contain;object-position:center top;background:#061f19}
.team-card>div{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:22px}
.team-card span{color:var(--gold);font-size:.68rem;font-weight:900;letter-spacing:.12em}
.team-card h3{margin:7px 0 0;color:#fff8ea;font-size:1.35rem}
.team-card p{margin:10px 0 0;color:#c8d2cc;font-size:.84rem;line-height:1.5}
.owner-card{grid-column:auto}
html[dir=rtl] :is(.special-services .title,.team-section .title,.special-card,.team-card>div){text-align:right}
html[dir=rtl] .team-card span{letter-spacing:0}
@media(max-width:900px){.team-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.team-card>div{padding:17px}.team-card h3{font-size:1.18rem}.team-card span{font-size:.62rem}}
@media(max-width:700px){.special-grid{grid-template-columns:1fr}.special-services,.team-section{padding:78px 22px}.team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.owner-card{grid-column:span 2;aspect-ratio:3/4}.team-card>div{padding:15px}.team-card h3{font-size:1.05rem}.team-card span{font-size:.58rem}.owner-card h3{font-size:1.25rem}.owner-card span{font-size:.65rem}}
@media(max-width:420px){.special-card{padding:22px;gap:16px}.special-icon{width:50px;height:50px;flex-basis:50px;border-radius:14px}.special-icon svg{width:28px;height:28px}.team-grid{grid-template-columns:1fr}.owner-card{grid-column:auto;aspect-ratio:3/4}.team-card{aspect-ratio:2/3}.team-card>div{padding:20px}.team-card h3{font-size:1.3rem}.team-card span{font-size:.68rem}}

/* Self-hosted Cairo: consistent Arabic typography without a third-party request. */
@font-face{font-family:"Cairo";font-style:normal;font-weight:400 800;font-display:swap;src:url("/assets/fonts/cairo-variable.woff") format("woff")}
html[lang=ar] body{font-family:"Cairo",Arial,sans-serif;font-size:1rem;line-height:1.8}
html[lang=ar] :is(button,input,textarea,select){font-family:inherit}
html[lang=ar] :is(h1,h2,h3,.kicker,.client-label){letter-spacing:0!important;line-height:1.5}
html[lang=ar] :is(p,li,label){line-height:1.85}
html[lang=ar] .industry-title h1{font-size:clamp(2.2rem,5.4vw,5rem);line-height:1.4}
html[lang=ar] .motion-copy h2.kicker{font-size:1rem;line-height:1.6}
html[lang=ar] :is(.kicker,.client-label){font-size:.875rem}
html[lang=ar] :is(.card h3,.special-card h3){font-size:1.2rem;line-height:1.5}
html[lang=ar] :is(.card p,.special-card p,.title>p,.contact p,.contact li){font-size:1rem;line-height:1.85}
html[lang=ar] :is(.industry-grid span,.stats span,.steps p,.team-card p,.nav nav a,label,.btn,.hero-cta span,.contact-options a,.contact-options button){font-size:.875rem}
html[lang=ar] .tags{font-size:.8rem;line-height:1.7}
html[lang=ar] :is(.card-content,.project>div,.special-card>div){min-width:0}
html[lang=ar] :is(.card h3,.card p,.special-card h3,.special-card p){overflow-wrap:break-word;word-break:normal}
html[lang=ar] .reveal.visible>:is(h1,h2,h3){clip-path:none;overflow:visible}

/* Preserve the approved graphic; live numerals replace its baked-in totals. */
.social-proof-card{container-type:inline-size;overflow:hidden;border:1px solid #a7884b;border-radius:22px;background:linear-gradient(135deg,#10392c,#041e17);color:#d9bd7f}
.social-proof-visual{display:block;aspect-ratio:720/306;overflow:hidden}
.social-proof-visual img{border-radius:0;max-width:none}
.social-proof-stats{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:18px;margin:0 4.5%;padding:16px 0;border-block:1px solid #d2aa6230}
.social-proof-stats>div{min-width:0}
.social-proof-views{border-inline-start:1px solid #d2aa6230;padding-inline-start:18px}
.social-proof-stats strong{display:block;font-size:clamp(1rem,5.6cqi,2.5rem);line-height:1.25;font-weight:750;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.035em}
.social-proof-clients strong{font-size:clamp(1.8rem,7.5cqi,3rem)}
.social-proof-stats bdi{direction:ltr;unicode-bidi:isolate}
.social-proof-stats span:not(.sr-only){display:block;color:#bfd0c6;font-size:clamp(.875rem,3cqi,1.125rem);line-height:1.4;margin-top:4px}
.social-proof-tagline{margin:0;padding:12px 4.5%;font-size:clamp(.875rem,3.5cqi,1.2rem);line-height:1.4;font-weight:750;text-align:center;text-wrap:balance}
html[lang=ar] .social-proof-stats strong{letter-spacing:0}
html[lang=ar] .social-proof-tagline{line-height:1.6}
@container(max-width:320px){.social-proof-stats{grid-template-columns:1fr;gap:10px}.social-proof-clients{display:flex;align-items:center;gap:12px}.social-proof-views{border:0;padding:0}.social-proof-views strong{font-size:clamp(1.25rem,7cqi,1.75rem)}}

/* Specific, readable agency heading and service introduction. */
.industry-title h1{font-size:clamp(2rem,5.1vw,4.6rem);line-height:1.12;overflow-wrap:normal}
.industry-title .agency-intro{max-width:680px;font-size:1rem;line-height:1.75;margin:20px 0 0;color:var(--m)}
@media(max-width:700px){.industry-title h1{font-size:clamp(2rem,8.3vw,3.1rem);line-height:1.15;margin-bottom:20px}}
html[lang=ar] .industry-title h1{font-size:clamp(1.85rem,4.6vw,3.8rem);line-height:1.5}

/* Source-attributed feedback: one image and one card per unique review. */
.testimonials{padding:72px max(6vw,22px);background:#041f19;overflow:hidden}
.testimonials .title{max-width:1120px;margin:0 auto 24px}
.testimonials .title h2{font-size:clamp(1.85rem,3.5vw,3rem);line-height:1.15;margin:12px 0 0;letter-spacing:-.025em}
.review-list{display:flex;gap:16px;max-width:1120px;margin-inline:auto;padding:4px 0 14px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#9f8048 #06251d}
.review-list:focus-visible{outline:2px solid #c7a45e;outline-offset:6px;border-radius:18px}
.review-avatar.review-initials{display:grid;place-items:center;color:#d1b572;font-size:1rem;font-weight:700}
.review-card{display:flex;flex-direction:column;flex:0 0 min(340px,calc(100vw - 44px));width:min(340px,calc(100vw - 44px));max-width:100%;gap:16px;padding:20px;border:1px solid #9f8048;border-radius:18px;background:linear-gradient(135deg,#10382c,#06251d);color:#f4eee2;text-align:start;overflow-wrap:break-word;scroll-snap-align:start}
.review-person{display:flex;align-items:center;gap:12px;min-width:0}
.review-avatar{display:block;width:48px;height:48px;flex:none;border:1px solid #bd9c5b;border-radius:50%;object-fit:contain;background:#06251d}
.review-person>div{min-width:0}
.review-person h3{margin:0;font-size:1rem;font-weight:700;line-height:1.4}
.review-person p{margin:4px 0 0;color:#b9c9bf;font-size:.8125rem;line-height:1.5}
.review-content{min-width:0}
.review-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;height:24px}
.review-quote-mark{color:#d2aa6280;font:2.5rem/1 Georgia;flex:none}
.review-card .stars{font-size:.9375rem;direction:ltr;text-align:start}
.review-card blockquote{margin:12px 0 0;font-size:1rem;line-height:1.7}
.review-card .review-translation{display:block;margin-top:18px;color:#b9c9bf;font-size:.8125rem;line-height:1.6}
.review-source{max-width:1120px;margin:18px auto 0;color:#b9c9bf;font-size:.8125rem;line-height:1.6}
.testimonials.reveal.visible .review-card :is(h3,p,blockquote){animation:none}
.testimonials.visible .review-card{animation:reviewEntrance .7s ease-out both}
@keyframes reviewEntrance{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
html[lang=ar] .testimonials .title h2{font-size:clamp(1.85rem,3.5vw,3rem);line-height:1.5}
html[lang=ar] .review-card blockquote{line-height:1.9}
html[dir=rtl] .review-card .stars{text-align:right}
@media(max-width:700px){.testimonials{padding:52px 22px}.testimonials .title{margin-bottom:20px}}
@media(prefers-reduced-motion:reduce){.testimonials.visible .review-card{animation:none!important}}

/* Arabic: a separate header prevents the real logo overlapping the logo baked into video. */
html[lang=ar] .nav{position:relative;top:auto;height:auto;min-height:90px;padding:14px max(4vw,16px);gap:24px;background:#062c22;flex-wrap:wrap}
html[lang=ar] .nav .brand{flex:0 0 auto;order:0}
html[lang=ar] .nav .brand img{width:160px;filter:none}
html[lang=ar] .nav nav{margin-left:0;margin-inline-start:auto;gap:24px}
html[lang=ar] .nav nav a{font-size:1.0625rem;line-height:1.7;white-space:nowrap}
html[lang=ar] .nav .right{margin:0;order:2;flex:0 0 auto}
html[lang=ar] .langs{direction:ltr}
html[lang=ar] .langs a{font-size:.875rem;min-width:36px;min-height:40px;padding:5px 8px;color:#ddd8c8}
html[lang=ar] .langs a.active{color:#031d17}
html[lang=ar] .hero{width:min(calc(100% - 32px),1280px);height:auto;min-height:0;aspect-ratio:16/9;margin:18px auto 0;padding:0;border:1px solid #b88a43;border-radius:24px;background:#02130f;overflow:hidden}
html[lang=ar] .hero video{object-fit:contain;border-radius:inherit}

/* Cairo needs more breathing room than Latin all-caps captions. */
html[lang=ar] body{font-size:1.0625rem;line-height:1.9}
html[lang=ar] .kicker,html[lang=ar] .client-label,html[lang=ar] .motion-copy h2.kicker{font-size:1.125rem;line-height:1.8;letter-spacing:0!important;font-weight:700;color:#d9b975}
html[lang=ar] .reveal.visible>.kicker{animation-name:arabicKickerIn}
@keyframes arabicKickerIn{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}
html[lang=ar] :is(.title h2,.process-copy h2,.contact h2){font-size:clamp(2rem,4.3vw,3.6rem);line-height:1.5}
html[lang=ar] .industry-title h1{font-size:clamp(2.1rem,4.5vw,3.9rem);line-height:1.5}
html[lang=ar] :is(.title>p,.industry-title .agency-intro,.motion-copy>p,.special-card p,.coverage p,.steps p,.project p,.contact p,.contact li){font-size:1.0625rem;line-height:1.9}
html[lang=ar] :is(.industry-grid span,.stats span,label,.btn,.hero-cta span,.motion-cta label,.team-card span,.team-card p,.project span,.tags){font-size:1rem;line-height:1.8;letter-spacing:0}
html[lang=ar] :is(.team-card span,.project span,.motion-cta label){color:#d9b975;font-weight:700}
html[lang=ar] .hero-cta{width:min(430px,100%);padding:10px 16px;min-height:48px;letter-spacing:0}
html[lang=ar] .hero-cta span{min-width:0}
html[lang=ar] :is(.industry-grid,.service-grid,.team-grid,.special-grid,.project-grid){min-width:0}
html[lang=ar] .industry-grid div{padding:18px 10px;min-width:0}
html[lang=ar] .coverage h3{font-size:1.1875rem;line-height:1.7}
html[lang=ar] .coverage article{padding-inline:max(3vw,22px)}
html[lang=ar] :is(.special-card>div,.steps article>div,.coverage article>div){min-width:0}
html[lang=ar] :is(p,h3,label,a){overflow-wrap:break-word}

/* Give full Arabic descriptions their own space rather than hiding them over photos. */
html[lang=ar] .card{aspect-ratio:auto;min-height:0;display:flex;flex-direction:column;align-items:stretch}
html[lang=ar] .card>.card-photo{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
html[lang=ar] .card:after{display:none}
html[lang=ar] .card>.brand-watermark{left:auto!important;right:14px!important;top:14px!important}
html[lang=ar] .card-content{padding:20px;width:100%;background:#031d17;flex:1}
html[lang=ar] .card h3{font-size:1.25rem;line-height:1.65;margin:12px 0 8px}
html[lang=ar] .card p{font-size:1.0625rem;line-height:1.9;display:block;overflow:visible;-webkit-line-clamp:unset}
html[lang=ar] .team-card{aspect-ratio:auto;display:flex;flex-direction:column}
html[lang=ar] .team-card img{height:auto;aspect-ratio:2/3;object-fit:contain}
html[lang=ar] .team-card:after{display:none}
html[lang=ar] .team-card>div{position:relative;inset:auto;padding:20px;background:#06251e;flex:1}
html[lang=ar] .team-card h3{font-size:1.375rem;line-height:1.65}
html[lang=ar] .review-person p,html[lang=ar] .review-card .review-translation,html[lang=ar] .review-source{font-size:.9375rem;line-height:1.8}
html[lang=ar] .review-card blockquote{font-size:1.0625rem;line-height:1.9}
html[lang=ar] footer{font-size:1rem;line-height:1.9}
html[lang=ar] footer>small{font-size:.9375rem}
html[lang=ar] .legal{flex-wrap:wrap}
html[lang=ar] .legal button{font-size:1rem;line-height:1.8;min-height:44px}
html[lang=ar] .social-proof-tagline{font-size:1.0625rem;line-height:1.8}
html[lang=ar] .social-proof-stats span:not(.sr-only){font-size:1rem;line-height:1.7}

@media(max-width:1100px){
 html[lang=ar] .nav{gap:12px;min-height:82px}
 html[lang=ar] .nav .brand{margin-inline-end:auto}
 html[lang=ar] .nav .menu{display:flex;order:3;margin:0;flex:0 0 44px}
 html[lang=ar] .nav nav{display:none;position:static;order:4;flex:0 0 100%;margin:0;padding:18px;border:1px solid var(--l);border-radius:14px;background:#031d17;flex-direction:column;gap:12px}
 html[lang=ar] .nav nav.open{display:flex}
 html[lang=ar] .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 html[lang=ar] .nav{padding:10px 12px;gap:8px;min-height:76px}
 html[lang=ar] .nav .brand img{width:112px}
 html[lang=ar] .langs a{min-width:32px;padding:5px 6px;font-size:.8125rem}
 html[lang=ar] .hero{width:calc(100% - 24px);margin-top:12px;border-radius:18px}
 html[lang=ar] .service-grid{grid-template-columns:1fr}
 html[lang=ar] .special-card{flex-direction:column;gap:16px}
 html[lang=ar] .kicker,html[lang=ar] .client-label,html[lang=ar] .motion-copy h2.kicker{font-size:1.0625rem}
 html[lang=ar] .team-card>div{padding:16px}
 html[lang=ar] .team-card h3{font-size:1.1875rem}
}

/* Approved trilingual film: preserve all titles and the complete 16:9 frame. */
html .hero{width:min(calc(100% - 32px),1280px);height:auto;min-height:0;aspect-ratio:16/9;margin:108px auto 0;padding:0;border:1px solid #b88a43;border-radius:24px;overflow:hidden}
html .hero video{width:100%;height:100%;object-fit:contain;border-radius:inherit}
html .hero .veil{display:none}
html[lang=ar] .hero{margin-top:18px}
@media(max-width:700px){html .hero{width:calc(100% - 24px);margin-top:84px;border-radius:20px}html[lang=ar] .hero{margin-top:12px}}
/* Direct social profiles: compact touch targets, no third-party embeds. */
.profile-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:0;padding:14px 20px}
.profile-links a{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:8px 15px;border:1px solid #d2aa6259;border-radius:999px;color:#d2aa62;font-size:1rem;font-weight:600;line-height:1.5;text-decoration:none;transition:background-color .2s,border-color .2s}
.profile-links a:hover{background:#d2aa6214;border-color:#d2aa62}
.profile-links a:focus-visible{outline:2px solid #f0d28f;outline-offset:4px}
.profile-icon{display:block;flex:0 0 20px;width:20px;height:20px;background:currentColor}
.profile-icon-instagram{-webkit-mask:url('/assets/social-instagram.svg') center/contain no-repeat;mask:url('/assets/social-instagram.svg') center/contain no-repeat}
.profile-icon-tiktok{-webkit-mask:url('/assets/social-tiktok.svg') center/contain no-repeat;mask:url('/assets/social-tiktok.svg') center/contain no-repeat}
footer .profile-links{grid-column:1/-1;justify-content:flex-start;padding:0}
