:root{
  --bg:#050505;
  --bg-2:#0b0b0b;
  --surface:rgba(18,18,18,.78);
  --surface-2:rgba(255,255,255,.04);
  --text:#f6f1e7;
  --muted:#b8ad9a;
  --gold:#c99a3d;
  --gold-2:#f0c66a;
  --border:rgba(201,154,61,.28);
  --shadow:0 28px 90px rgba(0,0,0,.5);
  --radius:28px;
  --container:1180px;
  --font-heading:'Cairo','Cormorant Garamond',serif;
  --font-body:'Cairo',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}

html[data-theme='light']{
  --bg:#f7f4ee;
  --bg-2:#fffaf1;
  --surface:rgba(255,255,255,.82);
  --surface-2:rgba(11,11,11,.04);
  --text:#101010;
  --muted:#5f574c;
  --border:rgba(32,25,12,.16);
  --shadow:0 24px 60px rgba(94,71,29,.16);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(circle at 15% 8%,rgba(201,154,61,.22),transparent 30%),
    radial-gradient(circle at 92% 12%,rgba(240,198,106,.11),transparent 28%),
    linear-gradient(180deg,var(--bg),var(--bg-2));
  font-family:var(--font-body);
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
img{max-width:100%;display:block}
.page-glow{position:fixed;inset:0;pointer-events:none;background:linear-gradient(120deg,transparent 0 50%,rgba(201,154,61,.04),transparent 62%);z-index:-1}

.bc-header{
  position:fixed;top:18px;left:50%;transform:translateX(-50%);
  width:min(calc(100% - 36px),1240px);
  height:72px;padding:0 18px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;
  background:rgba(5,5,5,.68);border:1px solid var(--border);border-radius:999px;backdrop-filter:blur(18px);z-index:50;box-shadow:var(--shadow)
}
html[data-theme='light'] .bc-header{background:rgba(255,250,241,.78)}
.brand{display:inline-flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.08em;color:var(--gold-2)}
.brand-mark{width:35px;height:35px;border:1px solid var(--gold);border-radius:12px;display:grid;place-items:center;font-weight:900;background:linear-gradient(135deg,rgba(201,154,61,.18),rgba(201,154,61,.04))}
.brand-text{font-size:.88rem;white-space:nowrap}
.bc-nav{justify-self:center;display:flex;align-items:center;gap:6px;padding:7px;border-radius:999px;background:rgba(255,255,255,.035)}
.bc-nav a{padding:11px 14px;border-radius:999px;font-size:.83rem;font-weight:700;color:var(--muted);transition:.25s ease}
.bc-nav a:hover,.bc-nav a.active{color:var(--text);background:rgba(201,154,61,.13)}
.header-actions{display:flex;align-items:center;gap:9px}
.icon-btn,.lang-switch,.menu-toggle{border:1px solid var(--border);background:rgba(255,255,255,.05);color:var(--text);height:42px;border-radius:999px;cursor:pointer;transition:.25s ease}
.icon-btn{width:42px}.lang-switch{padding:0 14px;font-weight:800;color:var(--gold-2)}
.icon-btn:hover,.lang-switch:hover,.menu-toggle:hover{border-color:var(--gold);transform:translateY(-1px)}
.menu-toggle{display:none;width:46px;position:relative}.menu-toggle span{display:block;width:17px;height:2px;background:var(--gold-2);margin:5px auto;border-radius:3px}

.hero{position:relative;min-height:100vh;display:flex;align-items:center;overflow:hidden;padding:140px max(28px,calc((100vw - var(--container))/2)) 84px}
.hero-media,.hero-overlay{position:absolute;inset:0}.hero-media{z-index:-2}.hero-media img,.hero-media video{width:100%;height:100%;object-fit:cover;filter:saturate(.92) contrast(1.08)}
.hero-overlay{z-index:-1;background:linear-gradient(90deg,rgba(0,0,0,.86),rgba(0,0,0,.48),rgba(0,0,0,.82)),radial-gradient(circle at 70% 32%,rgba(201,154,61,.12),transparent 30%)}
html[data-theme='light'] .hero-overlay{background:linear-gradient(90deg,rgba(247,244,238,.92),rgba(247,244,238,.35),rgba(247,244,238,.86))}
.hero-content{max-width:720px;position:relative;z-index:2}
.eyebrow{margin:0 0 12px;color:var(--gold-2);letter-spacing:.18em;text-transform:uppercase;font-size:.74rem;font-weight:800}
h1,h2,h3{font-family:var(--font-heading);line-height:.94;margin:0;color:var(--text)}
h1{font-size:clamp(3.4rem,8vw,8rem)}
h2{font-size:clamp(2.55rem,5vw,5.2rem)}
h3{font-size:clamp(2rem,3.4vw,3.6rem)}
.hero-content p:not(.eyebrow){font-size:clamp(1rem,1.4vw,1.25rem);line-height:1.9;color:var(--muted);max-width:610px;margin:24px 0 0}
.hero-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:34px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 22px;border-radius:999px;border:1px solid transparent;cursor:pointer;font-weight:800;font-size:.9rem;transition:.28s ease;min-height:48px}
.btn:after{content:'→';transition:.25s ease}.btn:hover:after{transform:translateX(4px)}
html[dir='rtl'] .btn:after{content:'←'}
.btn-gold{background:linear-gradient(135deg,var(--gold-2),var(--gold));color:#111;box-shadow:0 14px 35px rgba(201,154,61,.25)}
.btn-gold:hover{transform:translateY(-2px);box-shadow:0 18px 45px rgba(201,154,61,.34)}
.btn-ghost{border-color:var(--border);background:rgba(255,255,255,.04);color:var(--text)}
.hero-arrow{position:absolute;top:50%;z-index:3;transform:translateY(-50%);width:50px;height:50px;border-radius:50%;border:1px solid var(--border);background:rgba(0,0,0,.32);color:var(--gold-2);font-size:2rem;cursor:pointer}
.hero-prev{left:28px}.hero-next{right:28px}
.hero-dots{position:absolute;bottom:46px;left:50%;transform:translateX(-50%);display:flex;gap:9px;z-index:4}.hero-dots button{width:8px;height:8px;border-radius:50%;border:0;background:rgba(255,255,255,.35);cursor:pointer}.hero-dots button.active{width:28px;border-radius:999px;background:var(--gold-2)}
.hero-card{position:absolute;right:max(28px,calc((100vw - var(--container))/2));bottom:92px;width:210px;border:1px solid var(--border);background:rgba(8,8,8,.55);backdrop-filter:blur(15px);border-radius:24px;padding:22px;box-shadow:var(--shadow)}
html[data-theme='light'] .hero-card{background:rgba(255,250,241,.65)}
.hero-card span,.hero-card small{display:block;color:var(--muted)}.hero-card strong{display:block;font:700 3.4rem/1 var(--font-heading);color:var(--gold-2)}

.section{padding:112px max(28px,calc((100vw - var(--container))/2));position:relative}
.section-head{max-width:720px;margin-bottom:46px}.section-head.center{margin-left:auto;margin-right:auto;text-align:center}.section-head p:not(.eyebrow){color:var(--muted);line-height:1.8;margin:16px auto 0;max-width:720px}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}.about-second{margin-top:78px;grid-template-columns:.9fr 1.1fr}
.about-visual{position:relative;border-radius:var(--radius);overflow:hidden;min-height:480px;box-shadow:var(--shadow)}.about-visual.small{min-height:310px}.about-visual img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.about-visual:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent,rgba(0,0,0,.42))}
.frame-line{position:absolute;inset:38px -28px -28px 38px;border:2px solid var(--gold);z-index:2}.arc-line{position:absolute;right:24px;bottom:24px;width:160px;height:90px;border:2px solid var(--gold);border-left:0;border-top:0;border-radius:0 0 120px 0;z-index:3}
.lead{font-size:1.22rem;line-height:1.9;color:var(--text)!important}.about-copy p{color:var(--muted);line-height:1.9}.timeline{display:grid;gap:14px;margin-top:26px}.timeline div{display:grid;grid-template-columns:76px 1fr;gap:14px;align-items:start;padding:16px;border:1px solid var(--border);border-radius:18px;background:var(--surface-2)}.timeline span{font-weight:900;color:var(--gold-2)}.timeline p{margin:0}.signature{font-family:var(--font-heading);font-size:2rem;color:var(--gold-2);margin-top:28px;font-style:italic}

