
.inner-page{padding-top:78px}.inner-hero{min-height:68vh;display:flex;align-items:center;position:relative;overflow:hidden;padding:140px 0 100px;background:var(--bg)}.inner-hero.compact{min-height:46vh}.inner-hero .container{position:relative;z-index:2}.inner-hero h1{font-size:clamp(48px,7vw,92px);max-width:1050px;line-height:1.06;margin:24px 0;letter-spacing:-3px}.inner-hero p{max-width:760px;font-size:19px;line-height:1.9;color:var(--muted)}.alt{background:var(--bg-2)}.split-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:stretch}.content-card,.legal-card{padding:52px;border:1px solid var(--line);border-radius:28px;background:linear-gradient(145deg,var(--surface),rgba(37,99,235,.035))}.content-card h2,.contact-side h2{font-size:clamp(32px,4vw,58px);margin:20px 0}.content-card p,.legal-card p,.contact-side p{color:var(--muted);line-height:1.95}.image-frame{position:relative}.image-frame::before{content:"";position:absolute;inset:-12px;border:1px solid rgba(0,212,255,.22);border-radius:34px}.feature-image,.case-cover{width:100%;height:100%;max-height:620px;object-fit:cover;border-radius:28px;border:1px solid var(--line);position:relative}.stats-row{display:flex;gap:28px;margin-top:40px;flex-wrap:wrap}.stats-row div{display:flex;flex-direction:column}.stats-row strong{font-size:34px}.stats-row span{color:var(--muted)}.values-orbit{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.value-card{position:relative;padding:32px;border-radius:24px;background:var(--surface);border:1px solid var(--line);overflow:hidden;transition:.35s}.value-card::after{content:"";position:absolute;width:140px;height:140px;border-radius:50%;background:radial-gradient(circle,rgba(124,58,237,.22),transparent 70%);top:-70px;inset-inline-end:-70px}.value-card:hover{transform:translateY(-10px);border-color:rgba(0,212,255,.35)}.value-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(37,99,235,.2),rgba(124,58,237,.2));color:#00d4ff;font-size:26px}.value-card>span{display:block;color:#64748b;font:700 12px Inter;margin:26px 0 8px}.value-card p{color:var(--muted);line-height:1.8}.timeline-pro{display:grid;grid-template-columns:.7fr 1.3fr;gap:70px}.timeline-line{position:relative;display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.timeline-line::before{content:"";position:absolute;inset-inline-start:50%;top:0;bottom:0;width:1px;background:linear-gradient(#2563eb,#7c3aed)}.timeline-line article{padding:28px;border:1px solid var(--line);border-radius:22px;background:var(--surface)}.timeline-line b{color:#00d4ff}.timeline-line p{color:var(--muted)}
.services-showcase{display:grid;gap:24px}.service-detail{display:grid;grid-template-columns:80px 1.15fr .85fr;gap:36px;align-items:center;padding:44px;border:1px solid var(--line);border-radius:28px;background:linear-gradient(145deg,var(--surface),rgba(37,99,235,.035));overflow:hidden}.service-index{font:800 34px Inter;color:rgba(255,255,255,.16);align-self:start}.service-main h2{font-size:clamp(30px,4vw,56px);margin:16px 0}.service-main p,.service-main li{color:var(--muted);line-height:1.85}.service-main ul{display:flex;gap:10px;flex-wrap:wrap;list-style:none;padding:0}.service-main li{padding:8px 12px;border:1px solid var(--line);border-radius:999px;font-size:12px}.service-visual{min-height:310px;border-radius:22px;background:#080a12;border:1px solid rgba(255,255,255,.08);display:grid;place-items:center;padding:24px}.visual-window{width:100%;height:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.visual-window span{width:8px;height:8px;border-radius:50%;background:#64748b}.visual-window b{grid-column:span 3;border-radius:14px;background:linear-gradient(140deg,rgba(37,99,235,.35),rgba(124,58,237,.13))}.visual-window b:last-child{grid-column:span 2}.commerce-stack{display:flex;align-items:flex-end;gap:14px}.commerce-stack span{width:70px;height:160px;border-radius:18px;background:linear-gradient(160deg,#2563eb,#7c3aed);box-shadow:0 20px 50px rgba(37,99,235,.22)}.commerce-stack span:nth-child(2){height:230px}.dashboard-mini{width:100%;height:230px;display:grid;grid-template-columns:1fr 1fr;gap:14px}.dashboard-mini b{border-radius:16px;background:linear-gradient(145deg,rgba(0,212,255,.26),rgba(37,99,235,.08));border:1px solid rgba(0,212,255,.15)}.dashboard-mini b:first-child{grid-column:span 2}.phone-mock{width:150px;height:280px;border-radius:34px;border:10px solid #171a25;background:linear-gradient(160deg,#2563eb,#7c3aed);position:relative}.phone-mock::before{content:"";position:absolute;top:9px;left:50%;transform:translateX(-50%);width:45px;height:5px;border-radius:99px;background:#07070a}
.filter-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:36px}.filter-row button{padding:11px 20px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--text);cursor:pointer}.filter-row button.active{background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;border-color:transparent}.portfolio-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.project-card{display:block;padding:14px;border:1px solid var(--line);border-radius:28px;background:var(--surface);transition:.35s}.project-card.hidden{display:none}.project-card:hover{transform:translateY(-8px);border-color:rgba(0,212,255,.3)}.project-media{height:390px;overflow:hidden;border-radius:20px;position:relative}.project-media img{width:100%;height:100%;object-fit:cover;transition:.7s}.project-card:hover img{transform:scale(1.06)}.project-arrow{position:absolute;top:18px;inset-inline-end:18px;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:rgba(5,7,15,.75);border:1px solid rgba(255,255,255,.12)}.project-card>div:last-child{padding:22px 12px 12px}.project-card span,.project-card b{color:var(--muted)}.project-card h3{font-size:30px;margin:8px 0 18px}.case-cover{height:620px}.case-layout{display:grid;grid-template-columns:1.5fr .7fr;gap:40px;margin-top:48px}.case-layout article h2{font-size:48px}.case-layout article p{font-size:18px;color:var(--muted);line-height:2}.case-meta{padding:30px;border-radius:24px;background:var(--surface);border:1px solid var(--line);height:max-content;display:grid;gap:24px}.case-meta div{display:flex;flex-direction:column;gap:7px}.case-meta span{color:var(--muted)}
.featured-article{display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center;margin-bottom:60px;padding:20px;border:1px solid var(--line);border-radius:28px;background:var(--surface)}.article-image{height:460px;border-radius:22px;overflow:hidden}.article-image img{width:100%;height:100%;object-fit:cover}.featured-article h2{font-size:clamp(34px,4vw,58px);margin:20px 0}.featured-article p{color:var(--muted);line-height:1.9}.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.blog-card{position:relative;padding:34px;border:1px solid var(--line);border-radius:24px;background:var(--surface);overflow:hidden;transition:.35s}.blog-card::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(124,58,237,.17),transparent 45%);opacity:0;transition:.35s}.blog-card:hover{transform:translateY(-9px);border-color:rgba(0,212,255,.3)}.blog-card:hover::before{opacity:1}.blog-card>i{font-size:30px;color:#00d4ff;display:block;margin:28px 0}.blog-card>span,.blog-card p{color:var(--muted)}.blog-card h2{font-size:26px;line-height:1.5;position:relative}.blog-card a{color:#00d4ff;font-weight:700;position:relative}
.contact-pro{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px}.contact-info{display:grid;gap:12px;margin-top:30px}.contact-info a,.contact-info>div{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.contact-info i{color:#00d4ff}.availability{display:flex;align-items:center;gap:10px;margin-top:24px}.contact-form-pro{padding:38px;border-radius:26px;background:linear-gradient(145deg,var(--surface),rgba(37,99,235,.04));border:1px solid var(--line);display:grid;gap:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.contact-form-pro label{display:grid;gap:8px;color:var(--muted)}.contact-form-pro input,.contact-form-pro textarea,.contact-form-pro select{width:100%;border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:14px;padding:15px;outline:none}.contact-form-pro input:focus,.contact-form-pro textarea:focus,.contact-form-pro select:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}.form-status{color:#34d399}.mini-faq{display:grid;grid-template-columns:.7fr 1.3fr;gap:50px}.faq-list{display:grid;gap:12px}.faq-item{border:1px solid var(--line);border-radius:18px;background:var(--surface);overflow:hidden}.faq-item button{width:100%;display:flex;justify-content:space-between;padding:20px;background:none;border:0;color:var(--text);font:700 16px Cairo;text-align:start}.faq-item>div{max-height:0;overflow:hidden;transition:.35s}.faq-item p{padding:0 20px 20px;color:var(--muted);line-height:1.8}.faq-item.open>div{max-height:200px}.faq-item.open button i{transform:rotate(45deg)}.legal-card{max-width:900px;margin:auto}.legal-card h2{margin-top:34px}
@media(max-width:991px){.split-grid,.timeline-pro,.service-detail,.featured-article,.case-layout,.contact-pro,.mini-faq{grid-template-columns:1fr}.values-orbit,.blog-grid{grid-template-columns:1fr 1fr}.timeline-line::before{display:none}.portfolio-grid{grid-template-columns:1fr}.service-detail{grid-template-columns:60px 1fr}.service-visual{grid-column:1/-1}.project-media{height:330px}.footer-top{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.inner-hero{min-height:58vh;padding-top:100px}.inner-hero h1{letter-spacing:-1.5px}.content-card,.legal-card,.service-detail{padding:26px}.values-orbit,.blog-grid,.timeline-line{grid-template-columns:1fr}.service-detail{grid-template-columns:1fr}.service-index{order:-1}.project-media{height:250px}.case-cover{height:340px}.case-layout article h2{font-size:34px}.featured-article{padding:14px}.article-image{height:280px}.form-grid{grid-template-columns:1fr}.contact-form-pro{padding:25px}}


/* Polished v3: calmer inner page headings */
.inner-hero{min-height:58vh;padding:125px 0 82px}
.inner-hero h1{font-size:clamp(38px,5.3vw,70px);line-height:1.16;letter-spacing:-2px;max-width:980px}
.inner-hero p{font-size:clamp(16px,1.45vw,18px);max-width:720px}
@media(max-width:640px){.inner-hero{min-height:52vh;padding:105px 0 70px}.inner-hero h1{font-size:clamp(34px,10vw,48px);line-height:1.25;letter-spacing:-1px}}


/* ==========================================================
   V6.3 INNER PAGE REFINEMENTS
   ========================================================== */
@media(max-width:700px){
  .content-card,.legal-card{padding:28px 20px!important;}
  .stats-row-compact{margin-top:26px!important;}
}


/* ==========================================================
   V6.4 — SERVICE PAGE & JOURNEY MOTION
========================================================== */

/* Premium service visual scenes */
.service-visual{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 75% 18%,rgba(0,212,255,.13),transparent 28%),
    linear-gradient(145deg,#070b16,#101a31)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 24px 58px rgba(10,16,40,.22);
}
.service-visual::before{
  content:"";position:absolute;inset:0;
  background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:28px 28px;mask-image:linear-gradient(to bottom,black,transparent 88%);
}
.visual-window{position:relative;z-index:1;padding:18px;border:1px solid rgba(255,255,255,.11);border-radius:20px;background:rgba(7,10,18,.72);box-shadow:0 24px 55px rgba(0,0,0,.28)}
.visual-window::before{content:"";grid-column:1/-1;height:28px;border-radius:10px;background:linear-gradient(90deg,rgba(37,99,235,.35),rgba(255,255,255,.05))}
.visual-window span{background:linear-gradient(135deg,#00d4ff,#7c3aed)!important;box-shadow:12px 0 0 rgba(255,255,255,.08),24px 0 0 rgba(255,255,255,.05)}
.visual-window b{border:1px solid rgba(125,211,252,.10);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}

.commerce-stack{position:relative;z-index:1;perspective:800px}
.commerce-stack::before{content:"";position:absolute;left:50%;bottom:-30px;transform:translateX(-50%);width:270px;height:80px;border-radius:50%;background:radial-gradient(ellipse,rgba(37,99,235,.35),transparent 68%);filter:blur(8px)}
.commerce-stack span{position:relative;width:78px!important;border:1px solid rgba(255,255,255,.14);background:linear-gradient(165deg,#11182c,#2563eb 62%,#7c3aed)!important;transform:rotateY(-11deg) translateY(12px);box-shadow:0 24px 48px rgba(37,99,235,.22)!important}
.commerce-stack span:nth-child(2){transform:none;background:linear-gradient(165deg,#10172a,#7c3aed 58%,#00d4ff)!important}
.commerce-stack span:nth-child(3){transform:rotateY(11deg) translateY(12px)}
.commerce-stack span::after{content:"";position:absolute;left:13px;right:13px;top:17px;height:8px;border-radius:99px;background:rgba(255,255,255,.28);box-shadow:0 21px 0 rgba(255,255,255,.11),0 42px 0 rgba(255,255,255,.07)}

.dashboard-mini{position:relative;z-index:1;padding:16px;border:1px solid rgba(255,255,255,.10);border-radius:20px;background:rgba(6,10,19,.7)}
.dashboard-mini b{position:relative;overflow:hidden;background:linear-gradient(145deg,rgba(0,212,255,.22),rgba(37,99,235,.07))!important}
.dashboard-mini b::after{content:"";position:absolute;inset:auto 12px 12px;height:5px;border-radius:99px;background:linear-gradient(90deg,#00d4ff,#7c3aed);box-shadow:0 -18px 0 rgba(255,255,255,.08)}

.phone-mock{z-index:1;box-shadow:0 28px 60px rgba(37,99,235,.30)}
.phone-mock span{position:absolute;inset:50px 16px 18px;border-radius:18px;background:linear-gradient(155deg,rgba(255,255,255,.18),rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.12)}
.phone-mock span::after{content:"";position:absolute;left:13px;right:13px;bottom:16px;height:42px;border-radius:12px;background:rgba(255,255,255,.14);box-shadow:0 -62px 0 rgba(255,255,255,.08)}

/* "Our Journey" cards: animated ambient glow and staggered motion. */
.timeline-line article{
  position:relative;
  overflow:hidden;
  transition:transform .38s ease,border-color .38s ease,box-shadow .38s ease;
  animation:journeyFloat 5.5s ease-in-out infinite;
}
.timeline-line article:nth-child(2){animation-delay:.7s}
.timeline-line article:nth-child(3){animation-delay:1.4s}
.timeline-line article:nth-child(4){animation-delay:2.1s}
.timeline-line article::before{
  content:"";position:absolute;width:120px;height:120px;border-radius:50%;
  top:-72px;inset-inline-end:-58px;
  background:radial-gradient(circle,rgba(0,212,255,.30),rgba(124,58,237,.10) 45%,transparent 72%);
  transition:transform .45s ease;
}
.timeline-line article::after{
  content:"";position:absolute;inset:0;padding:1px;border-radius:inherit;
  background:linear-gradient(120deg,transparent 15%,rgba(0,212,255,.55),transparent 48%,rgba(124,58,237,.52),transparent 85%);
  background-size:220% 100%;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
  animation:journeyBorder 5s linear infinite;
  pointer-events:none;
}
.timeline-line article:hover{transform:translateY(-9px) scale(1.015);border-color:rgba(0,212,255,.35);box-shadow:0 24px 50px rgba(37,99,235,.15)}
.timeline-line article:hover::before{transform:scale(1.35) translate(-8px,8px)}
.timeline-line article b{font-size:14px;letter-spacing:.08em}
@keyframes journeyFloat{0%,100%{translate:0 0}50%{translate:0 -5px}}
@keyframes journeyBorder{to{background-position:-220% 0}}
@media(prefers-reduced-motion:reduce){.timeline-line article,.timeline-line article::after{animation:none!important}}


/* ELITOV V8 internal-page density refinements */
.page-hero,.inner-hero{padding-top:clamp(130px,15vw,180px)!important;padding-bottom:clamp(70px,8vw,110px)!important}
.service-detail,.service-row{min-height:auto!important;padding-block:clamp(48px,6vw,82px)!important}
.service-detail h2,.service-row h2{font-size:clamp(1.8rem,3.1vw,3rem)!important;line-height:1.2!important}
.portfolio-card,.project-card{border-radius:22px!important}
@media(max-width:700px){.page-hero,.inner-hero{padding-top:112px!important;padding-bottom:62px!important}}
.service-visual{min-height:250px!important;padding:20px!important}
.project-media{height:320px!important}.project-card h3{font-size:clamp(24px,2.2vw,28px)!important;margin:7px 0 14px!important}.project-card>div:last-child{padding:18px 10px 10px!important}
@media(max-width:991px){.project-media{height:290px!important}}
@media(max-width:640px){.service-visual{min-height:210px!important}.project-media{height:235px!important}}
\n\n/* ===== ELITOV V8.2 inner pages refinement ===== */
.inner-hero{min-height:clamp(390px,52vh,540px)!important;padding-top:120px!important;padding-bottom:60px!important}
.inner-hero h1{font-size:clamp(2.05rem,3.65vw,3.65rem)!important;line-height:1.12!important}
.services-showcase{gap:18px!important}.service-detail{grid-template-columns:58px 1.2fr .72fr!important;gap:24px!important;padding:30px!important;border-radius:24px!important}.service-index{font-size:27px!important}.service-main h2{font-size:clamp(1.55rem,2.35vw,2.35rem)!important;margin:10px 0!important;line-height:1.18!important}.service-main p,.service-main li{line-height:1.65!important}.service-visual{min-height:210px!important;padding:16px!important}.service-detail-cta{margin-top:12px!important}
.portfolio-grid{gap:20px!important}.project-card{padding:12px!important;border-radius:22px!important}.project-media{height:300px!important}.project-card>div:last-child{padding:16px 8px 8px!important}.project-card h3{font-size:clamp(22px,1.9vw,27px)!important;margin:5px 0!important}.project-title-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.project-inline-arrow{flex:0 0 40px;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);background:var(--surface);transition:.3s}.project-card:hover .project-inline-arrow{background:var(--primary);color:#fff;transform:translate(-2px,-2px)}
.case-cover{height:clamp(340px,48vw,540px)!important;border-radius:26px;object-fit:cover}.case-layout{grid-template-columns:1.45fr .62fr!important;gap:24px!important;margin-top:24px!important}.case-story-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.case-story-card{padding:28px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(145deg,var(--surface),rgba(37,99,235,.035))}.case-story-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;margin-bottom:18px;background:rgba(37,99,235,.1);color:#38bdf8;font-size:20px}.solution-card .case-story-icon{background:rgba(124,58,237,.12);color:#a78bfa}.case-layout article h2{font-size:clamp(1.65rem,2.4vw,2.35rem)!important;margin:0 0 12px!important}.case-layout article p{font-size:16px!important;line-height:1.75!important;margin:0!important}.case-meta{padding:24px!important;border-radius:22px!important;gap:0!important}.case-meta div{padding:16px 0;border-bottom:1px solid var(--line);gap:5px!important}.case-meta div:first-child{padding-top:0}.case-meta div:last-child{border-bottom:0;padding-bottom:0}
html[data-theme="light"] .about-stat-icon{color:#1d4ed8!important;background:rgba(37,99,235,.11)!important;border-color:rgba(37,99,235,.22)!important}
@media(max-width:991px){.service-detail{grid-template-columns:48px 1fr!important}.service-visual{grid-column:1/-1}.case-layout{grid-template-columns:1fr!important}.case-story-grid{grid-template-columns:1fr 1fr}.project-media{height:280px!important}}
@media(max-width:640px){.inner-hero{min-height:360px!important;padding-top:105px!important;padding-bottom:42px!important}.service-detail{grid-template-columns:1fr!important;padding:22px!important}.service-visual{min-height:180px!important}.project-media{height:230px!important}.case-story-grid{grid-template-columns:1fr}.case-story-card{padding:22px}.case-cover{height:300px!important}}

/* ===== ELITOV V8.4 internal visual heroes + tighter type ===== */
.inner-hero h1{font-size:clamp(1.85rem,3vw,3rem)!important;line-height:1.16!important;letter-spacing:-.02em!important}
.inner-hero-with-visual{min-height:430px!important;padding-top:112px!important;padding-bottom:52px!important}
.inner-hero-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(300px,.72fr);align-items:center;gap:clamp(34px,5vw,72px)}
.inner-hero-copy p{font-size:16px!important;line-height:1.8!important;max-width:680px}
.inner-hero-visual{height:clamp(245px,27vw,350px);border-radius:26px;overflow:hidden;border:1px solid var(--line);position:relative;background:var(--surface);box-shadow:0 24px 70px rgba(0,0,0,.18)}
.inner-hero-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(37,99,235,.08),transparent 42%,rgba(124,58,237,.08));pointer-events:none}
.inner-hero-visual img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s ease}.inner-hero-visual:hover img{transform:scale(1.025)}
/* Three project information panels occupy the same visual footprint as each story card. */
.case-layout{grid-template-columns:2fr 1fr!important;gap:18px!important;align-items:stretch!important}.case-layout>article{min-width:0}.case-story-grid{height:100%!important}.case-story-card{height:100%!important}.case-meta{height:100%!important;min-width:0!important;padding:20px!important;border-radius:24px!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,1fr)!important;gap:10px!important}.case-meta div,.case-meta div:first-child,.case-meta div:last-child{min-height:0!important;padding:14px 16px!important;border:1px solid var(--line)!important;border-radius:15px!important;justify-content:center!important}
.featured-article h2{font-size:clamp(1.65rem,2.45vw,2.45rem)!important;line-height:1.3!important}
.blog-card h2{font-size:clamp(1.18rem,1.55vw,1.45rem)!important}
.article-hero h1{font-size:clamp(2rem,3.5vw,3.25rem)!important;line-height:1.22!important}
@media(max-width:991px){.inner-hero-layout{grid-template-columns:1fr;gap:28px}.inner-hero-with-visual{padding-bottom:44px!important}.inner-hero-visual{height:300px}.case-layout{grid-template-columns:1fr!important}.case-meta{height:auto!important;grid-template-columns:repeat(3,1fr)!important;grid-template-rows:1fr!important}}
@media(max-width:640px){.inner-hero h1{font-size:clamp(1.75rem,8vw,2.35rem)!important}.inner-hero-visual{height:230px;border-radius:20px}.case-meta{grid-template-columns:1fr!important;grid-template-rows:repeat(3,auto)!important}.featured-article h2{font-size:1.55rem!important}.article-hero h1{font-size:clamp(1.85rem,8vw,2.5rem)!important}}

/* V8.6 — real full-width image heroes (inner pages only) */
.inner-hero.hero-bg-about,
.inner-hero.hero-bg-services,
.inner-hero.hero-bg-portfolio,
.inner-hero.hero-bg-blog,
.inner-hero.hero-bg-contact,
.inner-hero.hero-bg-privacy,
.inner-hero.hero-bg-terms{
  min-height:clamp(390px,48vh,500px)!important;
  padding:clamp(125px,12vw,155px) 0 clamp(62px,7vw,86px)!important;
  background-color:#080a12!important;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  isolation:isolate;
}
.inner-hero.hero-bg-about{background-image:linear-gradient(90deg,rgba(5,7,14,.93) 0%,rgba(5,7,14,.78) 46%,rgba(5,7,14,.40) 100%),url('../images/heroes/about-hero.jpg')!important}
.inner-hero.hero-bg-services{background-image:linear-gradient(90deg,rgba(5,7,14,.94) 0%,rgba(5,7,14,.79) 48%,rgba(5,7,14,.38) 100%),url('../images/heroes/services-hero.jpg')!important}
.inner-hero.hero-bg-portfolio{background-image:linear-gradient(90deg,rgba(5,7,14,.94) 0%,rgba(5,7,14,.76) 48%,rgba(5,7,14,.34) 100%),url('../images/heroes/work-hero.jpg')!important}
.inner-hero.hero-bg-blog{background-image:linear-gradient(90deg,rgba(5,7,14,.94) 0%,rgba(5,7,14,.77) 48%,rgba(5,7,14,.38) 100%),url('../images/heroes/blog-hero.jpg')!important}
.inner-hero.hero-bg-contact{background-image:linear-gradient(90deg,rgba(5,7,14,.94) 0%,rgba(5,7,14,.78) 48%,rgba(5,7,14,.38) 100%),url('../images/heroes/contact-hero.jpg')!important}
.inner-hero.hero-bg-privacy{background-image:linear-gradient(90deg,rgba(5,7,14,.95) 0%,rgba(5,7,14,.80) 48%,rgba(5,7,14,.40) 100%),url('../images/heroes/privacy-hero.jpg')!important}
.inner-hero.hero-bg-terms{background-image:linear-gradient(90deg,rgba(5,7,14,.95) 0%,rgba(5,7,14,.80) 48%,rgba(5,7,14,.40) 100%),url('../images/heroes/terms-hero.jpg')!important}
.legal-email{color:#00d4ff;font-weight:700;text-decoration:none;transition:.25s}.legal-email:hover{color:#a78bfa;text-decoration:underline}
.inner-hero[class*="hero-bg-"]::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(124,58,237,.08),transparent 42%,rgba(0,212,255,.05));z-index:0;pointer-events:none}
.inner-hero[class*="hero-bg-"] .hero-grid{opacity:.18;z-index:0}
.inner-hero[class*="hero-bg-"] .aurora{opacity:.22}
.inner-hero[class*="hero-bg-"] .container{z-index:2}
.inner-hero[class*="hero-bg-"] .inner-hero-copy{max-width:790px}
.inner-hero[class*="hero-bg-"] h1{color:#fff!important;text-shadow:0 3px 24px rgba(0,0,0,.35)}
.inner-hero[class*="hero-bg-"] p{color:rgba(255,255,255,.78)!important}
.inner-hero[class*="hero-bg-"] .eyebrow{color:#d8c6ff!important;background:rgba(124,58,237,.15);border-color:rgba(196,167,255,.35);backdrop-filter:blur(8px)}
html[dir="rtl"] .inner-hero.hero-bg-about,html[dir="rtl"] .inner-hero.hero-bg-services,html[dir="rtl"] .inner-hero.hero-bg-portfolio,html[dir="rtl"] .inner-hero.hero-bg-blog,html[dir="rtl"] .inner-hero.hero-bg-contact,html[dir="rtl"] .inner-hero.hero-bg-privacy,html[dir="rtl"] .inner-hero.hero-bg-terms{background-position:center!important}
@media(max-width:700px){
 .inner-hero.hero-bg-about,.inner-hero.hero-bg-services,.inner-hero.hero-bg-portfolio,.inner-hero.hero-bg-blog,.inner-hero.hero-bg-contact,.inner-hero.hero-bg-privacy,.inner-hero.hero-bg-terms{min-height:390px!important;padding:112px 0 58px!important;background-position:center!important}
 .inner-hero[class*="hero-bg-"] .inner-hero-copy{max-width:100%}
}


/* V8.9 final frontend polish */
.inner-hero.hero-bg-project{background-image:linear-gradient(90deg,rgba(5,7,14,.95) 0%,rgba(5,7,14,.79) 48%,rgba(5,7,14,.38) 100%),url('../images/heroes/project-detail-hero.jpg')!important;background-size:cover!important;background-position:center!important}
.inner-hero.hero-bg-project::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(124,58,237,.07),transparent 45%,rgba(0,212,255,.04));z-index:0;pointer-events:none}
.inner-hero.hero-bg-project .container{position:relative;z-index:2}.inner-hero.hero-bg-project .inner-hero-copy{max-width:790px}.inner-hero.hero-bg-project h1{color:#fff!important;text-shadow:0 3px 24px rgba(0,0,0,.4)}.inner-hero.hero-bg-project p{color:rgba(255,255,255,.8)!important}
.project-detail-content{padding-top:clamp(46px,5vw,72px)!important}
.article-hero.hero-bg-article{background-image:linear-gradient(90deg,rgba(5,7,14,.96) 0%,rgba(5,7,14,.82) 50%,rgba(5,7,14,.44) 100%),url('../images/heroes/article-detail-hero.jpg')!important;background-size:cover!important;background-position:center!important;min-height:clamp(430px,56vh,590px);display:flex;align-items:center;padding-top:125px!important;padding-bottom:70px!important}
.article-hero.hero-bg-article::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(124,58,237,.06),transparent 48%,rgba(0,212,255,.04));pointer-events:none}
.article-hero.hero-bg-article h1{color:#fff!important;text-shadow:0 3px 24px rgba(0,0,0,.42)}.article-hero.hero-bg-article .article-lead,.article-hero.hero-bg-article .article-meta,.article-hero.hero-bg-article .article-back{color:rgba(255,255,255,.78)!important}
.article-back-spaced{margin-bottom:42px!important}
html[dir="rtl"] .inner-hero.hero-bg-project,html[dir="rtl"] .article-hero.hero-bg-article{background-position:center!important}
@media(max-width:640px){.project-detail-content{padding-top:38px!important}.article-hero.hero-bg-article{min-height:410px;padding-top:105px!important;padding-bottom:52px!important}.article-back-spaced{margin-bottom:32px!important}}
/* Dynamic legal content — keep the original premium hierarchy. */
.legal-content h2,.legal-card h2,.policy-content h2{font-size:clamp(1.35rem,2vw,1.8rem);font-weight:800;margin:2rem 0 .8rem}.legal-content h3,.legal-card h3,.policy-content h3{font-size:clamp(1.15rem,1.6vw,1.45rem);font-weight:750;margin:1.6rem 0 .65rem}.legal-content a,.legal-card a,.policy-content a{color:#00d4ff;text-decoration:none}.legal-content a:hover,.legal-card a:hover,.policy-content a:hover{text-decoration:underline}.about-story-media img{width:100%;height:100%;max-height:560px;object-fit:cover;border-radius:24px;border:1px solid rgba(124,92,255,.25)}
/* Keep motion subtle and respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
  .reveal, .aurora, .cursor-glow, .page-loader, .scroll-progress { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto !important; }
}

.legal-rich-text h2{margin:34px 0 16px}.legal-rich-text h3{margin:25px 0 12px}.legal-rich-text p,.legal-rich-text li{line-height:1.9;color:var(--muted)}.legal-rich-text a,.legal-card a{color:#38bdf8;text-decoration:underline;text-underline-offset:4px}.legal-rich-text a:hover,.legal-card a:hover{color:#a78bfa}
/* Keep long Arabic and English headings comfortable at laptop widths. */
.inner-hero h1,.article-hero h1{font-size:clamp(2.15rem,4.5vw,4.1rem);line-height:1.2;max-width:100%;overflow-wrap:anywhere}
.inner-hero-copy{padding-inline:clamp(0px,2vw,20px)}.article-lead{max-width:72ch}
.project-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:48px}.project-gallery img{width:100%;height:auto;border-radius:18px}.case-description{margin-top:24px;color:var(--muted);line-height:1.85}.service-intro{font-weight:600;color:var(--text)}
@media(max-width:700px){.inner-hero h1,.article-hero h1{font-size:clamp(2rem,8.5vw,2.8rem)}.project-gallery{grid-template-columns:1fr}.inner-hero-copy{padding-inline:0}}

.blog-card-thumb{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:15px;margin-bottom:18px}
.mini-faq{align-items:start}.faq-list{gap:14px}.faq-item{border-radius:18px;box-shadow:0 14px 35px rgba(0,0,0,.08)}.faq-item button{min-height:68px;gap:20px;align-items:center}.faq-item button i{flex:0 0 auto;transition:transform .28s}.faq-item>div{transition:max-height .35s ease;max-height:0}.faq-item.open>div{max-height:700px}.faq-item.open button i{transform:rotate(45deg)}

/* Uploaded hero images take precedence over the original page artwork. */
.inner-hero[class*="hero-bg-"][style*="--cms-hero-image"],.article-hero.hero-bg-article[style*="--cms-hero-image"]{background-image:var(--cms-hero-image)!important}

/* CMS images must win over the fixed original artwork. */
.inner-hero[style*="--cms-hero-image"],.article-hero[style*="--cms-hero-image"]{background-image:var(--cms-hero-image)!important;background-size:cover!important;background-position:center!important}

.service-visual img{display:block;width:100%;height:100%;max-height:280px;object-fit:contain;border-radius:15px}.service-detail{min-width:0}.service-main{min-width:0}
/* Let longer case studies determine their own height without tall empty panels. */
.case-layout{align-items:start!important}.case-layout>article,.case-story-grid,.case-story-card,.case-meta{height:auto!important;min-height:0!important}.case-meta{grid-template-rows:none!important}.case-meta div{justify-content:flex-start!important}
@media(max-width:991px){.case-layout{grid-template-columns:1fr!important}}
.article-rich-text h2{font-size:clamp(1.6rem,3vw,2.25rem);margin:1.8em 0 .65em}.article-rich-text h3{font-size:clamp(1.3rem,2.3vw,1.7rem);margin:1.5em 0 .6em}.article-rich-text p,.article-rich-text li{line-height:1.9}.article-rich-text ul,.article-rich-text ol{padding-inline-start:1.6em;margin:1.3em 0}.article-rich-text a{color:#22d3ee;text-decoration:underline}
/* Project summary stays compact while long details remain readable below it. */
.project-detail-content .case-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
.project-detail-content .case-meta{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:none!important;gap:14px!important;align-items:stretch!important;margin:0!important}
.project-detail-content .case-meta>div{min-width:0!important;min-height:110px!important;justify-content:flex-start!important}
.project-detail-content .case-meta strong{font-size:clamp(.92rem,1.1vw,1.04rem)!important;line-height:1.7!important;overflow-wrap:anywhere}
.project-detail-content .case-service-tags{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px;color:inherit}
.project-detail-content .case-service-tags b,.project-detail-content .case-all-services li{font-size:.84rem;font-weight:600;line-height:1.5;padding:6px 10px;border:1px solid var(--line);border-radius:999px;background:rgba(93,107,180,.1)}
.project-detail-content .case-detail-more{border:1px solid var(--line);border-radius:20px;background:var(--surface);padding:clamp(20px,2.4vw,30px)}
.project-detail-content .case-detail-more h2{font-size:clamp(1.2rem,1.8vw,1.55rem)!important;margin:0 0 13px!important}
.project-detail-content .case-detail-more p{font-size:1rem;line-height:1.9;color:var(--muted);margin:0;white-space:pre-line}
.project-detail-content .case-all-services{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}
@media(max-width:800px){.project-detail-content .case-meta{grid-template-columns:1fr!important}.project-detail-content .case-meta>div{min-height:0!important}}

/* R13 contact details use the same two-line hierarchy for every contact method. */
.contact-info .contact-detail-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:4px;overflow-wrap:anywhere}.contact-detail-copy strong{font-size:.8rem;color:#9d83ff}.contact-detail-copy small{font-size:.95rem;color:var(--text);unicode-bidi:plaintext}.contact-form-pro .contact-phone-input{text-align:right;direction:rtl}.contact-form-pro .contact-phone-input::placeholder{text-align:right;direction:ltr;unicode-bidi:isolate}.contact-form-pro .contact-phone-input:not(:placeholder-shown){unicode-bidi:plaintext}

/* Mobile detail images retain the uploaded image's full aspect ratio. */
@media(max-width:700px){
 .project-detail-content .case-cover{display:block;width:100%;height:auto!important;max-height:none!important;object-fit:contain!important}
 .featured-article .article-image{height:auto!important;max-height:none;overflow:hidden;background:var(--surface)}
 .featured-article .article-image img{display:block;width:100%;height:auto!important;max-height:none;object-fit:contain!important}
}

/* Featured article image: show the complete upload at every screen size. */
.featured-article .article-image{height:auto;max-height:none;overflow:hidden;background:var(--surface)}
.featured-article .article-image img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