.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.services-grid.archive{grid-template-columns:repeat(3,1fr)}
.service-card,.why-card,.project-card,.client-card{position:relative;overflow:hidden;border:1px solid var(--border);background:linear-gradient(180deg,var(--surface),rgba(255,255,255,.025));border-radius:24px;box-shadow:0 18px 60px rgba(0,0,0,.16);transition:.3s ease}
.service-card{padding:30px;min-height:270px}.service-card:before{content:'';position:absolute;inset:auto -25% -35% auto;width:220px;height:220px;background:radial-gradient(circle,var(--gold),transparent 68%);opacity:.08;transition:.5s ease}.service-card:hover,.project-card:hover,.client-card:hover{transform:translateY(-7px);border-color:rgba(201,154,61,.55)}.service-card:hover:before{transform:translate(-18px,-18px);opacity:.14}
.service-icon{width:64px;height:64px;border:1px solid var(--border);border-radius:20px;display:grid;place-items:center;color:var(--gold-2);font-size:2rem;margin-bottom:30px;background:rgba(201,154,61,.08)}
.service-card h3{font-size:2rem}.service-card p{color:var(--muted);line-height:1.8}.card-link{display:inline-flex;gap:8px;align-items:center;color:var(--gold-2);font-weight:900;margin-top:12px}.card-link:after{content:'→'}html[dir='rtl'] .card-link:after{content:'←'}
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.why-card{padding:26px}.why-card strong{display:block;color:var(--gold-2);font-size:1.1rem;margin-bottom:12px}.why-card p{color:var(--muted);line-height:1.75;margin:0}
.filters{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:0 0 34px}.filters button{border:1px solid var(--border);background:rgba(255,255,255,.035);color:var(--muted);padding:11px 16px;border-radius:999px;cursor:pointer;font-weight:800}.filters button.active,.filters button:hover{color:#111;background:linear-gradient(135deg,var(--gold-2),var(--gold))}
.projects-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.projects-grid.archive{grid-template-columns:repeat(4,1fr)}
.project-card{min-height:310px}.project-image{height:210px;overflow:hidden}.project-image img{width:100%;height:100%;object-fit:cover;transition:.5s ease}.project-card:hover img{transform:scale(1.07)}.project-content{padding:18px}.project-content h3{font-size:1.55rem}.project-content p{color:var(--muted);line-height:1.6;margin:.6rem 0}.tag{display:inline-flex;color:var(--gold-2);font-size:.72rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.center-actions{text-align:center;margin-top:38px}
.cta-panel{position:relative;overflow:hidden;border:1px solid var(--border);border-radius:30px;padding:46px;display:flex;align-items:center;justify-content:space-between;gap:28px;background:linear-gradient(120deg,rgba(201,154,61,.12),rgba(255,255,255,.035)),var(--surface);box-shadow:var(--shadow)}.cta-panel:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(155deg,transparent 0 10px,rgba(201,154,61,.05) 11px 12px);mask-image:linear-gradient(90deg,transparent,black)}.cta-panel>*{position:relative;z-index:2}.cta-panel p:not(.eyebrow){color:var(--muted);line-height:1.8}
.logo-marquee{border:1px solid var(--border);border-radius:26px;overflow:hidden;padding:18px;background:var(--surface)}.logo-track{display:flex;width:max-content;animation:marquee 34s linear infinite}.logo-item{min-width:190px;height:78px;border:1px solid var(--border);border-radius:18px;margin:0 8px;display:grid;place-items:center;color:var(--text);font-family:var(--font-heading);font-size:1.6rem;font-weight:800;background:rgba(255,255,255,.035)}@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}html[dir='rtl'] .logo-track{animation-name:marqueeR}@keyframes marqueeR{from{transform:translateX(-50%)}to{transform:translateX(0)}}
.contact-panel{display:grid;grid-template-columns:.8fr 1.2fr;gap:36px;border:1px solid var(--border);border-radius:30px;background:var(--surface);padding:42px;box-shadow:var(--shadow)}.contact-copy p{color:var(--muted);line-height:1.8}.contact-list{display:grid;gap:12px;margin-top:22px;color:var(--gold-2);font-weight:800}.contact-form{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.contact-form input,.contact-form textarea{width:100%;border:1px solid var(--border);background:rgba(255,255,255,.04);color:var(--text);border-radius:16px;padding:16px 17px;outline:0}.contact-form textarea{grid-column:1/-1;min-height:140px;resize:vertical}.contact-form button{justify-self:start}.contact-form.compact{grid-template-columns:1fr}.contact-form.compact textarea{grid-column:auto}.contact-form ::placeholder{color:var(--muted)}
.footer{padding:50px max(28px,calc((100vw - var(--container))/2));border-top:1px solid var(--border);display:grid;grid-template-columns:1fr auto auto;gap:28px;align-items:center;background:rgba(0,0,0,.18)}.footer p{color:var(--muted);margin:10px 0 0}.footer-links{display:flex;gap:20px;flex-wrap:wrap;color:var(--muted);font-weight:800}.socials{display:flex;gap:8px}.socials a{width:34px;height:34px;border-radius:50%;border:1px solid var(--border);display:grid;place-items:center;color:var(--gold-2);font-weight:900}.copyright{grid-column:1/-1;font-size:.82rem}
.modal{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;padding:24px}.modal.show{display:flex}.modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.78);backdrop-filter:blur(8px)}.modal-card{position:relative;width:min(620px,100%);max-height:88vh;overflow:auto;border:1px solid var(--border);border-radius:28px;background:var(--bg-2);padding:34px;box-shadow:var(--shadow)}.modal-card h3{margin-bottom:22px}.modal-close{position:absolute;top:16px;right:16px;width:38px;height:38px;border-radius:50%;border:1px solid var(--border);background:rgba(255,255,255,.05);color:var(--text);font-size:1.4rem;cursor:pointer}html[dir='rtl'] .modal-close{right:auto;left:16px}
.inner-hero{padding:170px max(28px,calc((100vw - var(--container))/2)) 76px;text-align:center;background:linear-gradient(180deg,rgba(201,154,61,.08),transparent);border-bottom:1px solid var(--border)}.inner-hero h1{font-size:clamp(3.4rem,7vw,6.8rem)}.inner-hero p:not(.eyebrow){color:var(--muted);line-height:1.8;max-width:720px;margin:18px auto 0}
.single-layout{display:grid;grid-template-columns:.82fr 1.18fr;gap:52px;align-items:start}.single-media{border:1px solid var(--border);border-radius:30px;overflow:hidden;box-shadow:var(--shadow)}.single-media img{width:100%;height:520px;object-fit:cover}.single-content p{color:var(--muted);line-height:1.9}.detail-list{display:grid;gap:13px;margin:26px 0}.detail-list div{display:flex;justify-content:space-between;gap:16px;border:1px solid var(--border);padding:14px 16px;border-radius:16px;background:var(--surface-2)}.detail-list span{color:var(--muted)}.detail-list strong{color:var(--gold-2)}.feature-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:24px 0}.feature-list li{list-style:none;border:1px solid var(--border);border-radius:16px;padding:14px;color:var(--muted);background:var(--surface-2)}.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:24px}.gallery img{height:130px;width:100%;object-fit:cover;border-radius:16px;border:1px solid var(--border)}.related-title{margin-bottom:26px}.client-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.client-card{padding:26px;min-height:180px}.client-card h3{font-size:2rem}.client-card p{color:var(--muted);line-height:1.7}.client-card small{color:var(--gold-2);font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.reveal{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s ease}.reveal.visible{opacity:1;transform:translateY(0)}.delay-1{transition-delay:.14s}.delay-2{transition-delay:.24s}

html[dir='rtl'] body{font-family:var(--font-body)}
html[dir='rtl'] .bc-header{direction:rtl}html[dir='rtl'] .hero-content,html[dir='rtl'] .section-head:not(.center),html[dir='rtl'] .contact-copy{text-align:right}html[dir='rtl'] .hero-card{right:auto;left:max(28px,calc((100vw - var(--container))/2))}

@media(max-width:1100px){.projects-grid,.projects-grid.archive{grid-template-columns:repeat(3,1fr)}.why-grid{grid-template-columns:repeat(2,1fr)}.services-grid,.services-grid.archive{grid-template-columns:repeat(2,1fr)}.client-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:860px){
  .bc-header{grid-template-columns:auto auto;justify-content:space-between}.bc-nav{position:fixed;top:86px;left:18px;right:18px;display:none;flex-direction:column;align-items:stretch;border:1px solid var(--border);background:var(--bg-2);padding:14px;border-radius:24px}.bc-nav.show{display:flex}.bc-nav a{text-align:center}.menu-toggle{display:block}.hero{padding-left:28px;padding-right:28px}.hero-card{display:none}.hero-arrow{display:none}.about-grid,.about-second,.contact-panel,.single-layout{grid-template-columns:1fr}.about-visual{min-height:340px}.projects-grid,.projects-grid.archive{grid-template-columns:repeat(2,1fr)}.services-grid,.services-grid.archive,.why-grid,.client-grid{grid-template-columns:1fr}.contact-form{grid-template-columns:1fr}.contact-form textarea{grid-column:auto}.cta-panel{align-items:flex-start;flex-direction:column}.footer{grid-template-columns:1fr}.gallery{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:520px){.bc-header{height:64px;top:10px;width:calc(100% - 20px)}.brand-text{display:none}h1{font-size:3.25rem}.section{padding:78px 20px}.inner-hero{padding:130px 20px 58px}.projects-grid,.projects-grid.archive{grid-template-columns:1fr}.project-image{height:240px}.hero-dots{bottom:26px}.modal-card{padding:26px}.hero{min-height:92vh}.feature-list{grid-template-columns:1fr}}

/* === Update v1.1.0: layout, side menu, rich single pages, media viewer, charts === */
:root{--lux-radius:30px}.projects-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.projects-grid.archive{grid-template-columns:repeat(4,minmax(0,1fr))}.projects-section .projects-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.project-image .zoom-hint{position:absolute;right:12px;top:12px;width:36px;height:36px;border:1px solid var(--border);border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.55);color:var(--gold-2);opacity:0;transform:translateY(-8px);transition:.3s ease}.project-image{position:relative}.project-card:hover .zoom-hint{opacity:1;transform:translateY(0)}
.single-title-hero h1,.center-title{text-align:center}.single-title-hero{position:relative;overflow:hidden}.single-title-hero:before{content:'';position:absolute;inset:auto 10% -110px 10%;height:220px;background:radial-gradient(circle,rgba(201,154,61,.2),transparent 72%);pointer-events:none}.single-title-hero>*{position:relative;z-index:2}
.related-carousel{position:relative}.related-track{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:6px 4px 18px;scrollbar-width:thin}.related-track .project-card{flex:0 0 calc(33.333% - 12px);scroll-snap-align:start}.carousel-btn{position:absolute;z-index:3;top:42%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:1px solid var(--border);background:var(--bg-2);color:var(--gold-2);font-size:2rem;cursor:pointer;box-shadow:var(--shadow)}.carousel-btn:hover{background:linear-gradient(135deg,var(--gold-2),var(--gold));color:#111}.carousel-btn.prev{left:-20px}.carousel-btn.next{right:-20px}html[dir='rtl'] .carousel-btn.prev{left:auto;right:-20px}html[dir='rtl'] .carousel-btn.next{right:auto;left:-20px}
.service-detail-layout,.project-showcase-layout,.project-narrative{display:grid;grid-template-columns:1.08fr .92fr;gap:48px;align-items:start}.project-showcase-layout{grid-template-columns:1.15fr .85fr}.project-narrative{grid-template-columns:.9fr 1.1fr}.single-media.main-media,.main-media{border-radius:var(--lux-radius);overflow:hidden}.main-media img,.project-showcase-media img{width:100%;height:560px;object-fit:cover}.project-showcase-media{border:1px solid var(--border);border-radius:var(--lux-radius);overflow:hidden;box-shadow:var(--shadow)}.project-facts,.process-card{border:1px solid var(--border);border-radius:var(--lux-radius);padding:34px;background:linear-gradient(180deg,var(--surface),rgba(201,154,61,.04));box-shadow:var(--shadow)}.detail-list.rich div{background:var(--surface-2)}.related-services{grid-template-columns:minmax(260px,420px);justify-content:center}.service-card.compact{min-height:unset}.split-rich-section{padding-top:20px}.feature-list.rich{grid-template-columns:repeat(3,1fr)}.feature-list.rich li{display:flex;gap:12px;align-items:center;font-weight:800}.feature-list.rich span{width:32px;height:32px;border-radius:50%;background:rgba(201,154,61,.14);color:var(--gold-2);display:grid;place-items:center;flex:0 0 32px}.process-panel,.metrics-panel{border:1px solid var(--border);border-radius:var(--lux-radius);padding:42px;background:linear-gradient(135deg,rgba(201,154,61,.1),rgba(255,255,255,.025)),var(--surface);display:grid;grid-template-columns:.95fr 1.05fr;gap:34px;box-shadow:var(--shadow)}.process-panel p,.metrics-panel p{color:var(--muted);line-height:1.85}.process-steps{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.process-steps.vertical{grid-template-columns:1fr}.process-steps div{border:1px solid var(--border);border-radius:18px;padding:18px;background:var(--surface-2)}.process-steps span{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;border:1px solid var(--border);color:var(--gold-2);margin-bottom:14px;font-weight:900}.process-steps strong{display:block;color:var(--text)}.chart-card{border:1px solid var(--border);border-radius:24px;padding:26px;background:rgba(0,0,0,.12);display:grid;gap:18px}.chart-row{display:grid;grid-template-columns:150px 1fr 44px;align-items:center;gap:14px}.chart-row span{color:var(--muted);font-weight:800}.chart-row b{height:14px;border-radius:999px;background:linear-gradient(90deg,var(--gold-2),rgba(201,154,61,.18));position:relative;overflow:hidden}.chart-row b:after{content:'';display:block;width:var(--bar);height:100%;background:linear-gradient(90deg,var(--gold),var(--gold-2));border-radius:inherit;animation:barGrow 1.1s ease both}.chart-row em{font-style:normal;color:var(--gold-2);font-weight:900}@keyframes barGrow{from{width:0}to{width:var(--bar)}}.stat-row{display:flex;align-items:baseline;gap:16px;margin:16px 0}.stat-row strong{font-family:var(--font-heading);font-size:3rem;color:var(--gold-2)}.stat-row span{color:var(--muted);font-weight:800}
.rich-hero{background:linear-gradient(180deg,rgba(201,154,61,.11),transparent),url('https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1800&q=80') center/cover fixed}.rich-hero:after{content:'';position:absolute;inset:0;background:rgba(0,0,0,.62)}.rich-hero>*{position:relative;z-index:2}.story-section{padding-top:90px}.lux-list{display:grid;gap:14px;margin-top:28px}.lux-list.small{grid-template-columns:1fr}.lux-list div{border:1px solid var(--border);border-radius:18px;padding:18px;background:var(--surface-2)}.lux-list span{color:var(--gold-2);font-weight:900;letter-spacing:.08em}.lux-list strong{display:block;margin:8px 0;color:var(--text)}.lux-list p{margin:0;color:var(--muted);line-height:1.7}.value-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.value-card{position:relative;overflow:hidden;border:1px solid var(--border);border-radius:24px;padding:30px;background:linear-gradient(180deg,var(--surface),rgba(201,154,61,.04));box-shadow:var(--shadow);transition:.35s ease}.value-card:hover{transform:translateY(-7px);border-color:rgba(201,154,61,.5)}.value-card i{width:58px;height:58px;border:1px solid var(--border);border-radius:18px;display:grid;place-items:center;font-style:normal;color:var(--gold-2);font-size:1.7rem;background:rgba(201,154,61,.08);margin-bottom:22px}.value-card p{color:var(--muted);line-height:1.75}.media-clickable{cursor:zoom-in;position:relative}.media-clickable img{transition:.45s ease}.media-clickable:hover img{transform:scale(1.035)}.media-badge{position:absolute;right:16px;bottom:16px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--border);background:rgba(0,0,0,.62);color:var(--gold-2);font-weight:900}.gallery.rich-gallery .media-clickable{border:1px solid var(--border);border-radius:18px;overflow:hidden}.gallery.rich-gallery img{height:165px;border:0;border-radius:0}.video-frame{border:1px solid var(--border);border-radius:var(--lux-radius);overflow:hidden;background:#000}.video-frame video,.media-viewer-content video{width:100%;max-height:78vh;display:block}.media-viewer-modal{z-index:220}.media-viewer-card{position:relative;width:min(1100px,94vw);max-height:90vh;border:1px solid var(--border);border-radius:28px;background:var(--bg-2);padding:18px;box-shadow:var(--shadow);overflow:auto}.media-viewer-content img{width:100%;max-height:78vh;object-fit:contain;display:block;border-radius:18px}.media-viewer-title{margin:12px 6px 0;color:var(--muted);font-weight:800}
[data-tooltip]{position:relative}[data-tooltip]:after{content:attr(data-tooltip);position:absolute;left:24px;bottom:calc(100% + 10px);z-index:15;white-space:nowrap;background:var(--bg-2);color:var(--text);border:1px solid var(--border);border-radius:999px;padding:8px 12px;font-size:.78rem;font-weight:800;opacity:0;transform:translateY(8px);pointer-events:none;transition:.25s ease;box-shadow:0 14px 40px rgba(0,0,0,.22)}[data-tooltip]:hover:after{opacity:1;transform:translateY(0)}html[dir='rtl'] [data-tooltip]:after{left:auto;right:24px}.btn,.service-card,.project-card,.value-card{will-change:transform}.btn:hover{transform:translateY(-2px)}
@media(max-width:1100px){.projects-grid,.projects-grid.archive,.projects-section .projects-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.value-grid{grid-template-columns:repeat(2,1fr)}.feature-list.rich{grid-template-columns:repeat(2,1fr)}}
@media(max-width:860px){body.menu-open{overflow:hidden}.bc-header{grid-template-columns:auto auto}.mobile-menu-backdrop{position:fixed;inset:0;z-index:89;border:0;background:rgba(0,0,0,.55);backdrop-filter:blur(6px);opacity:0;visibility:hidden;transition:.25s ease}.menu-open .mobile-menu-backdrop{opacity:1;visibility:visible}.bc-nav{position:fixed!important;top:0!important;bottom:0!important;left:0!important;right:auto!important;width:min(360px,86vw)!important;height:100vh!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;padding:112px 22px 24px!important;border-radius:0 28px 28px 0!important;transform:translateX(-105%);opacity:1!important;visibility:visible!important;transition:transform .35s cubic-bezier(.22,.61,.36,1);z-index:95;background:linear-gradient(180deg,var(--bg-2),var(--bg))!important;box-shadow:var(--shadow);overflow-y:auto}.bc-nav.show{transform:translateX(0)}html[dir='rtl'] .bc-nav{left:auto!important;right:0!important;border-radius:28px 0 0 28px!important;transform:translateX(105%)}html[dir='rtl'] .bc-nav.show{transform:translateX(0)}.bc-nav a{text-align:initial!important;padding:16px 14px;border-bottom:1px solid var(--border);font-size:1rem}.menu-toggle.active span:first-child{transform:rotate(45deg) translate(4px,4px)}.menu-toggle.active span:last-child{transform:rotate(-45deg) translate(4px,-4px)}.projects-grid,.projects-grid.archive,.projects-section .projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.related-track .project-card{flex:0 0 78%}.carousel-btn.prev{left:6px}.carousel-btn.next{right:6px}.service-detail-layout,.project-showcase-layout,.project-narrative,.process-panel,.metrics-panel{grid-template-columns:1fr}.main-media img,.project-showcase-media img{height:420px}.feature-list.rich{grid-template-columns:1fr}.chart-row{grid-template-columns:120px 1fr 42px}.value-grid{grid-template-columns:1fr}.contact-panel,.about-grid{gap:26px}}
@media(max-width:520px){.projects-grid,.projects-grid.archive,.projects-section .projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}.project-image{height:170px}.project-content{padding:13px}.project-content h3{font-size:1.15rem}.project-content p{font-size:.85rem}.related-track .project-card{flex-basis:86%}.main-media img,.project-showcase-media img{height:310px}.process-panel,.metrics-panel,.project-facts,.process-card{padding:24px}.chart-row{grid-template-columns:1fr;gap:8px}.chart-row em{justify-self:end}.media-viewer-card{padding:12px}.feature-list.rich li{font-size:.9rem}.value-card{padding:24px}.gallery.rich-gallery{grid-template-columns:1fr}.gallery.rich-gallery img{height:220px}}


/* === Update v1.2.1: archive items-per-row controls === */
.archive-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:-8px 0 28px;padding:16px 18px;border:1px solid var(--border);border-radius:22px;background:linear-gradient(135deg,rgba(201,154,61,.08),rgba(255,255,255,.025)),var(--surface);box-shadow:0 14px 45px rgba(0,0,0,.14)}
.archive-toolbar label{display:flex;align-items:center;gap:12px;color:var(--muted);font-weight:900}.archive-toolbar label span{color:var(--text)}.archive-toolbar select{border:1px solid var(--border);background:var(--bg-2);color:var(--text);border-radius:999px;padding:10px 42px 10px 14px;font-weight:900;outline:0;min-width:164px}.archive-toolbar small{color:var(--gold-2);font-weight:900}.archive-grid-dynamic{grid-template-columns:repeat(var(--archive-cols,4),minmax(0,1fr))!important}.services-grid.archive.archive-grid-dynamic{grid-template-columns:repeat(var(--archive-cols,3),minmax(0,1fr))!important}.client-grid.archive-grid-dynamic{grid-template-columns:repeat(var(--archive-cols,4),minmax(0,1fr))!important}.is-hidden-by-row{display:none!important}.quotation-cta{align-items:center}.cta-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.single-cta-section{padding-top:44px}.modal-contact-lines{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;color:var(--muted);font-size:.88rem}.modal-contact-lines span{border:1px solid var(--border);border-radius:999px;padding:8px 12px;background:var(--surface-2)}
.mobile-drawer{display:none}
@media(max-width:860px){
  .archive-grid-dynamic,.services-grid.archive.archive-grid-dynamic,.client-grid.archive-grid-dynamic{grid-template-columns:repeat(var(--archive-mobile-cols,2),minmax(0,1fr))!important}
  .archive-grid-dynamic .service-card{min-height:240px}
  .bc-header{z-index:190}.bc-nav{display:none!important}.menu-toggle{display:block}.mobile-menu-backdrop{position:fixed;inset:0;z-index:180;border:0;background:rgba(0,0,0,.58);backdrop-filter:blur(4px);opacity:0;visibility:hidden;transition:.25s ease}.menu-open .mobile-menu-backdrop{opacity:1;visibility:visible}.mobile-drawer{display:flex;position:fixed;top:0;bottom:0;left:0;width:min(390px,88vw);z-index:205;flex-direction:column;gap:6px;padding:30px 22px 24px;border-right:1px solid rgba(201,154,61,.32);background:linear-gradient(180deg,rgba(16,16,16,.98),rgba(5,5,5,.99));box-shadow:44px 0 90px rgba(0,0,0,.55);transform:translateX(-105%);transition:transform .35s cubic-bezier(.22,.61,.36,1);overflow-y:auto;filter:none!important;backdrop-filter:none!important}.mobile-drawer.show{transform:translateX(0)}html[data-theme='light'] .mobile-drawer{background:linear-gradient(180deg,rgba(255,250,241,.99),rgba(247,244,238,.99));box-shadow:34px 0 70px rgba(94,71,29,.22)}html[dir='rtl'] .mobile-drawer{left:auto;right:0;transform:translateX(105%);border-right:0;border-left:1px solid rgba(201,154,61,.32);box-shadow:-44px 0 90px rgba(0,0,0,.55)}html[dir='rtl'] .mobile-drawer.show{transform:translateX(0)}.mobile-drawer-head{display:flex;align-items:center;gap:12px;margin-bottom:18px;color:var(--gold-2);letter-spacing:.08em}.mobile-drawer a{display:flex;align-items:center;justify-content:space-between;padding:16px 14px;border:1px solid transparent;border-bottom-color:var(--border);border-radius:16px;color:var(--text);font-weight:900;background:transparent}.mobile-drawer a:hover{border-color:var(--gold);background:rgba(201,154,61,.1);transform:translateX(4px)}html[dir='rtl'] .mobile-drawer a:hover{transform:translateX(-4px)}.mobile-drawer-contact{margin-top:auto;display:grid;gap:8px;padding-top:18px}.mobile-drawer-contact small{color:var(--muted);border:1px solid var(--border);border-radius:999px;padding:9px 12px;background:var(--surface-2)}.menu-toggle.active span:first-child{transform:rotate(45deg) translate(4px,4px)}.menu-toggle.active span:last-child{transform:rotate(-45deg) translate(4px,-4px)}.archive-toolbar{align-items:stretch;flex-direction:column}.archive-toolbar label{justify-content:space-between}.quotation-cta{align-items:flex-start}.cta-actions{width:100%}.cta-actions .btn{width:100%}
}


/* === Update v1.3.0: uploaded template-inspired header, hero slider, and single detail pages === */
.template-header.bc-header{height:auto;min-height:92px;padding:0;display:block;top:16px;border-radius:30px;overflow:hidden;background:rgba(5,5,5,.72);backdrop-filter:blur(18px)}
html[data-theme='light'] .template-header.bc-header{background:rgba(255,250,241,.82)}
.template-header-top{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 22px;border-bottom:1px solid var(--border);font-size:.78rem;color:var(--muted)}
.header-info-left,.header-info-right{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.header-info-left span{display:inline-flex;align-items:center;gap:7px}.header-info-left span:before{content:'•';color:var(--gold-2)}
.header-info-right a{width:28px;height:28px;border:1px solid var(--border);border-radius:50%;display:grid;place-items:center;color:var(--gold-2);font-size:.78rem;font-weight:900;background:rgba(201,154,61,.06);transition:.25s ease}.header-info-right a:hover{transform:translateY(-2px);background:var(--gold-2);color:#111}
.template-header-bottom{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:12px 18px}.template-header .bc-nav{background:transparent;gap:3px}.template-header .bc-nav a{text-transform:uppercase;letter-spacing:.04em}.header-quote{height:42px;border:1px solid var(--gold);border-radius:999px;padding:0 16px;background:linear-gradient(135deg,var(--gold-2),var(--gold));color:#111;font-weight:900;cursor:pointer;white-space:nowrap;transition:.25s ease}.header-quote:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(201,154,61,.26)}
.template-slider-hero{min-height:100vh;padding-top:190px;background:#000}.template-slider-hero .hero-media img,.template-slider-hero .hero-media video{transform:scale(1.04);animation:heroKenburns 9s ease both}@keyframes heroKenburns{from{transform:scale(1)}to{transform:scale(1.08)}}
.template-slider-hero .hero-overlay{background:linear-gradient(90deg,rgba(0,0,0,.9),rgba(0,0,0,.5),rgba(0,0,0,.76)),radial-gradient(circle at 70% 26%,rgba(240,198,106,.18),transparent 32%)}html[data-theme='light'] .template-slider-hero .hero-overlay{background:linear-gradient(90deg,rgba(255,250,241,.94),rgba(255,250,241,.62),rgba(255,250,241,.88)),radial-gradient(circle at 70% 26%,rgba(201,154,61,.18),transparent 32%)}
.template-hero-caption{max-width:980px}.hero-text1 span{display:inline-flex;padding:10px 16px;border-left:3px solid var(--gold-2);background:rgba(201,154,61,.1);color:var(--gold-2);text-transform:uppercase;letter-spacing:.18em;font-size:.74rem;font-weight:900}html[dir='rtl'] .hero-text1 span{border-left:0;border-right:3px solid var(--gold-2)}
.template-hero-caption h1{margin-top:18px;font-size:clamp(3.2rem,7vw,7.4rem);text-transform:uppercase;letter-spacing:.04em;line-height:.86}.stock-text{position:relative;margin-top:-4px;min-height:clamp(4.4rem,8.2vw,9rem)}.stock-text h2{position:absolute;inset:0 auto auto 0;margin:0;font-size:clamp(4.2rem,9vw,10rem);line-height:.82;text-transform:uppercase;letter-spacing:.035em;color:transparent;-webkit-text-stroke:1px rgba(240,198,106,.76);opacity:.9;pointer-events:none}.stock-text h2 + h2{transform:translate(8px,8px);-webkit-text-stroke:1px rgba(255,255,255,.18);opacity:.45}html[data-theme='light'] .stock-text h2{-webkit-text-stroke:1px rgba(17,17,17,.5)}html[data-theme='light'] .stock-text h2 + h2{-webkit-text-stroke:1px rgba(201,154,61,.45)}html[dir='rtl'] .stock-text h2{left:auto;right:0}html[dir='rtl'] .stock-text h2 + h2{transform:translate(-8px,8px)}
.template-hero-caption p:not(.eyebrow){max-width:680px;margin-top:28px;font-size:clamp(1rem,1.25vw,1.2rem);border-left:1px solid var(--border);padding-left:20px}html[dir='rtl'] .template-hero-caption p:not(.eyebrow){border-left:0;border-right:1px solid var(--border);padding-left:0;padding-right:20px}.template-hero-card{bottom:96px}
.template-detail-hero{position:relative;min-height:520px;display:flex;align-items:flex-end;justify-content:center;text-align:center;padding:190px max(28px,calc((100vw - var(--container))/2)) 76px;background:var(--detail-bg) center/cover no-repeat;overflow:hidden}.detail-hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.42),rgba(0,0,0,.86)),radial-gradient(circle at 50% 70%,rgba(201,154,61,.2),transparent 35%)}html[data-theme='light'] .detail-hero-overlay{background:linear-gradient(180deg,rgba(255,250,241,.42),rgba(255,250,241,.92)),radial-gradient(circle at 50% 70%,rgba(201,154,61,.2),transparent 35%)}.detail-hero-content{position:relative;z-index:2;max-width:920px;margin:auto auto 0}.detail-hero-content h1{font-size:clamp(3.1rem,6.8vw,7rem);text-transform:uppercase;text-align:center}.breadcrumb-line{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:22px;color:var(--muted);font-weight:800}.breadcrumb-line a{color:var(--gold-2)}.breadcrumb-line strong{color:var(--text)}
.template-details-area{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:38px;align-items:start}.template-single-details{border:1px solid var(--border);border-radius:32px;background:linear-gradient(180deg,var(--surface),rgba(201,154,61,.035));box-shadow:var(--shadow);overflow:hidden}.template-single-details .details-img{min-height:420px;background:#050505;overflow:hidden}.template-main-detail-media img{width:100%;height:min(58vw,560px);object-fit:cover}.template-single-details .details-caption{padding:42px}.details-caption .lead-detail{font-size:1.18rem;color:var(--text);line-height:1.9}.details-caption p{color:var(--muted);line-height:1.92}.details-caption h3{font-size:clamp(2rem,3vw,3.1rem);margin:38px 0 16px;position:relative;padding-bottom:14px}.details-caption h3:after{content:'';position:absolute;left:0;bottom:0;width:78px;height:2px;background:linear-gradient(90deg,var(--gold-2),transparent)}html[dir='rtl'] .details-caption h3:after{left:auto;right:0;background:linear-gradient(270deg,var(--gold-2),transparent)}.template-feature-list{margin-top:22px}.template-detail-sidebar{position:sticky;top:135px}.sidebar-card{border:1px solid var(--border);border-radius:28px;padding:28px;background:linear-gradient(180deg,var(--surface),rgba(201,154,61,.06));box-shadow:var(--shadow)}.sidebar-card h2{font-size:2.4rem;margin-bottom:18px}.sidebar-card .btn{width:100%;margin-top:14px}.project-template-area .template-single-details .details-img{min-height:390px}
.mobile-quote{margin:16px 0 4px;width:100%}
@media(max-width:1120px){.template-header-bottom{grid-template-columns:auto auto;justify-content:space-between}.template-header .bc-nav{display:none}.template-details-area{grid-template-columns:1fr}.template-detail-sidebar{position:relative;top:auto}}
@media(max-width:860px){.template-header.bc-header{top:10px;width:calc(100% - 20px);min-height:auto;border-radius:24px;overflow:visible}.template-header-top{display:none}.template-header-bottom{padding:10px 12px}.header-quote{display:none}.template-slider-hero{padding-top:130px;min-height:92vh}.template-hero-caption h1{font-size:clamp(2.6rem,14vw,4.6rem)}.stock-text{min-height:clamp(3.2rem,14vw,5.2rem)}.stock-text h2{font-size:clamp(3.2rem,15vw,5.4rem)}.template-hero-caption p:not(.eyebrow){border:0;padding:0}.template-detail-hero{min-height:420px;padding:142px 22px 58px}.template-details-area{padding-top:70px}.template-single-details .details-caption{padding:28px}.template-main-detail-media img{height:360px}.feature-list.rich.template-feature-list{grid-template-columns:1fr}}
@media(max-width:520px){.template-header.bc-header{height:auto}.template-detail-hero h1,.detail-hero-content h1{font-size:3rem}.template-main-detail-media img{height:300px}.stock-text h2 + h2{transform:translate(5px,5px)}}


/* === Update v1.3.1: dark home header, loader, dropdown menus, and enhanced hero interactions === */
body[data-page='home'] .template-slider-hero{--mouse-x:0px;--mouse-y:0px;--glow-x:50%;--glow-y:50%}
html[data-theme='dark'] body[data-page='home'] .template-header.bc-header{background:rgba(247,244,238,.92);border:1px solid rgba(201,154,61,.25);box-shadow:0 30px 70px rgba(0,0,0,.28)}
html[data-theme='dark'] body[data-page='home'] .template-header-top{border-bottom-color:rgba(94,71,29,.18);color:#6a614f}
html[data-theme='dark'] body[data-page='home'] .template-header .brand-text,
html[data-theme='dark'] body[data-page='home'] .template-header .bc-nav > a,
html[data-theme='dark'] body[data-page='home'] .template-header .nav-item > a,
html[data-theme='dark'] body[data-page='home'] .template-header .icon-btn,
html[data-theme='dark'] body[data-page='home'] .template-header .lang-switch,
html[data-theme='dark'] body[data-page='home'] .template-header .menu-toggle,
html[data-theme='dark'] body[data-page='home'] .template-header .header-info-left span,
html[data-theme='dark'] body[data-page='home'] .template-header .header-info-right a{color:#3e3425}
html[data-theme='dark'] body[data-page='home'] .template-header .brand-mark,
html[data-theme='dark'] body[data-page='home'] .template-header .icon-btn,
html[data-theme='dark'] body[data-page='home'] .template-header .lang-switch,
html[data-theme='dark'] body[data-page='home'] .template-header .menu-toggle,
html[data-theme='dark'] body[data-page='home'] .template-header .header-info-right a{border-color:rgba(201,154,61,.35);background:rgba(255,255,255,.42)}
html[data-theme='dark'] body[data-page='home'] .template-header .menu-toggle span{background:#3e3425}
html[data-theme='dark'] body[data-page='home'] .template-header .bc-nav > a:hover,
html[data-theme='dark'] body[data-page='home'] .template-header .nav-item:hover > a{background:rgba(201,154,61,.12);color:#191511}

.nav-item{position:relative;display:flex;align-items:center}
.bc-nav > .nav-item > a,
.bc-nav > a{position:relative}
.nav-item.has-dropdown > a{padding-right:30px}
.nav-item.has-dropdown > a:after{content:'▾';position:absolute;right:12px;top:50%;transform:translateY(-46%);font-size:.68rem;color:var(--gold-2);opacity:.9;transition:.25s ease}
html[dir='rtl'] .nav-item.has-dropdown > a{padding-right:14px;padding-left:30px}
html[dir='rtl'] .nav-item.has-dropdown > a:after{right:auto;left:12px}
.nav-dropdown{position:absolute;top:calc(100% + 16px);left:0;min-width:250px;display:grid;gap:6px;padding:14px;border:1px solid var(--border);border-radius:22px;background:rgba(8,8,8,.96);backdrop-filter:blur(14px);box-shadow:0 30px 60px rgba(0,0,0,.28);opacity:0;visibility:hidden;transform:translateY(10px);transition:.28s ease;z-index:35}
html[data-theme='light'] .nav-dropdown{background:rgba(255,250,241,.98)}
html[dir='rtl'] .nav-dropdown{left:auto;right:0}
.nav-dropdown a,.nav-dropdown .nav-item > a{display:flex;align-items:center;justify-content:space-between;padding:11px 14px;border-radius:14px;border:1px solid transparent;color:var(--text);font-size:.93rem;font-weight:800;line-height:1.4;background:transparent}
.nav-dropdown a:hover,.nav-dropdown .nav-item:hover > a{border-color:rgba(201,154,61,.35);background:rgba(201,154,61,.1);transform:translateX(4px)}
html[dir='rtl'] .nav-dropdown a:hover,html[dir='rtl'] .nav-dropdown .nav-item:hover > a{transform:translateX(-4px)}
.nav-item:hover > .nav-dropdown,.nav-item:focus-within > .nav-dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.nav-dropdown .nav-item{width:100%}
.nav-dropdown .nav-item.has-dropdown > a:after{content:'›';font-size:.82rem}
html[dir='rtl'] .nav-dropdown .nav-item.has-dropdown > a:after{content:'‹'}
.nav-dropdown .nav-dropdown{top:-8px;left:calc(100% + 10px);min-width:230px}
html[dir='rtl'] .nav-dropdown .nav-dropdown{left:auto;right:calc(100% + 10px)}
body[data-page='home'] .template-slider-hero:before{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(240,198,106,.18), transparent 22%), radial-gradient(circle at 78% 22%, rgba(255,255,255,.08), transparent 16%)}
.template-slider-hero .hero-media img,.template-slider-hero .hero-media video{transform:translate3d(calc(var(--mouse-x) * .018), calc(var(--mouse-y) * .018), 0) scale(1.08);transition:transform .28s ease-out, filter .35s ease;animation:none}
.template-slider-hero .hero-content{transform:translate3d(calc(var(--mouse-x) * -.012), calc(var(--mouse-y) * -.012), 0);transition:transform .22s ease-out}
.template-slider-hero .hero-card{transform:translate3d(calc(var(--mouse-x) * -.018), calc(var(--mouse-y) * -.018), 0);transition:transform .26s ease-out, box-shadow .3s ease}
.template-slider-hero .hero-dots{z-index:5}
.template-slider-hero .hero-dots button{box-shadow:0 0 0 0 rgba(240,198,106,.35);transition:.26s ease}
.template-slider-hero .hero-dots button.active{box-shadow:0 0 0 6px rgba(240,198,106,.12)}
.template-slider-hero .hero-arrow{transition:transform .25s ease, background .25s ease, box-shadow .25s ease}
.template-slider-hero .hero-arrow:hover{transform:translateY(-50%) scale(1.08);background:rgba(201,154,61,.18);box-shadow:0 16px 32px rgba(0,0,0,.25)}
.project-card,.service-card,.why-card,.client-card{overflow:hidden}
.project-card:before,.service-card:before,.why-card:before,.client-card:before{content:'';position:absolute;inset:-30% auto auto -20%;width:140px;height:220px;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.12),rgba(255,255,255,0));transform:rotate(24deg) translateX(-220%);transition:transform .7s ease;pointer-events:none}
.project-card:hover:before,.service-card:hover:before,.why-card:hover:before,.client-card:hover:before{transform:rotate(24deg) translateX(380%)}
.site-loader{position:fixed;inset:0;z-index:500;display:grid;place-items:center;background:radial-gradient(circle at center, rgba(201,154,61,.09), transparent 30%), #060606;transition:opacity .55s ease, visibility .55s ease}
html[data-theme='light'] .site-loader{background:radial-gradient(circle at center, rgba(201,154,61,.12), transparent 30%), #f7f4ee}
.site-loader.hide{opacity:0;visibility:hidden}
.loader-box{display:grid;justify-items:center;gap:16px;padding:34px 40px;border:1px solid rgba(201,154,61,.24);border-radius:30px;background:rgba(12,12,12,.78);box-shadow:0 34px 80px rgba(0,0,0,.35);backdrop-filter:blur(18px)}
html[data-theme='light'] .loader-box{background:rgba(255,255,255,.76)}
.loader-brand{display:flex;align-items:center;gap:12px;color:var(--gold-2);font-weight:900;letter-spacing:.14em}
.loader-brand .brand-mark{width:54px;height:54px}
.loader-spinner{width:62px;height:62px;border-radius:50%;border:2px solid rgba(201,154,61,.18);border-top-color:var(--gold-2);animation:loaderSpin 1s linear infinite}
.loader-text{font-size:.92rem;color:var(--muted);letter-spacing:.08em;text-transform:uppercase}
@keyframes loaderSpin{to{transform:rotate(360deg)}}
.mobile-drawer .nav-item{display:block}.mobile-drawer .nav-item.has-dropdown > a{padding-right:38px}.mobile-drawer .nav-dropdown{position:static;display:none;opacity:1;visibility:visible;transform:none;min-width:0;margin:8px 0 0;padding:10px;border-radius:18px;box-shadow:none;background:rgba(201,154,61,.06)}.mobile-drawer .nav-dropdown .nav-dropdown{margin-top:8px;margin-inline-start:10px}.mobile-drawer .nav-item.open > .nav-dropdown{display:grid}.mobile-drawer .nav-item.has-dropdown > a:after{right:14px}.mobile-drawer .nav-item.open > a:after{transform:translateY(-46%) rotate(180deg)}
@media(max-width:1120px){.bc-nav>.nav-item>.nav-dropdown,.bc-nav>.nav-item>.nav-dropdown .nav-dropdown{display:none!important}.mobile-drawer .nav-dropdown,.mobile-drawer .nav-dropdown .nav-dropdown{display:none!important}.mobile-drawer .nav-item.open > .nav-dropdown,.mobile-drawer .nav-item.open > .nav-dropdown .nav-dropdown{display:grid!important}}
@media(max-width:860px){body[data-page='home'] .template-header.bc-header{background:rgba(247,244,238,.94)!important}.site-loader .loader-box{width:min(92vw,420px)}.nav-item.has-dropdown > a:after{right:14px}}


/* === Update v1.3.8: project single video block + corrected light-mode hero colors === */
html[data-theme='light'] .template-slider-hero{background:#f7f4ee!important;}
html[data-theme='light'] .template-slider-hero .hero-media img,
html[data-theme='light'] .template-slider-hero .hero-media video{filter:saturate(.72) contrast(.88) brightness(1.18) opacity(.38)!important;}
html[data-theme='light'] .template-slider-hero .hero-overlay{background:linear-gradient(90deg,rgba(255,250,241,.985),rgba(255,250,241,.9),rgba(255,250,241,.97)),radial-gradient(circle at 68% 28%,rgba(201,154,61,.18),transparent 34%),linear-gradient(180deg,rgba(247,244,238,.82),rgba(247,244,238,.96))!important;}
html[data-theme='light'] body[data-page='home'] .template-slider-hero:before{background:radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(201,154,61,.2), transparent 24%),radial-gradient(circle at 82% 18%, rgba(201,154,61,.11), transparent 18%)!important;}
html[data-theme='light'] .template-hero-caption h1,
html[data-theme='light'] .template-hero-caption p:not(.eyebrow),
html[data-theme='light'] .template-hero-caption .btn-ghost,
html[data-theme='light'] .template-hero-card span,
html[data-theme='light'] .template-hero-card small{color:#2b261d!important;}
html[data-theme='light'] .template-hero-caption h1{text-shadow:none!important;}
html[data-theme='light'] .template-hero-caption p:not(.eyebrow){border-color:rgba(94,71,29,.22)!important;}
html[data-theme='light'] .template-hero-card{background:rgba(255,250,241,.86)!important;border-color:rgba(201,154,61,.34)!important;box-shadow:0 26px 70px rgba(94,71,29,.16)!important;}
html[data-theme='light'] .stock-text h2{-webkit-text-stroke:1px rgba(43,38,29,.34)!important;}
html[data-theme='light'] .stock-text h2 + h2{-webkit-text-stroke:1px rgba(201,154,61,.42)!important;}
html[data-theme='light'] .template-detail-hero{background-color:#f7f4ee;background-blend-mode:screen;}
html[data-theme='light'] .detail-hero-overlay{background:linear-gradient(180deg,rgba(255,250,241,.9),rgba(255,250,241,.985)),radial-gradient(circle at 50% 70%,rgba(201,154,61,.2),transparent 36%)!important;}
html[data-theme='light'] .rich-hero:after{background:rgba(255,250,241,.82)!important;}
.project-video-section{padding-top:40px}.project-video-section .video-frame{max-width:1100px;margin:0 auto;border-radius:34px;box-shadow:var(--shadow);background:#050505;position:relative;overflow:hidden}.project-video-section .video-frame:before{content:'';position:absolute;inset:0;border:1px solid rgba(201,154,61,.28);border-radius:34px;pointer-events:none;z-index:2}.project-video-section video{width:100%;height:min(58vw,620px);object-fit:cover;display:block;background:#000}html[data-theme='light'] .project-video-section .video-frame{box-shadow:0 28px 70px rgba(94,71,29,.16)}@media(max-width:700px){.project-video-section video{height:320px}.project-video-section .video-frame{border-radius:24px}.project-video-section .video-frame:before{border-radius:24px}}


/* === Update v1.3.8: home carousel inspired by uploaded Carousel 1 concept === */
.displacement-hero{overflow:hidden}
.hero-slider-inner{position:relative;z-index:4;max-width:var(--container);height:100%;align-items:center}
.displacement-hero .hero-media{z-index:-2;transition:opacity .45s ease, transform .75s ease, filter .35s ease}
.displacement-hero .hero-media.is-changing{opacity:.15;transform:scale(1.06)}
.displacement-hero .hero-media img,.displacement-hero .hero-media video{width:100%;height:100%;object-fit:cover}
.displacement-hero .hero-overlay{background:linear-gradient(90deg,rgba(0,0,0,.92),rgba(0,0,0,.48),rgba(0,0,0,.88)),radial-gradient(circle at 68% 22%,rgba(240,198,106,.18),transparent 34%)}
#slider-content{max-width:760px;padding:0 10px}
#slider-content .hero-meta,.hero-status-block .meta{display:inline-flex;align-items:center;gap:10px;font:800 .78rem/1 var(--font-sans);letter-spacing:.28em;text-transform:uppercase;color:var(--gold-2)}
#slider-content .hero-meta:after,.hero-status-block .meta:after{content:'';width:46px;height:1px;background:rgba(201,154,61,.4)}
#slider-content h2{margin:20px 0 0;font:400 clamp(3rem,8vw,6.8rem)/.9 var(--font-heading);letter-spacing:-.04em;color:#fff;position:relative;z-index:3}
.hero-outline-title{position:relative;min-height:clamp(4rem,8vw,8rem);margin-top:8px;pointer-events:none}
.hero-outline-title span{position:absolute;inset:0 auto auto 0;font:600 clamp(4.5rem,10vw,9rem)/.86 var(--font-heading);text-transform:uppercase;color:transparent;-webkit-text-stroke:1px rgba(240,198,106,.56);opacity:.82}
.hero-outline-title span + span{transform:translate(8px,8px);-webkit-text-stroke:1px rgba(255,255,255,.14);opacity:.34}
.displacement-hero #heroSubtitle{max-width:700px;margin:26px 0 0;border-left:1px solid rgba(255,255,255,.12);padding-left:20px;font-size:clamp(1rem,1.2vw,1.18rem);line-height:1.9;color:rgba(255,255,255,.78)}
.hero-status-block{margin-top:26px;display:grid;gap:10px;max-width:360px}
.hero-status-block #heroStatus{font:400 clamp(1.15rem,1.8vw,2rem)/1.25 var(--font-heading);color:#fff}
.hero-pagination{position:absolute;right:30px;top:50%;transform:translateY(-50%);z-index:6;display:grid;gap:18px}
.hero-pagination button{width:18px;height:18px;border-radius:50%;border:0;background:rgba(255,255,255,.88);opacity:.2;position:relative;display:grid;place-items:center;transition:opacity .25s ease, transform .25s ease, box-shadow .25s ease;padding:0}
.hero-pagination button span{position:absolute;right:30px;top:50%;transform:translateY(-50%);font:800 .72rem/1 var(--font-sans);letter-spacing:.18em;color:#fff;opacity:0;transition:.22s ease;pointer-events:none}
.hero-pagination button:before{content:'';position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:100%;height:100%;border-radius:50%;border:1px solid rgba(255,255,255,.2);opacity:0;transition:.28s ease}
.hero-pagination button:hover{opacity:.55;transform:scale(1.05)}
.hero-pagination button.active{opacity:1;background:var(--gold-2);box-shadow:0 0 0 7px rgba(201,154,61,.12)}
.hero-pagination button.active:before{width:320%;height:320%;opacity:1}
.hero-pagination button.active span,.hero-pagination button:hover span{opacity:.92}
html[dir='rtl'] .hero-pagination{right:auto;left:30px}
html[dir='rtl'] .hero-pagination button span{right:auto;left:30px}
html[dir='rtl'] .displacement-hero #heroSubtitle{border-left:0;border-right:1px solid rgba(255,255,255,.12);padding-left:0;padding-right:20px}
html[dir='rtl'] .hero-outline-title span{left:auto;right:0}
html[dir='rtl'] .hero-outline-title span + span{transform:translate(-8px,8px)}
html[data-theme='light'] .displacement-hero .hero-overlay{background:linear-gradient(90deg,rgba(255,250,241,.96),rgba(255,250,241,.78),rgba(255,250,241,.95)),radial-gradient(circle at 68% 22%,rgba(201,154,61,.16),transparent 34%)!important}
html[data-theme='light'] #slider-content h2,html[data-theme='light'] .hero-status-block #heroStatus{color:#1c1610}
html[data-theme='light'] .hero-pagination button span{color:#3d3425}
html[data-theme='light'] .displacement-hero #heroSubtitle{color:#5f5647;border-color:rgba(94,71,29,.18)}
html[data-theme='light'] .hero-outline-title span{-webkit-text-stroke:1px rgba(41,33,24,.18)}
html[data-theme='light'] .hero-outline-title span + span{-webkit-text-stroke:1px rgba(201,154,61,.34);opacity:.48}
html[data-theme='light'] .template-hero-card{background:rgba(255,250,241,.84);border-color:rgba(201,154,61,.22)}
@media(max-width:980px){.hero-pagination{right:16px}.hero-pagination button span{display:none}}
@media(max-width:860px){.hero-slider-inner{align-items:flex-start}.hero-pagination{position:absolute;top:auto;bottom:28px;right:24px;transform:none;display:flex;gap:14px}.hero-pagination button{width:12px;height:12px}.hero-pagination button.active:before{width:240%;height:240%}html[dir='rtl'] .hero-pagination{left:24px;right:auto}#slider-content h2{font-size:clamp(2.8rem,12vw,4.8rem)}.hero-outline-title{min-height:clamp(3.2rem,12vw,5rem)}.hero-outline-title span{font-size:clamp(3.3rem,14vw,5.6rem)}.hero-status-block{margin-top:18px;max-width:100%}.displacement-hero #heroSubtitle{margin-top:18px}.template-hero-card{display:none}}


/* === Update v1.3.8: real Carousel 1-style canvas slider, Cairo font, brand/social/icons === */
:root{
  --font-heading:'Cairo','Cormorant Garamond',serif;
  --font-body:'Cairo',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
body,button,input,textarea,select,a,p,span,small,strong,h1,h2,h3,h4,h5,h6{font-family:var(--font-body)}
.brand-image{display:inline-flex;align-items:center;min-width:155px;height:54px;padding:0!important;background:transparent!important;border:0!important;overflow:hidden}
.brand-logo{display:block;max-width:160px;width:160px;height:48px;object-fit:contain;object-position:left center}
.footer-brand-logo{height:auto;min-width:190px}.footer-brand-logo .brand-logo{width:190px;height:70px}
html[dir='rtl'] .brand-logo{object-position:right center}
html[data-theme='dark'] .brand-logo-light{display:none}
html[data-theme='light'] .brand-logo-dark{display:none}
html[data-theme='light'] .brand-logo-light{display:block}
html[data-theme='dark'] .brand-logo-dark{display:block}
.template-header .brand-image:hover{transform:translateY(-1px)}
.social-links{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.social-links a{width:34px;height:34px;border:1px solid var(--border);border-radius:50%;display:grid;place-items:center;color:var(--gold-2);background:rgba(201,154,61,.06);transition:.25s ease;text-decoration:none}
.social-links a svg{width:17px;height:17px;fill:currentColor;display:block}
.social-links a:hover{background:linear-gradient(135deg,var(--gold-2),var(--gold));color:#090909;transform:translateY(-3px);box-shadow:0 14px 30px rgba(201,154,61,.22)}
.footer-social-links{justify-content:flex-start}
.footer .footer-social-links{align-self:start}
.icon-btn{display:inline-flex;align-items:center;gap:6px;min-width:44px;padding:0 12px}
.icon-btn svg{width:17px;height:17px;fill:currentColor}
.icon-btn span{font-size:.68rem;font-weight:900;letter-spacing:.02em}
.template-header .bc-nav{align-items:center}
.mobile-drawer-logo{width:120px;height:44px;object-fit:contain;object-position:left center}
html[data-theme='light'] .mobile-drawer-logo{filter:invert(1)}
.service-icon-svg,.why-icon{display:grid;place-items:center;color:var(--gold-2)}
.service-icon-svg svg{width:50px;height:50px;transition:.4s ease}
.why-icon{width:56px;height:56px;border:1px solid var(--border);border-radius:18px;background:rgba(201,154,61,.08);margin-bottom:18px}
.why-icon svg{width:34px;height:34px}
.service-card:hover .service-icon-svg svg,.why-card:hover .why-icon svg{transform:scale(1.08) rotate(-3deg)}
html[dir='rtl'] .service-card:hover .service-icon-svg svg,html[dir='rtl'] .why-card:hover .why-icon svg{transform:scale(1.08) rotate(3deg)}
/* Carousel 1 exact-style structure */
.displacement-hero{padding:0!important;min-height:100vh;background:#050505;overflow:hidden}
.bc-webgl-slider{position:relative;width:100%;height:100vh;min-height:760px;overflow:hidden;background:#050505}
.bc-webgl-slider.loading:before{content:'';position:absolute;inset:0;z-index:20;background:#050505}
.bc-webgl-slider.loading:after{content:'';position:absolute;z-index:21;top:50%;left:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;background:rgba(240,198,106,.4);animation:loaderAnim .7s linear infinite alternate forwards}
.displacement-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:0;display:block;transform:translate3d(calc(var(--mouse-x,0px) * .014),calc(var(--mouse-y,0px) * .014),0) scale(1.045);transition:transform .2s ease-out,opacity .35s ease}
.bc-webgl-slider .hero-overlay{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.91),rgba(0,0,0,.48),rgba(0,0,0,.86)),radial-gradient(circle at var(--glow-x,70%) var(--glow-y,28%),rgba(240,198,106,.2),transparent 30%)}
.slider-source-images{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);opacity:0;pointer-events:none}
.hero-slider-inner{position:relative;z-index:5;display:flex;align-items:center;width:min(var(--container),calc(100% - 56px));height:100%;margin:0 auto;padding-top:150px}
#slider-content{position:relative;z-index:6;max-width:900px;transition:opacity .35s ease,transform .35s ease}
#slider-content.is-changing{opacity:0;transform:translateY(22px)}
#slider-content .meta,.hero-status-meta{display:inline-block;font-size:.82rem;font-weight:900;letter-spacing:.34em;color:var(--gold-2);text-transform:uppercase;position:relative}
#slider-content .meta:after,.hero-status-meta:after{content:'';display:inline-block;width:50px;height:2px;background:rgba(240,198,106,.45);vertical-align:middle;margin-inline-start:14px}
#slide-title{margin:22px 0 36px;font-weight:800;font-size:clamp(3.2rem,8.6vw,8.3rem);line-height:.9;letter-spacing:-.06em;color:#fff;text-transform:uppercase;max-width:980px}
#heroSubtitle{max-width:650px;margin:28px 0 0;color:rgba(255,255,255,.75);line-height:1.9;font-size:clamp(1rem,1.2vw,1.18rem)}
#slide-status{margin-top:10px;font-size:clamp(1.3rem,2.1vw,2.6rem);font-weight:700;line-height:1.25;color:#fff;max-width:650px}
.hero-status-meta{margin-top:30px}
.hero-pagination{position:absolute;top:50%;right:34px;transform:translateY(-50%);z-index:7;display:grid;gap:28px}
.hero-pagination button{display:block;appearance:none;border:0;width:16px;height:16px;background:#fff;border-radius:50%;padding:0;cursor:pointer;position:relative;opacity:.22;transition:opacity .25s ease,transform .25s ease,background .25s ease;outline:none}
.hero-pagination button:hover{opacity:.55;transform:scale(1.08)}
.hero-pagination button.active{opacity:1;background:var(--gold-2)}
.hero-pagination button:before{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;border-radius:50%;border:1px solid rgba(255,255,255,.24);opacity:0;transition:opacity .38s ease,width .38s ease,height .38s ease}
.hero-pagination button.active:before{width:300%;height:300%;opacity:1}
.hero-pagination button span{position:absolute;right:32px;top:50%;transform:translateY(-50%);font-size:.74rem;font-weight:900;color:#fff;letter-spacing:.18em;opacity:0;transition:.25s ease}
.hero-pagination button:hover span,.hero-pagination button.active span{opacity:.9}
.bc-webgl-slider .hero-arrow{z-index:8;background:rgba(0,0,0,.24);backdrop-filter:blur(10px)}
.bc-webgl-slider .hero-arrow:hover{background:rgba(201,154,61,.18)}
.bc-webgl-slider .template-hero-card{z-index:6}
html[dir='rtl'] .hero-pagination{right:auto;left:34px}
html[dir='rtl'] .hero-pagination button span{right:auto;left:32px}
html[data-theme='light'] .displacement-hero,html[data-theme='light'] .bc-webgl-slider{background:#f7f4ee}
html[data-theme='light'] .bc-webgl-slider .hero-overlay{background:linear-gradient(90deg,rgba(255,250,241,.96),rgba(255,250,241,.73),rgba(255,250,241,.94)),radial-gradient(circle at var(--glow-x,70%) var(--glow-y,28%),rgba(201,154,61,.18),transparent 34%)!important}
html[data-theme='light'] .displacement-canvas{opacity:.32;filter:saturate(.72) contrast(.86) brightness(1.15)}
html[data-theme='light'] #slide-title,html[data-theme='light'] #slide-status{color:#15110d}
html[data-theme='light'] #heroSubtitle{color:#5f574c}
html[data-theme='light'] .hero-pagination button{background:#1a140d}
html[data-theme='light'] .hero-pagination button.active{background:var(--gold)}
html[data-theme='light'] .hero-pagination button:before{border-color:rgba(32,25,12,.25)}
html[data-theme='light'] .hero-pagination button span{color:#15110d}
@media(max-width:1120px){
  .brand-image{min-width:132px}.brand-logo{width:132px}
  .header-info-right.social-links{gap:7px}.header-info-right.social-links a{width:30px;height:30px}
}
@media(max-width:860px){
  .brand-image{min-width:118px;height:46px}.brand-logo{width:118px;height:42px}
  .bc-webgl-slider{min-height:720px;height:92vh}
  .hero-slider-inner{width:calc(100% - 42px);align-items:center;padding-top:110px}
  #slide-title{font-size:clamp(3rem,14vw,5.2rem);margin-bottom:24px}
  #heroSubtitle{margin-top:20px}
  #slide-status{font-size:1.35rem}
  .hero-status-meta{margin-top:22px}
  .hero-pagination{top:auto;bottom:34px;right:24px;left:auto;transform:none;display:flex;gap:16px}
  html[dir='rtl'] .hero-pagination{left:24px;right:auto}
  .hero-pagination button{width:12px;height:12px}
  .hero-pagination button span{display:none}
}
@media(max-width:520px){
  .header-actions{gap:6px}.icon-btn span{display:none}.icon-btn{min-width:40px;padding:0}
  .bc-webgl-slider{min-height:680px}
  #slider-content .meta,.hero-status-meta{font-size:.68rem;letter-spacing:.22em}
  #slider-content .meta:after,.hero-status-meta:after{width:34px}
  .footer-brand-logo .brand-logo{width:150px;height:54px}
}

html[data-theme='dark'] body[data-page='home'] .template-header .brand-logo-dark{display:none!important}
html[data-theme='dark'] body[data-page='home'] .template-header .brand-logo-light{display:block!important}


/* === Update v1.3.8: exact brand logos, category pages, client logos, footer/contact fixes === */
:root{--font-sans:'Cairo',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--font-heading:'Cairo',system-ui,sans-serif}
.brand-logo{width:clamp(136px,13vw,220px)!important;height:58px!important;object-fit:contain!important}.footer-brand-logo .brand-logo{width:230px!important;height:78px!important}.brand-image{min-width:clamp(136px,13vw,220px)}
.template-header-bottom{grid-template-columns:minmax(130px,220px) minmax(0,1fr) auto}.bc-nav{min-width:0}.bc-nav a,.nav-item>a{white-space:nowrap}.header-actions{min-width:max-content}.header-quote,.btn{white-space:normal;line-height:1.25;min-height:44px;display:inline-flex;align-items:center;justify-content:center;text-align:center;gap:8px}.btn{max-width:100%}
.icon-btn img{width:20px;height:20px;display:block}.menu-toggle span{display:block}
.contact-form .phone-full,.footer-contact-form .phone-full{grid-column:1/-1}.contact-form input,.contact-form textarea{min-height:64px;font-size:1rem}.contact-form textarea{min-height:210px;line-height:1.8}.contact-form button{min-width:220px}
.footer-rich{display:grid;grid-template-columns:1.05fr .9fr 1.05fr;align-items:start;gap:42px}.footer-rich h3{font-size:1.18rem;margin:0 0 16px;color:var(--gold-2)}.footer-links-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}.footer-links-grid a{padding:8px 0;border-bottom:1px solid var(--border)}.footer-contact-col p{margin:8px 0}.footer-contact-col a{color:var(--muted)}.footer-contact-form{margin-top:16px}.footer-contact-form input,.footer-contact-form textarea{min-height:52px;border-radius:14px}.footer-contact-form textarea{min-height:110px}.footer-contact-form .btn{min-width:160px}.copyright{border-top:1px solid var(--border);padding-top:18px;margin-top:8px}
.service-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 34px}.category-card{position:relative;overflow:hidden;border:1px solid var(--border);border-radius:28px;padding:30px;background:linear-gradient(180deg,var(--surface),rgba(201,154,61,.05));box-shadow:var(--shadow);min-height:285px;display:flex;flex-direction:column;transition:.35s ease}.category-card:hover{transform:translateY(-8px);border-color:rgba(201,154,61,.55)}.category-card h3{font-size:2rem;margin:18px 0 10px}.category-card p{color:var(--muted);line-height:1.75;min-height:86px}.category-icon{width:70px;height:70px;border-radius:22px;border:1px solid var(--border);display:grid;place-items:center;background:rgba(201,154,61,.08);color:var(--gold-2)}.category-icon svg{width:38px;height:38px}.category-card .card-link{margin-top:auto}.rich-category-hero{background:linear-gradient(180deg,rgba(201,154,61,.12),transparent)}
.category-intro-panel{position:relative;overflow:hidden;border:1px solid var(--border);border-radius:34px;padding:54px;background:linear-gradient(90deg,rgba(0,0,0,.86),rgba(0,0,0,.4)),var(--category-bg) center/cover;box-shadow:var(--shadow);min-height:360px;display:flex;align-items:end}.category-intro-panel>div{max-width:760px;position:relative;z-index:1}.category-intro-panel h2{font-size:clamp(2.4rem,5vw,5rem);color:#fff}.category-intro-panel p{color:rgba(255,255,255,.78);line-height:1.9}.category-services-inner{padding-left:0!important;padding-right:0!important}.tech-showcase{display:grid;grid-template-columns:1.05fr .95fr;gap:34px;margin:44px 0;border:1px solid var(--border);border-radius:34px;padding:42px;background:linear-gradient(135deg,rgba(201,154,61,.1),rgba(255,255,255,.03)),var(--surface);box-shadow:var(--shadow)}.tech-showcase p{color:var(--muted);line-height:1.9}.tech-pill-grid{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.tech-pill-grid span{border:1px solid var(--border);border-radius:999px;padding:10px 14px;color:var(--gold-2);font-weight:900;background:rgba(201,154,61,.06)}.app-demo-card{border:1px solid rgba(201,154,61,.32);border-radius:28px;background:#080808;padding:24px;min-height:330px;box-shadow:inset 0 0 60px rgba(201,154,61,.08)}.app-window{height:42px;border-bottom:1px solid rgba(255,255,255,.1);display:flex;gap:8px}.app-window span{width:12px;height:12px;border-radius:50%;background:var(--gold-2)}.app-dashboard-lines{display:grid;gap:16px;margin-top:34px}.app-dashboard-lines i{display:block;width:var(--w);height:16px;border-radius:999px;background:linear-gradient(90deg,var(--gold-2),rgba(201,154,61,.15));animation:barGrow 1.4s ease both}.app-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:32px}.app-kpis b{text-align:center;border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:22px 8px;color:#fff}.client-logo-card{display:flex;flex-direction:column}.client-logo-box{height:96px;border:1px solid var(--border);border-radius:18px;display:grid;place-items:center;background:rgba(0,0,0,.2);margin-bottom:16px;overflow:hidden}.client-logo-box img{max-width:88%;max-height:78px;object-fit:contain}.logo-image-item{min-width:190px;height:86px;display:grid;place-items:center}.logo-image-item img{max-width:160px;max-height:60px;object-fit:contain;filter:grayscale(.1)}html[data-theme='light'] .client-logo-box,html[data-theme='light'] .logo-image-item{background:rgba(255,255,255,.65)}html[data-theme='light'] .category-intro-panel{background:linear-gradient(90deg,rgba(255,250,241,.95),rgba(255,250,241,.78)),var(--category-bg) center/cover}html[data-theme='light'] .category-intro-panel h2{color:#17120d}html[data-theme='light'] .category-intro-panel p{color:#625848}.service-card h3,.project-card h3,.why-card strong,.client-card h3{line-height:1.25;min-height:2.5em}.service-card p,.project-card p,.why-card p,.client-card p{line-height:1.75}.service-card,.why-card,.project-card,.client-card{min-width:0}.project-content{min-height:180px;display:flex;flex-direction:column}.project-content .card-link{margin-top:auto}.nav-dropdown{z-index:300}.template-header{z-index:250}.nav-dropdown .nav-dropdown{z-index:310}
@media(max-width:1120px){.template-header-bottom{grid-template-columns:auto auto}.footer-rich{grid-template-columns:1fr 1fr}.footer-contact-col{grid-column:1/-1}.service-category-grid{grid-template-columns:1fr 1fr}.tech-showcase{grid-template-columns:1fr}.brand-logo{width:150px!important}}
@media(max-width:860px){.footer-rich,.service-category-grid{grid-template-columns:1fr}.footer-links-grid{grid-template-columns:1fr}.contact-form{grid-template-columns:1fr!important}.contact-form .phone-full{grid-column:auto}.contact-form textarea{min-height:170px}.category-intro-panel{padding:34px;min-height:300px}.template-header-bottom{grid-template-columns:auto auto}.header-actions{gap:8px}.brand-logo{width:132px!important;height:46px!important}.footer-brand-logo .brand-logo{width:180px!important;height:62px!important}.bc-nav .nav-item{width:100%}.mobile-drawer .nav-item.has-dropdown>a{pointer-events:auto}.mobile-drawer .nav-dropdown{position:static!important;opacity:1!important;visibility:visible!important;transform:none!important;display:none!important;box-shadow:none!important;margin:8px 0 0;padding:10px;background:rgba(201,154,61,.07)}.mobile-drawer .nav-item.open>.nav-dropdown{display:grid!important}}


/* === Update v1.3.8: nav overflow, exact logos, client logo loading, category widths, mobile polish === */
.bc-header.template-header{width:min(calc(100% - 28px),1780px)!important;overflow:visible!important;border-radius:34px!important}
.template-header.bc-header{overflow:visible!important}
.template-header-top,.template-header-bottom{overflow:visible!important}
.template-header-bottom{grid-template-columns:auto minmax(0,1fr) auto!important;gap:12px!important;padding:10px 16px!important}
.brand-image{width:clamp(132px,8.6vw,178px)!important;min-width:132px!important;height:64px!important;overflow:visible!important;flex-shrink:0!important}
.brand-logo{width:100%!important;max-width:178px!important;height:58px!important;object-fit:contain!important;object-position:left center!important}
html[dir='rtl'] .brand-logo{object-position:right center!important}
.footer-brand-logo{width:210px!important;min-width:210px!important;height:auto!important}.footer-brand-logo .brand-logo{max-width:210px!important;width:210px!important;height:76px!important}
html[data-theme='dark'] .brand-logo-dark{display:block!important}html[data-theme='dark'] .brand-logo-light{display:none!important}
html[data-theme='light'] .brand-logo-dark{display:none!important}html[data-theme='light'] .brand-logo-light{display:block!important}
/* remove old home-only inversion */
html[data-theme='dark'] body[data-page='home'] .template-header .brand-logo-dark{display:block!important}
html[data-theme='dark'] body[data-page='home'] .template-header .brand-logo-light{display:none!important}
.template-header .bc-nav{min-width:0!important;justify-content:center!important;gap:2px!important;padding:4px!important;overflow:visible!important;flex-wrap:nowrap!important}
.bc-nav>.nav-item{flex:0 0 auto}.bc-nav a,.nav-item>a{white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;font-size:clamp(.72rem,.68vw,.84rem)!important;padding:10px clamp(7px,.62vw,12px)!important;letter-spacing:.02em!important;line-height:1.2!important}.nav-item.has-dropdown>a{padding-inline-end:28px!important}.nav-item.has-dropdown>a:after{font-size:.6rem!important}
.header-actions{gap:7px!important;flex-shrink:0!important}.header-quote{padding:0 16px!important;font-size:clamp(.82rem,.8vw,.95rem)!important;white-space:nowrap!important;min-width:auto!important}.icon-btn,.lang-switch{min-width:48px!important}.lang-switch{padding:0 13px!important}
.nav-dropdown{overflow:visible!important;z-index:500!important}.nav-dropdown .nav-dropdown{z-index:510!important}.template-header{z-index:450!important}
/* Desktop/tablet fallback: switch to clean drawer before the nav can overflow */
@media(max-width:1380px){.template-header .bc-nav{display:none!important}.menu-toggle{display:block!important}.header-quote{display:none!important}.template-header-bottom{grid-template-columns:auto auto!important;justify-content:space-between!important}.bc-header.template-header{width:calc(100% - 22px)!important}}
@media(max-width:700px){.template-header-top{display:none!important}.bc-header.template-header{top:10px!important;border-radius:24px!important}.brand-image{width:118px!important;min-width:118px!important;height:50px!important}.brand-logo{height:46px!important}.header-actions .icon-btn,.header-actions .lang-switch{height:42px!important;min-width:42px!important;font-size:.78rem!important}.header-actions{gap:5px!important}.mobile-drawer{width:min(390px,92vw)!important}.mobile-drawer-logo .brand-logo{max-width:180px!important;width:180px!important;height:62px!important}.mobile-drawer-head{min-height:70px}}
/* Remove hero navigation arrows, keep only pagination dots */
.hero-arrow,.bc-webgl-slider .hero-arrow,#heroPrev,#heroNext{display:none!important;visibility:hidden!important;pointer-events:none!important}
/* Client logos from live B-CORP assets */
.client-logo-box,.logo-image-item{background:#fff!important;border-color:rgba(201,154,61,.22)!important;box-shadow:0 14px 34px rgba(0,0,0,.08)}
.client-logo-box img{display:block!important;max-width:90%!important;max-height:86px!important;object-fit:contain!important;filter:none!important;opacity:1!important}.logo-image-item img{display:block!important;max-width:170px!important;max-height:70px!important;object-fit:contain!important;filter:none!important;opacity:1!important}.client-logo-box{min-height:110px}.logo-image-item{min-width:205px;height:96px;border:1px solid var(--border);border-radius:20px;background:#fff!important;padding:12px}
/* Category/new page width fixes */
#serviceCategoryPage{overflow:hidden}.category-content-root{width:100%}.category-content-root>.section{padding-left:max(28px,calc((100vw - var(--container))/2))!important;padding-right:max(28px,calc((100vw - var(--container))/2))!important}.category-intro-section{padding-top:90px!important}.category-services-inner{padding-top:30px!important}.tech-showcase{margin:0!important;width:100%!important}.service-category-grid,.services-grid,.projects-grid,.client-grid{min-width:0}.inner-hero.rich-category-hero{padding-left:max(28px,calc((100vw - var(--container))/2))!important;padding-right:max(28px,calc((100vw - var(--container))/2))!important}
@media(max-width:860px){.section,.category-content-root>.section,.inner-hero.rich-category-hero{padding-left:22px!important;padding-right:22px!important}.category-intro-section{padding-top:70px!important}.category-intro-panel{padding:28px!important;border-radius:26px!important}.tech-showcase{padding:28px!important;border-radius:26px!important}.app-kpis{grid-template-columns:1fr!important}.services-grid,.projects-grid,.client-grid,.why-grid{grid-template-columns:1fr!important}.projects-section .projects-grid,.projects-grid.archive{grid-template-columns:repeat(2,minmax(0,1fr))!important}.header-info-left{font-size:.75rem}.header-info-right.social-links a{width:30px;height:30px}}
@media(max-width:520px){.projects-section .projects-grid,.projects-grid.archive{grid-template-columns:1fr!important}.contact-form input,.contact-form textarea{font-size:.95rem}.contact-form button,.btn{width:100%;min-width:0!important}.footer-brand-logo,.footer-brand-logo .brand-logo{width:170px!important;min-width:170px!important}.client-logo-box{min-height:96px}.logo-image-item{min-width:170px;height:86px}.logo-image-item img{max-width:145px!important}}
/* Text/button overflow protection */
.btn,.header-quote,.filters button,.archive-toolbar select{overflow-wrap:anywhere}.service-card h3,.project-card h3,.why-card strong,.client-card h3,.category-card h3{min-height:auto!important;overflow-wrap:anywhere}.service-card p,.project-card p,.why-card p,.client-card p,.category-card p{min-height:auto!important;overflow-wrap:anywhere}.project-content{min-height:auto!important}.contact-form .phone-full{grid-column:1/-1!important}


/* === Update v1.3.8: brand image only, two-row clients, centered logo, responsive grids, hidden client info === */
:root{--section-cols:1;--card-text-min:6.4em;}
/* Exact image branding only */
.brand-image,
.footer-brand-logo{display:grid!important;place-items:center!important;align-items:center!important;justify-content:center!important;overflow:visible!important;text-indent:0!important;line-height:0!important}
.brand-image .brand-logo,
.footer-brand-logo .brand-logo{display:block!important;margin:auto!important;object-fit:contain!important;object-position:center!important;max-width:100%!important;max-height:100%!important}
.brand-logo-dark,.loader-logo-dark,.mobile-logo-dark{display:block!important}.brand-logo-light,.loader-logo-light,.mobile-logo-light{display:none!important}
html[data-theme='light'] .brand-logo-dark,html[data-theme='light'] .loader-logo-dark,html[data-theme='light'] .mobile-logo-dark{display:none!important}
html[data-theme='light'] .brand-logo-light,html[data-theme='light'] .loader-logo-light,html[data-theme='light'] .mobile-logo-light{display:block!important}
.brand-image{width:clamp(150px,11vw,235px)!important;min-width:150px!important;height:58px!important}
.brand-logo{width:auto!important;height:auto!important;max-height:54px!important}
.footer-brand-logo{width:min(280px,100%)!important;min-width:0!important;height:84px!important}.footer-brand-logo .brand-logo{max-height:78px!important;width:auto!important}
.mobile-drawer-head{justify-content:center!important;display:grid!important;place-items:center!important;min-height:86px!important}.mobile-drawer-logo{max-width:260px!important;max-height:76px!important;width:auto!important;height:auto!important;margin:auto!important;object-fit:contain!important}
/* Loading screen uses animated logo image only */
.loader-brand{display:none!important}.loader-brand-logo{width:min(360px,78vw);min-height:120px;display:grid;place-items:center;position:relative;animation:loaderLogoFloat 1.8s ease-in-out infinite alternate}.loader-logo{width:min(310px,70vw);height:auto;object-fit:contain;filter:drop-shadow(0 28px 45px rgba(201,154,61,.22));animation:loaderLogoPulse 1.25s ease-in-out infinite alternate}.loader-box{gap:18px!important}.loader-spinner{width:46px!important;height:46px!important}
@keyframes loaderLogoFloat{from{transform:translateY(0)}to{transform:translateY(-8px)}}@keyframes loaderLogoPulse{from{opacity:.78;transform:scale(.985)}to{opacity:1;transform:scale(1.025)}}
/* Header overflow and mobile stability */
.bc-header.template-header{max-width:min(1840px,calc(100vw - 26px))!important;overflow:visible!important}.template-header-bottom{overflow:visible!important}.header-actions{flex-shrink:0!important}.template-header .bc-nav{overflow:visible!important;min-width:0!important}.bc-nav>.nav-item,.nav-item{overflow:visible!important}.bc-nav a,.nav-item>a{line-height:1.35!important;min-height:42px!important;display:flex!important;align-items:center!important}.nav-dropdown{overflow:visible!important;min-width:260px!important}.nav-dropdown a{white-space:normal!important;min-height:44px!important}.menu-toggle{display:none}
@media(max-width:1480px){.template-header .bc-nav{display:none!important}.menu-toggle{display:block!important}.header-quote{display:none!important}.template-header-bottom{grid-template-columns:auto auto!important}.brand-image{width:clamp(138px,18vw,215px)!important}}
@media(max-width:720px){.bc-header.template-header{width:calc(100% - 14px)!important;top:7px!important;border-radius:22px!important}.template-header-bottom{padding:9px 10px!important}.brand-image{width:126px!important;min-width:126px!important;height:48px!important}.brand-logo{max-height:44px!important}.header-actions{gap:4px!important}.header-actions .icon-btn,.header-actions .lang-switch,.header-actions .menu-toggle{width:43px!important;min-width:43px!important;height:43px!important;padding:0!important}.lang-switch{font-size:.75rem!important}.mobile-drawer{width:min(410px,94vw)!important}.mobile-drawer-head{min-height:78px!important}.mobile-drawer-logo{max-width:220px!important;max-height:66px!important}}
@media(max-width:420px){.brand-image{width:108px!important;min-width:108px!important}.brand-logo{max-height:39px!important}.header-actions .icon-btn,.header-actions .lang-switch,.header-actions .menu-toggle{width:40px!important;min-width:40px!important;height:40px!important}}
/* Remove hero arrows from layout completely */
.hero-arrow,#heroPrev,#heroNext{display:none!important;width:0!important;height:0!important;opacity:0!important;pointer-events:none!important}
/* Two-row client logos on homepage */
.logo-marquee{display:grid!important;gap:18px!important;overflow:hidden!important;padding:8px 0!important}.logo-track-row{display:flex!important;align-items:center!important;gap:18px!important;width:max-content!important;animation:logoScroll 28s linear infinite}.logo-track-row.row-two{animation-direction:reverse;animation-duration:34s}.logo-marquee:hover .logo-track-row{animation-play-state:paused}.logo-image-item{height:108px!important;min-width:220px!important;border-radius:24px!important;background:#fff!important;border:1px solid rgba(201,154,61,.22)!important;box-shadow:0 16px 40px rgba(0,0,0,.08);display:grid!important;place-items:center!important;padding:16px!important}.logo-image-item img{display:block!important;width:auto!important;max-width:180px!important;max-height:78px!important;object-fit:contain!important;opacity:1!important;filter:none!important}.logo-failed{background:linear-gradient(135deg,rgba(201,154,61,.15),#fff)!important}.logo-failed:after{content:'';width:72px;height:34px;border:2px solid rgba(201,154,61,.45);border-radius:10px;display:block}.clients-section .section-head p{line-height:2!important;min-height:4.2em!important}
@keyframes logoScroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}html[dir='rtl'] .logo-track-row{animation-name:logoScrollRtl}@keyframes logoScrollRtl{from{transform:translateX(0)}to{transform:translateX(50%)}}
/* Clients archive: hide info text now, keep data-ready card shell for future CMS edit */
.clients-logo-only{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;min-height:auto!important;overflow:visible!important}.clients-logo-only:hover{transform:translateY(-4px)!important}.clients-logo-only small,.clients-logo-only h3,.clients-logo-only p,.client-info-placeholder{display:none!important}.clients-logo-only .client-logo-box{height:150px!important;min-height:150px!important;margin:0!important;border-radius:28px!important;background:#fff!important;padding:22px!important;box-shadow:0 18px 55px rgba(0,0,0,.1)}.clients-logo-only .client-logo-box img{max-width:92%!important;max-height:105px!important;object-fit:contain!important}.clients-archive-section .client-grid{gap:22px!important}
/* More text height / no overlap */
.service-card p,.project-card p,.why-card p,.category-card p,.details-caption p,.contact-copy p{line-height:1.95!important}.service-card p,.project-card p,.category-card p{min-height:var(--card-text-min)!important}.why-card p{min-height:5.4em!important}.contact-form textarea{min-height:190px!important;line-height:1.8!important}.contact-form input{min-height:66px!important}.footer-contact-form textarea{min-height:132px!important}.section-head p:not(.eyebrow){line-height:2!important}.project-content{min-height:230px!important}.service-card{min-height:330px!important}.category-card{min-height:300px!important}.btn,.header-quote,.filters button{white-space:normal!important;text-align:center!important;line-height:1.25!important;min-height:48px!important}
/* Auto-width grid utilities: 1 column = full, 2 = halves, 3 = thirds, etc. Can be reused by CMS sections. */
.auto-grid,.cms-grid,[data-grid-cols]{display:grid!important;grid-template-columns:repeat(var(--grid-cols,1),minmax(0,1fr))!important;gap:var(--grid-gap,22px)!important}.grid-cols-1{--grid-cols:1}.grid-cols-2{--grid-cols:2}.grid-cols-3{--grid-cols:3}.grid-cols-4{--grid-cols:4}.grid-cols-5{--grid-cols:5}.col-12{grid-column:auto/span 12}.col-6{grid-column:auto/span 6}.col-4{grid-column:auto/span 4}.col-3{grid-column:auto/span 3}.about-grid,.contact-panel,.template-details-area,.tech-showcase{grid-template-columns:repeat(2,minmax(0,1fr))!important}.single-layout{grid-template-columns:minmax(0,1fr) 360px!important}.category-content-root,.category-content-root>.section,.section{width:100%!important;max-width:none!important}.category-content-root .section>*:not(.full-bleed){min-width:0}.services-grid,.projects-grid,.client-grid,.why-grid,.service-category-grid,.value-grid,.feature-list{grid-auto-flow:row;min-width:0}.services-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.projects-section .projects-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.why-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.client-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.service-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(max-width:1100px){.services-grid,.service-category-grid,.why-grid,.client-grid,.projects-section .projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.about-grid,.contact-panel,.template-details-area,.tech-showcase,.single-layout{grid-template-columns:1fr!important}.auto-grid,.cms-grid,[data-grid-cols]{grid-template-columns:repeat(min(var(--grid-cols,1),2),minmax(0,1fr))!important}.project-content{min-height:205px!important}.service-card{min-height:300px!important}}
@media(max-width:620px){.services-grid,.service-category-grid,.why-grid,.client-grid,.projects-section .projects-grid,.projects-grid.archive,.auto-grid,.cms-grid,[data-grid-cols]{grid-template-columns:1fr!important}.logo-marquee{gap:12px!important}.logo-image-item{min-width:176px!important;height:92px!important}.logo-image-item img{max-width:145px!important;max-height:62px!important}.clients-logo-only .client-logo-box{height:116px!important;min-height:116px!important}.project-content,.service-card p,.project-card p,.category-card p,.why-card p{min-height:auto!important}.service-card{min-height:auto!important}.contact-form input,.contact-form textarea,.contact-form button{width:100%!important}}


/* === Update v1.3.8: alignment, mobile layering, auto related grids, modal overflow/fade, cursor glow === */
:root{--cursor-x:50vw;--cursor-y:50vh}.page-glow{position:fixed!important;inset:0!important;pointer-events:none!important;z-index:0!important;background:radial-gradient(circle at var(--cursor-x) var(--cursor-y),rgba(201,154,61,.18),transparent 22rem),radial-gradient(circle at 50% 20%,rgba(201,154,61,.08),transparent 42rem)!important;opacity:.9;transition:opacity .25s ease}html[data-theme='light'] .page-glow{background:radial-gradient(circle at var(--cursor-x) var(--cursor-y),rgba(201,154,61,.16),transparent 24rem),radial-gradient(circle at 50% 12%,rgba(201,154,61,.08),transparent 38rem)!important}

/* Home nav dark should stay dark */
html[data-theme='dark'] body[data-page='home'] .template-header.bc-header{background:rgba(8,8,8,.86)!important;border-color:rgba(201,154,61,.28)!important;box-shadow:0 32px 90px rgba(0,0,0,.48)!important}
html[data-theme='dark'] body[data-page='home'] .template-header .bc-nav>a,html[data-theme='dark'] body[data-page='home'] .template-header .nav-item>a,html[data-theme='dark'] body[data-page='home'] .template-header .header-info-left a,html[data-theme='dark'] body[data-page='home'] .template-header .header-info-left span{color:rgba(255,250,241,.82)!important}
html[data-theme='dark'] body[data-page='home'] .template-header .icon-btn,html[data-theme='dark'] body[data-page='home'] .template-header .lang-switch,html[data-theme='dark'] body[data-page='home'] .template-header .menu-toggle,html[data-theme='dark'] body[data-page='home'] .template-header .header-info-right a{background:rgba(255,255,255,.035)!important;color:var(--text)!important;border-color:rgba(201,154,61,.3)!important}
html[data-theme='dark'] body[data-page='home'] .template-header .menu-toggle span{background:var(--text)!important}

/* Theme button icon-only */
#themeToggle{font-size:0!important;line-height:0!important;display:inline-grid!important;place-items:center!important}#themeToggle svg{width:21px!important;height:21px!important;display:block!important;fill:currentColor!important}#themeToggle span{display:none!important}
.header-info-left a,.modal-contact-lines a,.mobile-drawer-contact a{color:inherit;text-decoration:none}.header-info-left a:before{content:'•';color:var(--gold-2);margin-inline-end:7px}.header-info-left a:hover,.modal-contact-lines a:hover,.mobile-drawer-contact a:hover{color:var(--gold-2)}

/* Language-based form alignment */
.contact-form input,.contact-form textarea{text-align:left;direction:ltr}html[dir='rtl'] .contact-form input,html[dir='rtl'] .contact-form textarea{text-align:right;direction:rtl}html[dir='rtl'] .contact-form button{justify-self:end}html[dir='ltr'] .contact-form button{justify-self:start}

/* Home about logo instead of text branding */
.signature-logo-only{display:grid!important;place-items:start!important;min-height:78px!important;margin-top:24px!important}.signature-logo-only .brand-logo{max-width:230px!important;max-height:78px!important;width:auto!important;height:auto!important;object-fit:contain!important}.timeline div{position:relative}.timeline-icon{display:inline-grid;place-items:center;width:34px;height:34px;border:1px solid var(--border);border-radius:14px;color:var(--gold-2);background:rgba(201,154,61,.08);font-style:normal;margin-inline-end:10px;vertical-align:middle;box-shadow:0 12px 30px rgba(201,154,61,.08);animation:iconFloat 2.4s ease-in-out infinite alternate}.timeline div:nth-child(2) .timeline-icon{animation-delay:.3s}.timeline div:nth-child(3) .timeline-icon{animation-delay:.6s}@keyframes iconFloat{from{transform:translateY(0)}to{transform:translateY(-6px)}}

/* Related projects: static auto width grid, max 3, no arrows */
.related-static .related-track{display:grid!important;grid-template-columns:repeat(var(--related-count,3),minmax(0,1fr))!important;gap:22px!important;overflow:visible!important;padding:0!important;scroll-snap-type:none!important}.related-static .project-card{flex:initial!important;width:100%!important;min-width:0!important}.related-count-1 .related-track{grid-template-columns:1fr!important}.related-count-2 .related-track{grid-template-columns:repeat(2,minmax(0,1fr))!important}.related-count-3 .related-track{grid-template-columns:repeat(3,minmax(0,1fr))!important}.related-static .carousel-btn,.related-carousel .carousel-btn{display:none!important;visibility:hidden!important;pointer-events:none!important}@media(max-width:860px){.related-static .related-track{grid-template-columns:1fr!important}.related-static .project-card{max-width:100%!important}}

/* Mobile nav/backdrop always above content and never visible as raw button */
.mobile-menu-backdrop{position:fixed!important;inset:0!important;z-index:9990!important;border:0!important;padding:0!important;margin:0!important;background:rgba(0,0,0,.62)!important;backdrop-filter:blur(7px)!important;opacity:0!important;visibility:hidden!important;color:transparent!important;font-size:0!important;line-height:0!important;appearance:none!important;-webkit-appearance:none!important;outline:0!important}.menu-open .mobile-menu-backdrop{opacity:1!important;visibility:visible!important}.bc-header.template-header{z-index:10010!important}.mobile-drawer{z-index:10020!important}.modal{z-index:11000!important}.media-viewer-modal{z-index:11100!important}

/* Modal fade + overflow fix */
.modal{display:flex!important;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .24s ease,visibility .24s ease}.modal.show{opacity:1;visibility:visible;pointer-events:auto}.modal-backdrop{opacity:0;transition:opacity .28s ease}.modal.show .modal-backdrop{opacity:1}.modal-card{transform:translateY(28px) scale(.965);opacity:0;transition:transform .32s cubic-bezier(.22,.61,.36,1),opacity .26s ease;width:min(760px,calc(100vw - 28px))!important;max-height:min(86vh,820px)!important;overflow:auto!important;overscroll-behavior:contain!important}.modal.show .modal-card{transform:translateY(0) scale(1);opacity:1}.modal-card-contact .contact-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}.modal-card-contact .contact-form textarea,.modal-card-contact .contact-form button{grid-column:1/-1!important}.modal-card-contact .contact-form input{min-height:58px!important}.modal-card-contact .contact-form textarea{min-height:170px!important}.modal-contact-lines a,.modal-contact-lines span{border:1px solid var(--border);border-radius:999px;padding:8px 12px;background:var(--surface-2)}@media(max-width:700px){.modal{padding:12px!important}.modal-card{width:calc(100vw - 20px)!important;max-height:88vh!important;padding:24px!important;border-radius:22px!important}.modal-card-contact .contact-form{grid-template-columns:1fr!important}.modal-card-contact .contact-form textarea{min-height:150px!important}.modal-card h2,.modal-card h3{font-size:clamp(2rem,11vw,3.4rem)!important;line-height:1.02!important}}

/* Loop animated bars/charts */
.chart-row b:after{animation:barGrowLoop 2.6s ease-in-out infinite!important}.chart-row b:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.24),transparent);transform:translateX(-100%);animation:barShine 2.2s ease-in-out infinite}.stat-row strong{animation:statPulse 2.8s ease-in-out infinite}@keyframes barGrowLoop{0%{width:0}55%,82%{width:var(--bar)}100%{width:0}}@keyframes barShine{0%,25%{transform:translateX(-100%)}70%,100%{transform:translateX(100%)}}@keyframes statPulse{0%,100%{text-shadow:0 0 0 rgba(201,154,61,0)}50%{text-shadow:0 0 26px rgba(201,154,61,.36)}}

/* Project filters and long headings/buttons safe */
.filters{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:center}.filters button{max-width:100%;overflow:visible!important;white-space:normal!important;line-height:1.25!important}.value-card h3,.value-card strong,.section-head h2,.related-title{overflow-wrap:anywhere}.value-card{overflow:hidden}.value-card h3,.value-card strong{font-size:clamp(2rem,3.1vw,4rem)!important;line-height:1.05!important}

@media(max-width:720px){.contact-panel{padding:24px!important;border-radius:24px!important}.contact-copy h2{font-size:clamp(2.8rem,15vw,5rem)!important;line-height:1.02!important}.contact-form{grid-template-columns:1fr!important}.contact-form input,.contact-form textarea{min-height:58px!important}.mobile-drawer{top:0!important;bottom:0!important;max-height:100dvh!important;overflow-y:auto!important}.mobile-drawer-contact a,.mobile-drawer-contact small{color:var(--muted);border:1px solid var(--border);border-radius:999px;padding:9px 12px;background:var(--surface-2)}}


/* === Update v1.4.0: mobile menu close, Bootstrap Icons, tooltip/down, button/section alignment fixes === */
/* Bootstrap icon safety */
.bi{line-height:1;display:inline-flex;align-items:center;justify-content:center}

/* Tooltips must open downward, not off-screen above header icons */
[data-tooltip]:after{top:calc(100% + 10px)!important;bottom:auto!important;left:50%!important;right:auto!important;transform:translate(-50%,-8px)!important;z-index:12050!important;white-space:nowrap;max-width:min(260px,calc(100vw - 28px));text-align:center}
[data-tooltip]:hover:after{transform:translate(-50%,0)!important;opacity:1!important}
[data-tooltip]:before{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);border:6px solid transparent;border-bottom-color:var(--border);opacity:0;transition:.2s ease;z-index:12049}
[data-tooltip]:hover:before{opacity:1}.mobile-drawer [data-tooltip]:after,.mobile-drawer [data-tooltip]:before{display:none!important}

/* Mobile drawer close button */
.mobile-drawer-head{position:relative;display:flex!important;align-items:center!important;justify-content:center!important;min-height:78px;padding-inline:56px!important;margin-bottom:14px!important}
.mobile-drawer-close{position:absolute;inset-inline-end:0;top:50%;transform:translateY(-50%);width:44px;height:44px;border:1px solid var(--border);border-radius:50%;background:rgba(255,255,255,.04);color:var(--text);display:grid;place-items:center;cursor:pointer;transition:.25s ease;z-index:2}
.mobile-drawer-close:hover{background:linear-gradient(135deg,var(--gold-2),var(--gold));color:#111;transform:translateY(-50%) rotate(90deg)}
.mobile-drawer-close .bi{font-size:1.15rem}.mobile-drawer-logo{margin:auto!important;display:block!important;max-width:220px!important;width:70%!important;height:68px!important;object-fit:contain!important;object-position:center center!important}

/* Buttons: no broken letters, stable widths */
.btn,.header-quote,.mobile-quote,.contact-form button{width:auto!important;min-width:clamp(170px,12vw,240px)!important;max-width:100%!important;padding-inline:24px!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;line-height:1.25!important;text-wrap:balance}
.cta-panel .btn,.hero-actions .btn{min-width:220px!important}.header-quote{min-width:200px!important}.mobile-quote{width:100%!important;min-width:0!important}.btn i,.header-quote i{flex:0 0 auto}
@media(max-width:560px){.btn,.header-quote,.contact-form button{white-space:normal!important;min-width:min(220px,100%)!important;padding-inline:20px!important}.cta-panel .btn,.hero-actions .btn{min-width:min(230px,100%)!important}.btn{font-size:.95rem!important}.header-actions .header-quote{display:none!important}}

/* Light mode theme icon should be dark sun */
html[data-theme='light'] #themeToggle{color:#111!important;background:#fffaf1!important;border-color:rgba(201,154,61,.32)!important}
html[data-theme='dark'] #themeToggle{color:var(--gold-2)!important}#themeToggle .bi-sun-fill{font-size:1.08rem}#themeToggle .bi-moon-stars-fill{font-size:1rem}

/* Request quotation modal select + overflow improvements */
.contact-form select,.modal-card-contact .contact-form select{width:100%;min-height:58px;border:1px solid var(--border);background:rgba(255,255,255,.04);color:var(--text);border-radius:16px;padding:0 17px;outline:0;font-weight:700;appearance:auto}.contact-form select option{background:#111;color:#fff}.modal-card-contact .contact-form select{grid-column:1/-1!important}.modal-card-contact .modal-close{display:grid;place-items:center;font-size:0}.modal-card-contact .modal-close .bi{font-size:1rem}.modal-card-contact .contact-form{gap:14px!important}.modal-card-contact h2{font-size:clamp(2.4rem,6vw,4.8rem)!important;line-height:1.02!important}.modal-contact-lines{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.modal-contact-lines a,.modal-contact-lines span{display:inline-flex;align-items:center;gap:8px}
html[dir='rtl'] .contact-form select{text-align:right;direction:rtl}html[dir='ltr'] .contact-form select{text-align:left;direction:ltr}

/* Section alignment and typography fixes */
.section-head h2,.center-title,.related-title{font-size:clamp(2.6rem,5.2vw,5.8rem)!important;line-height:1.04!important;text-wrap:balance;max-width:1100px;margin-left:auto;margin-right:auto}.section-head p,.about-copy p,.project-card p,.service-card p,.value-card p,.category-card p{font-size:clamp(.98rem,1.02vw,1.08rem)!important;line-height:1.82!important;word-break:normal!important;overflow-wrap:normal!important}.project-content p,.service-card p{min-height:auto!important}.lead{font-size:clamp(1rem,1.2vw,1.25rem)!important}

/* Timeline: cleaner idea with icon / year / text instead of squeezed text */
.timeline{gap:18px!important}.timeline div{display:grid!important;grid-template-columns:54px 96px minmax(0,1fr)!important;gap:18px!important;align-items:center!important;padding:20px 22px!important;min-height:96px!important}.timeline-icon{width:42px!important;height:42px!important;border-radius:16px!important;margin:0!important;font-size:1rem!important}.timeline span{font-size:1.05rem!important}.timeline p{font-size:1rem!important;line-height:1.7!important;margin:0!important;color:var(--muted)!important}.timeline .bi{display:grid!important;place-items:center!important}
html[dir='rtl'] .timeline div{grid-template-columns:54px 96px minmax(0,1fr)!important}.about-logo-mark .brand-logo,.signature-logo-only .brand-logo{object-position:center center!important}
@media(max-width:620px){.timeline div{grid-template-columns:46px minmax(0,1fr)!important;gap:14px!important;padding:18px!important}.timeline span{grid-column:2}.timeline p{grid-column:1/-1;padding-top:4px}.timeline-icon{width:38px!important;height:38px!important}}

/* About values: new balanced card layout, no broken words */
.value-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;gap:22px!important}.value-card{padding:clamp(24px,3vw,42px)!important;min-height:330px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important}.value-card i{width:56px;height:56px;border:1px solid var(--border);border-radius:18px;display:grid!important;place-items:center;color:var(--gold-2);background:rgba(201,154,61,.08);font-size:1.35rem;margin-bottom:28px}.value-card h3{font-size:clamp(2.25rem,3.2vw,3.8rem)!important;line-height:1.05!important;letter-spacing:-.035em!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;max-width:100%}.value-card p{max-width:440px}.value-card:hover i{animation:iconFloat .9s ease-in-out infinite alternate}
@media(max-width:760px){.value-card{min-height:auto!important}.value-card h3{font-size:clamp(2rem,12vw,3rem)!important}.value-grid{grid-template-columns:1fr!important}}

/* Impact/stat section: redesign as compact stat cards instead of huge stacked numbers */
.impact-grid,.metrics-panel{align-items:center!important}.stat-row{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;align-items:center!important;gap:16px!important;padding:16px 18px;border:1px solid var(--border);border-radius:20px;background:rgba(201,154,61,.05);margin:14px 0!important}.stat-row strong{font-size:clamp(2rem,3vw,3.2rem)!important;line-height:1!important;text-align:center}.stat-row span{font-size:clamp(.95rem,1vw,1.08rem)!important;line-height:1.45!important}.metrics-panel h2,.impact-grid h2{font-size:clamp(2.4rem,4.6vw,5rem)!important;line-height:1.05!important;text-wrap:balance}@media(max-width:620px){.stat-row{grid-template-columns:1fr!important;text-align:center}.stat-row strong{text-align:center}.metrics-panel,.process-panel{padding:24px!important;border-radius:24px!important}}

/* Process/features grids: better alignment and bootstrap icon ready */
.process-steps div{display:flex!important;align-items:flex-start!important;gap:16px!important;min-height:108px!important;padding:20px!important}.process-steps span{flex:0 0 42px!important;width:42px!important;height:42px!important;margin:0!important}.process-steps strong{font-size:clamp(1rem,1.25vw,1.2rem)!important;line-height:1.55!important;word-break:normal!important;overflow-wrap:normal!important}.feature-list.rich li{align-items:flex-start!important;line-height:1.55!important}.feature-list.rich span{margin-top:2px}@media(max-width:860px){.feature-list.rich,.process-steps{grid-template-columns:1fr!important}.process-steps div{min-height:auto!important}}

/* Related projects border/width polish */
.related-static{max-width:var(--container);margin-inline:auto}.related-static .related-track{align-items:stretch}.related-static .project-card{height:100%;max-width:100%}.related-count-1 .project-card{max-width:760px;margin-inline:auto}.related-count-1 .project-card .project-image{height:min(460px,56vw)}

/* General auto-width columns for reusable CMS sections */
.auto-grid,[data-grid-cols],.cms-grid{grid-template-columns:repeat(var(--grid-cols,1),minmax(0,1fr))!important}.col-auto-width{min-width:0}.col-12-auto{grid-column:1/-1!important}

/* Header/mobile responsiveness */
@media(max-width:980px){.mobile-drawer{width:min(460px,100vw)!important;max-width:100vw!important}.mobile-drawer .nav-item>a,.mobile-drawer>a{font-size:1rem!important;min-height:54px!important}.mobile-drawer-contact{margin-top:28px!important}.bc-header.template-header{overflow:visible!important}.header-actions{position:relative;z-index:2}.menu-toggle{display:grid!important;place-items:center!important}}
@media(max-width:520px){.mobile-drawer{padding:20px 22px 26px!important}.mobile-drawer-logo{height:62px!important}.section{overflow:hidden}.template-header-bottom{gap:8px!important}.lang-switch,.icon-btn,.menu-toggle{width:52px!important;height:52px!important;min-width:52px!important}}


/* === Update v1.4.0: section overflow, contact page, gallery carousel, mobile menu and modal fixes === */
*{box-sizing:border-box}html,body{max-width:100%;overflow-x:hidden}.section,.inner-hero,.template-details-area,.project-gallery-section{max-width:100vw;overflow-x:hidden}.section > *{min-width:0}.center-actions{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:14px}.center-actions .btn{width:auto!important;min-width:280px!important;max-width:min(92vw,360px)!important}

/* Header tooltips always open downward and stay inside the screen */
.template-header [data-tooltip]:after,.header-info-right [data-tooltip]:after,.header-actions [data-tooltip]:after{top:calc(100% + 12px)!important;bottom:auto!important;left:50%!important;right:auto!important;transform:translate(-50%,0)!important;z-index:12050!important;max-width:min(240px,calc(100vw - 30px))!important;white-space:nowrap!important}.template-header [data-tooltip]:before,.header-info-right [data-tooltip]:before,.header-actions [data-tooltip]:before{top:calc(100% + 1px)!important;bottom:auto!important;border:6px solid transparent!important;border-bottom-color:var(--border)!important}

/* Desktop dropdowns should not overflow the hero/screen */
.bc-header .nav-dropdown{min-width:210px!important;width:max-content!important;max-width:min(300px,calc(100vw - 40px))!important;overflow:hidden!important}.bc-header .nav-dropdown .nav-dropdown{max-width:min(270px,calc(100vw - 40px))!important}.bc-header .nav-dropdown a{white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}.nav-item.has-dropdown:hover>.nav-dropdown{pointer-events:auto!important}.nav-dropdown .nav-item.has-dropdown{display:block!important}

/* Mobile drawer must show only one logo and sit above all content */
.mobile-drawer{z-index:12050!important}.mobile-menu-backdrop{z-index:12040!important}.mobile-drawer-head{justify-content:center!important}.mobile-drawer .mobile-logo-dark,.mobile-drawer .mobile-logo-light{display:none!important;position:static!important;margin:auto!important;width:min(240px,72vw)!important;height:74px!important;object-fit:contain!important;object-position:center!important;filter:none!important}html[data-theme='dark'] .mobile-drawer .mobile-logo-dark{display:block!important}html[data-theme='light'] .mobile-drawer .mobile-logo-light{display:block!important}.mobile-drawer-close{inset-inline-end:6px!important}.mobile-drawer a{word-break:normal!important;overflow-wrap:normal!important}.mobile-drawer .nav-dropdown{max-width:100%!important;overflow:hidden!important}
@media(max-width:760px){.bc-header.template-header{z-index:12020!important}.mobile-drawer{width:min(460px,100vw)!important;max-width:100vw!important}.mobile-drawer .nav-item.open>.nav-dropdown{display:grid!important}.mobile-drawer .nav-dropdown .nav-dropdown{margin-inline-start:0!important}}

/* Buttons: no clipped words */
.btn,.header-quote,.mobile-quote,.contact-form button{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;text-align:center!important}.hero-actions,.cta-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center}.cta-panel .btn,.hero-actions .btn{min-width:280px!important}.mobile-quote{min-width:0!important;width:100%!important}.btn:after{flex:0 0 auto}.btn span{display:inline-block}.btn.btn-gold{overflow:visible!important}
@media(max-width:460px){.cta-panel .btn,.hero-actions .btn,.center-actions .btn{min-width:min(280px,88vw)!important;width:auto!important;max-width:88vw!important}.btn{padding-inline:22px!important;font-size:.96rem!important}}

/* Feature lists: 2 items per row, no clipping */
.feature-list.rich.template-feature-list,.template-feature-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;overflow:visible!important}.feature-list.rich.template-feature-list li,.template-feature-list li{min-width:0!important;min-height:126px!important;align-items:flex-start!important;padding:22px 20px!important;font-size:clamp(1rem,1.25vw,1.16rem)!important;line-height:1.55!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}.feature-list.rich.template-feature-list span{flex:0 0 42px!important;width:42px!important;height:42px!important}
@media(max-width:700px){.feature-list.rich.template-feature-list,.template-feature-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}.feature-list.rich.template-feature-list li,.template-feature-list li{padding:16px!important;font-size:.92rem!important;min-height:112px!important}.feature-list.rich.template-feature-list span{width:34px!important;height:34px!important;flex-basis:34px!important}}
@media(max-width:430px){.feature-list.rich.template-feature-list,.template-feature-list{grid-template-columns:1fr!important}}

/* Request quotation modal: contained, no page-level overflow */
.modal{overflow:hidden!important;padding:clamp(10px,2vw,24px)!important}.modal-card-contact{width:min(1040px,calc(100vw - 22px))!important;max-height:min(88dvh,860px)!important;overflow-y:auto!important;overflow-x:hidden!important;padding:clamp(24px,4vw,52px)!important;border-radius:clamp(24px,3vw,38px)!important}.modal-card-contact h2,.modal-card-contact h3{font-size:clamp(2.4rem,7vw,5.4rem)!important;line-height:.98!important;max-width:920px!important;margin-bottom:22px!important}.modal-card-contact .contact-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}.modal-card-contact .contact-form input,.modal-card-contact .contact-form select{min-height:64px!important}.modal-card-contact .contact-form select,.modal-card-contact .contact-form textarea,.modal-card-contact .contact-form button{grid-column:1/-1!important}.modal-card-contact .contact-form textarea{min-height:210px!important}.modal-card-contact .modal-close{position:sticky!important;top:0!important;margin-inline-start:auto!important;z-index:2!important;float:inline-end}.modal.show .modal-card{animation:modalFadeScale .28s ease both}@keyframes modalFadeScale{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:700px){.modal-card-contact{max-height:86dvh!important;padding:22px!important}.modal-card-contact .contact-form{grid-template-columns:1fr!important}.modal-card-contact h2,.modal-card-contact h3{font-size:clamp(2.1rem,13vw,3.7rem)!important}.modal-contact-lines{display:grid!important}.modal-card-contact .contact-form textarea{min-height:170px!important}}

/* Project filters: centered, balanced and 2-per-row on mobile */
.filters{justify-content:center!important;align-items:center!important;max-width:1050px;margin-inline:auto!important}.filters button{white-space:normal!important;min-height:52px;display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.25}.projects-section .filters{display:flex!important}.archive-toolbar{max-width:760px;margin-inline:auto!important}
@media(max-width:720px){.filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important}.filters button{width:100%!important;padding:12px 10px!important}.filters button[data-filter="All"]{grid-column:auto!important}.archive-toolbar{display:none!important}}

/* Related cards and project gallery: auto width without arrows */
.related-track{display:grid!important;grid-template-columns:repeat(var(--related-count,3),minmax(0,1fr))!important;overflow:visible!important;gap:22px!important;padding:0!important}.related-track .project-card{flex:unset!important;scroll-snap-align:unset!important}.related-count-1 .related-track{grid-template-columns:1fr!important}.related-count-2 .related-track{grid-template-columns:repeat(2,minmax(0,1fr))!important}.related-count-3 .related-track{grid-template-columns:repeat(3,minmax(0,1fr))!important}.related-carousel .carousel-btn{display:none!important}@media(max-width:800px){.related-track,.related-count-2 .related-track,.related-count-3 .related-track{grid-template-columns:1fr!important}.related-count-1 .project-card{max-width:100%!important}}
.project-gallery-carousel{max-width:var(--container);margin:0 auto;overflow:hidden}.project-gallery-track{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,minmax(190px,240px));grid-auto-columns:minmax(280px,calc((100% - 18px)/2));gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:6px 4px 18px;scrollbar-width:thin}.project-gallery-item{min-width:0;scroll-snap-align:start}.project-gallery-item .media-clickable,.project-gallery-item img{height:100%;min-height:190px;border-radius:24px;overflow:hidden}.project-gallery-item img{width:100%;object-fit:cover}.rich-gallery{display:none!important}@media(max-width:700px){.project-gallery-track{grid-template-rows:minmax(230px,320px);grid-auto-columns:min(88vw,420px)}.project-gallery-item .media-clickable,.project-gallery-item img{min-height:230px}}

/* Contact page */
.contact-rich-hero{min-height:560px}.contact-rich-section{padding-top:30px}.contact-rich-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:34px;align-items:stretch;border:1px solid var(--border);border-radius:34px;background:linear-gradient(135deg,rgba(201,154,61,.08),rgba(255,255,255,.02)),var(--surface);box-shadow:var(--shadow);padding:clamp(24px,4vw,54px)}.contact-rich-copy h2{font-size:clamp(2.8rem,5vw,5.8rem);line-height:1.02}.contact-rich-copy p{color:var(--muted);line-height:1.9}.contact-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:24px 0}.contact-option{display:flex;align-items:center;gap:12px;border:1px solid var(--border);border-radius:20px;padding:16px;background:rgba(201,154,61,.06);color:var(--text);font-weight:900}.contact-option i{color:var(--gold-2);font-size:1.2rem}.contact-option:hover{border-color:var(--gold-2);transform:translateY(-2px)}.contact-page-form{grid-template-columns:repeat(2,minmax(0,1fr));align-self:stretch}.contact-page-form select,.contact-page-form textarea,.contact-page-form button{grid-column:1/-1}.contact-page-form select{min-height:64px;border:1px solid var(--border);border-radius:18px;background:rgba(255,255,255,.04);color:var(--text);padding:0 18px;font-weight:800}.contact-page-form select option{background:#111;color:#fff}.contact-process-steps{grid-template-columns:repeat(4,minmax(0,1fr))!important}.rich-contact-list a,.rich-contact-list span{display:flex;gap:10px;align-items:center}
@media(max-width:900px){.contact-rich-grid{grid-template-columns:1fr}.contact-process-steps{grid-template-columns:repeat(2,minmax(0,1fr))!important}.contact-option-grid{grid-template-columns:1fr}}
@media(max-width:560px){.contact-page-form{grid-template-columns:1fr}.contact-process-steps{grid-template-columns:1fr!important}.contact-rich-grid{padding:22px;border-radius:24px}}

/* Value/stat/timeline card alignment and cleaner typography */
.value-card h3{font-size:clamp(2rem,3vw,3.2rem)!important;line-height:1.08!important;max-width:100%;overflow:visible!important;word-break:normal!important;overflow-wrap:normal!important}.value-card{overflow:hidden!important}.process-steps strong,.lux-list strong{word-break:normal!important;overflow-wrap:normal!important}.timeline div{overflow:hidden!important}.timeline p{max-width:100%!important}.metrics-panel,.process-panel{max-width:var(--container);margin-inline:auto}.chart-row b:after{animation:barGrowLoop 2.8s ease-in-out infinite!important}@keyframes barGrowLoop{0%{width:0}45%,75%{width:var(--bar)}100%{width:0}}

/* Theme icon: sun on light mode, moon on dark mode with correct contrast */
html[data-theme='light'] #themeToggle{color:#111!important;background:#fffaf1!important}html[data-theme='dark'] #themeToggle{color:var(--gold-2)!important;background:rgba(255,255,255,.05)!important}#themeToggle .bi{font-size:1.15rem!important}

/* Mobile menu About/Services dropdown links */
.mobile-drawer .nav-item.open>a{border-color:var(--gold-2)!important;box-shadow:0 0 0 2px rgba(240,198,106,.24) inset}.mobile-drawer .nav-dropdown a{min-height:48px!important;padding:12px 14px!important;font-size:.95rem!important}


/* === CMS integration patch v2.0.8: keep v1.4.0 visual identity, add backend-safe behavior === */
.form-message{margin-top:14px;padding:14px 16px;border:1px solid rgba(201,154,61,.28);border-radius:16px;background:rgba(201,154,61,.08);color:var(--gold-2);font-weight:800;line-height:1.7}.form-message.error{border-color:rgba(255,100,100,.35);background:rgba(255,80,80,.08);color:#ffb3a7}
.nav-item.has-dropdown:after{content:'';position:absolute;left:-18px;right:-18px;top:100%;height:24px;z-index:34}.nav-item:hover>.nav-dropdown,.nav-item:focus-within>.nav-dropdown,.nav-dropdown:hover{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0)!important}.nav-dropdown{pointer-events:none}.nav-item:hover>.nav-dropdown{pointer-events:auto}.bc-header,.template-header,.template-header-bottom,.bc-nav,.nav-item{overflow:visible!important}.bc-header{z-index:12000!important}.nav-dropdown{z-index:12050!important}
.template-header [data-tooltip]:after,.header-info-right [data-tooltip]:after,.header-actions [data-tooltip]:after{top:calc(100% + 12px)!important;bottom:auto!important;left:50%!important;right:auto!important;transform:translate(-50%,0)!important;z-index:12100!important;max-width:min(240px,calc(100vw - 30px))!important;white-space:nowrap!important}.template-header [data-tooltip]:before,.header-info-right [data-tooltip]:before,.header-actions [data-tooltip]:before{top:calc(100% + 1px)!important;bottom:auto!important;border:6px solid transparent!important;border-bottom-color:var(--border)!important}
html[dir='rtl'] .contact-form input,html[dir='rtl'] .contact-form textarea,html[dir='rtl'] .contact-form select{direction:rtl;text-align:right}html[dir='ltr'] .contact-form input,html[dir='ltr'] .contact-form textarea,html[dir='ltr'] .contact-form select{direction:ltr;text-align:left}
html,body{max-width:100%;overflow-x:hidden}.modal-card-contact,.quotation-modal{max-height:calc(100dvh - 34px);overflow:auto}.mobile-drawer{z-index:12200!important}.mobile-menu-backdrop{z-index:12190!important}.mobile-drawer .mobile-logo-dark,.mobile-drawer .mobile-logo-light{display:none!important}html[data-theme='dark'] .mobile-drawer .mobile-logo-dark{display:block!important}html[data-theme='light'] .mobile-drawer .mobile-logo-light{display:block!important}
/* dynamic data safety */
.services-grid,.projects-grid,.client-grid{min-width:0}.service-card h3,.project-card h3,.why-card strong,.template-feature-list li{overflow-wrap:normal;word-break:normal;hyphens:none}.service-card p,.project-card p,.details-caption p{line-height:1.9}


/* === Update v2.0.9: category router, client logos, anchor/text height fixes === */
.anchor-offset{display:block;position:relative;top:-140px;visibility:hidden;height:0;width:0;overflow:hidden}
html{scroll-padding-top:150px}
body,p,li,a,button,input,textarea,select,.service-card,.project-card,.category-card,.why-card,.client-card{line-height:1.85}
html[dir="rtl"] body,html[dir="rtl"] p,html[dir="rtl"] li,html[dir="rtl"] a,html[dir="rtl"] button,html[dir="rtl"] input,html[dir="rtl"] textarea,html[dir="rtl"] select{line-height:1.95}
h1,h2,h3,h4,.section-head h2,.inner-hero h1,.rich-category-hero h1,.template-detail-hero h1{line-height:1.18!important;overflow:visible!important;max-height:none!important}
html[dir="rtl"] h1,html[dir="rtl"] h2,html[dir="rtl"] h3,html[dir="rtl"] h4{line-height:1.28!important}
.service-card h3,.project-card h3,.category-card h3,.why-card strong,.client-card h3{line-height:1.35!important;min-height:auto!important;max-height:none!important;overflow:visible!important;word-break:normal!important;overflow-wrap:anywhere!important}
.service-card p,.project-card p,.category-card p,.why-card p,.client-card p,.details-caption p,.contact-copy p,.section-head p:not(.eyebrow){line-height:2!important;min-height:auto!important;max-height:none!important;overflow:visible!important}
.client-logo-card,.clients-logo-only{background:linear-gradient(180deg,rgba(10,10,10,.92),rgba(24,19,12,.92))!important;border-color:rgba(201,154,61,.36)!important;padding:22px!important;min-height:170px!important;display:flex!important;align-items:center!important;justify-content:center!important}
.client-logo-box{width:100%!important;height:126px!important;min-height:126px!important;margin:0!important;background:linear-gradient(180deg,#0a0a0a,#15110d)!important;border:1px solid rgba(201,154,61,.28)!important;box-shadow:inset 0 0 28px rgba(201,154,61,.06)!important;border-radius:22px!important;display:grid!important;place-items:center!important;overflow:hidden!important}
.client-logo-box img,.logo-image-item img{display:block!important;opacity:1!important;visibility:visible!important;max-width:92%!important;max-height:92px!important;width:auto!important;height:auto!important;object-fit:contain!important;filter:none!important;mix-blend-mode:normal!important}
.logo-image-item{background:linear-gradient(180deg,#0a0a0a,#15110d)!important;border:1px solid rgba(201,154,61,.22)!important;border-radius:22px!important;box-shadow:inset 0 0 24px rgba(201,154,61,.05)!important}
.logo-image-item.logo-failed:before,.client-logo-box.logo-failed:before{content:'B|CORP';color:var(--gold-2);font-weight:900;letter-spacing:.08em}
.category-content-root{overflow:hidden!important}.category-content-root>.section,.category-intro-section,.category-services-inner{max-width:var(--container)!important;margin-left:auto!important;margin-right:auto!important;padding-left:24px!important;padding-right:24px!important;box-sizing:border-box!important}
.category-intro-panel{max-width:100%!important}.rich-category-hero{max-width:var(--container)!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
.bc-nav .nav-dropdown a[href*="category.php"]{white-space:nowrap!important}
@media(max-width:860px){html{scroll-padding-top:96px}.anchor-offset{top:-100px}.client-logo-card,.clients-logo-only{min-height:145px!important}.client-logo-box{height:112px!important;min-height:112px!important}.client-logo-box img,.logo-image-item img{max-height:78px!important}.category-content-root>.section,.category-intro-section,.category-services-inner,.rich-category-hero{padding-left:18px!important;padding-right:18px!important}.service-card p,.project-card p,.category-card p,.why-card p,.client-card p{line-height:1.9!important}}
