/* V17 additions — desktop V16 composition retained. */
@font-face{font-family:PIVOTArabic;src:url('../fonts/NotoSansArabic-Regular.ttf') format('truetype');font-display:swap;font-weight:400}
@font-face{font-family:PIVOTArabic;src:url('../fonts/NotoSansArabic-Bold.ttf') format('truetype');font-display:swap;font-weight:700 900}
.lang-switch{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:40px;border:1px solid #46556c;border-radius:999px;color:#fff;font-size:13px;font-weight:750;white-space:nowrap}
.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0}
.lang-switch:hover,.lang-switch:focus-visible{background:#2b4161;color:#fff}
.mobile-menu .lang-switch{color:#174cbb;background:#eef4ff;border-color:#d9e6ff;justify-content:flex-start;border-radius:9px}
.mobile-contact{display:none}
.v17-skip{position:absolute;top:-100px;left:12px;background:#fff;color:#14243c;padding:12px 16px;z-index:1000;border-radius:9px}
.v17-skip:focus{top:10px}
.v17-faq{background:#f4f7fc}.v17-faq .wrap{max-width:1000px}
.v17-faq-head{margin-bottom:24px}.v17-faq-head h2{margin:12px 0 10px}
.v17-faq-grid{display:grid;gap:10px}.v17-faq details{border:1px solid #dce5f1;background:#fff;border-radius:15px;overflow:hidden}
.v17-faq summary{font-weight:750;cursor:pointer;padding:17px 20px;display:flex;justify-content:space-between;align-items:center;gap:16px;list-style:none}
.v17-faq summary::-webkit-details-marker{display:none}.v17-faq summary::after{content:'+';font-size:22px;color:#2563eb;font-weight:600}
.v17-faq details[open] summary::after{content:'−'}
.v17-faq details p{margin:0;padding:0 20px 18px;color:#5b687a;line-height:1.65}
.v17-faq summary:focus-visible,.mobile-contact a:focus-visible,.v17-screen-select:focus-visible{outline:3px solid #78a9ff;outline-offset:-3px}
.v17-video{padding:clamp(45px,5vw,75px) 0;background:#0f1826;color:white}
.v17-video-grid{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);align-items:center;gap:35px}
.v17-video video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#0d1421;border:1px solid #283c57;border-radius:17px;box-shadow:0 22px 50px #0004}
.v17-video p{color:#c4d2e5;margin:12px 0 20px;line-height:1.65}
.v17-video .headline{color:#fff}
.v17-form-consent{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:#526074;margin:18px 0}
.v17-form-consent input{width:20px;height:20px;flex:0 0 20px;margin-top:3px;accent-color:#2563eb}
.v17-form-consent a{color:#174ab5;text-decoration:underline}
.v17-form-status{display:none;font-size:14px;line-height:1.6;padding:12px 14px;margin:12px 0 0;border-radius:10px;overflow-wrap:anywhere}
.v17-form-status.show{display:block}.v17-form-status.ok{background:#e8f8ee;color:#14532d;border:1px solid #b9e5c9}
.v17-form-status.error{background:#fff1f0;color:#8f2631;border:1px solid #f4c9cd}
.v17-honeypot{position:absolute;left:-9999px;top:0;width:1px;height:1px;overflow:hidden}
.v17-testimonials{background:#f5f8fd}.v17-testimonials[hidden]{display:none}.v17-testimonial-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}
.v17-testimonial{background:#fff;border:1px solid #e1e7f0;border-radius:15px;padding:20px;margin:0}
.v17-testimonial p{line-height:1.7;color:#354963}.v17-testimonial strong{display:block;color:#173157}
.v17-screen-select{display:none}
.rtl{font-family:PIVOTArabic,Tahoma,Arial,sans-serif}
.rtl .headline,.rtl h1,.rtl h2,.rtl h3,.rtl .brand{font-family:PIVOTArabic,Tahoma,Arial,sans-serif;letter-spacing:0;line-height:1.4}
.rtl .brand{direction:ltr;font-family:Inter,system-ui,sans-serif;line-height:1}
.rtl .desktop-nav{gap:23px}.rtl .kicker{letter-spacing:0}
.rtl .hero-badge{right:auto;left:14px}
.rtl .proof-badge,.rtl .proof-index{margin-inline-start:12px;margin-inline-end:12px}
.rtl .header-cta,.rtl .btn{font-family:PIVOTArabic,Tahoma,sans-serif}
.rtl .hero-copy .headline,.rtl .product-hero .headline{font-size:clamp(32px,4vw,54px);line-height:1.35}
.rtl .headline.lg,.rtl .about-story-title h2{font-size:clamp(27px,3.2vw,44px);line-height:1.45}
.rtl .headline.md{line-height:1.4}
.rtl .v17-faq summary{line-height:1.6}
.rtl .contact-detail a,.rtl .footer-contact a{direction:ltr;unicode-bidi:embed;display:inline-block}
.rtl .v17-honeypot{left:auto;right:-9999px}
.rtl .legal-content{line-height:1.9}
.rtl .real-gallery{direction:rtl}.rtl .real-device{direction:ltr}
@media(max-width:1200px) and (min-width:981px){.header-inner{gap:14px}.desktop-nav{gap:16px}.header-cta{font-size:12px;padding-inline:14px}.header-actions{gap:6px}.lang-switch{min-width:36px}}
@media(max-width:1050px){
 .hero .wrap,.wrap{width:min(920px,calc(100% - 48px))}
 .hero-layout{gap:25px}.hero-copy .headline{max-width:760px}
 .hero-art{width:100%;max-width:none}
 .product-hero-grid,.product-demo-grid,.product-intro{gap:28px}
 .v17-video-grid{grid-template-columns:1fr;gap:20px}
 .solution-row,.solution-row.reverse{grid-template-columns:1fr;gap:20px}
 .solution-row.reverse .solution-copy{order:0}
 .solution-row .showcase{width:100%}
 .proof-bento{grid-template-columns:repeat(2,minmax(0,1fr))}
 .real-controls{min-width:0}
}
@media(max-width:980px){
 .site-header,.site-header.inner{position:sticky;top:0;background:#0f1724;z-index:70}
 .header-inner{height:65px;display:flex;justify-content:space-between;gap:12px}
 .site-shell{overflow:clip}.desktop-nav,.header-actions{display:none}
 .menu-button{display:grid;place-content:center;min-width:44px;min-height:44px}
 .mobile-menu{top:100%;left:12px;right:12px;max-height:calc(100dvh - 86px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 25px 65px #0005}
 .mobile-menu a{min-height:44px;line-height:1.4}
 .mobile-menu .lang-switch{margin-top:6px}
 .hero{padding:48px 0 50px}
 .page-hero,.product-hero{padding:48px 0 55px}
 .about-hero-v8{padding:48px 0 60px}
}
@media(max-width:760px){
 body:not(.v17-no-contactbar){padding-bottom:calc(71px + env(safe-area-inset-bottom,0px))}
 .mobile-contact{position:fixed;bottom:0;inset-inline:0;display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:6px;padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px));background:#111d2e;color:#fff;z-index:80;border-top:1px solid #35445e;box-shadow:0 -8px 24px #07132622}
 .v17-no-contactbar .mobile-contact{display:none}
 .mobile-contact a{display:flex;align-items:center;justify-content:center;gap:6px;min-height:45px;font-size:13px;border:1px solid #35465f;border-radius:10px;font-weight:750;color:#fff}
 .mobile-contact a:last-child{background:#2563eb;border-color:#2563eb}
 .mobile-contact svg{width:17px;height:17px;flex:0 0 17px}
 .hero .wrap,.wrap{width:calc(100% - 32px)}
 .hero .headline,.product-hero .headline,.rtl .hero-copy .headline,.rtl .product-hero .headline{font-size:clamp(33px,8.5vw,44px)}
 .hero,.page-hero,.product-hero{padding:35px 0 43px}
 .hero-layout{gap:20px}.hero-image-shell{border-radius:15px}
 .hero-actions,.product-hero-actions,.about-hero-actions{gap:9px;display:grid;grid-template-columns:1fr}
 .hero-actions .btn,.product-hero-actions .btn,.about-hero-actions .btn{width:100%;min-height:49px;white-space:normal;text-align:center}
 .hero-tags{gap:6px;margin-top:16px}
 .proof-bento{grid-template-columns:1fr}
 .section,.v11-section{padding:39px 0}
 .solution-row{padding:14px;gap:17px}
 .solution-copy h3{font-size:27px}.feature-list{gap:9px}
 .v17-video-grid{gap:17px}
 .v17-faq summary{padding:14px 15px;min-height:52px;font-size:15px}
 .v17-faq details p{padding:0 15px 15px;font-size:14px}
 .real-controls .real-control-group{display:none}
 .v17-screen-select{display:block;width:100%;min-height:48px;background:#fff;border:1px solid #cbd8eb;border-radius:9px;color:#16334c;padding:9px 12px;font:inherit}
 .real-gallery:not(.v17-native-ready) .real-control-group{display:grid}
 .real-view{padding:12px 6px;min-height:0}.real-bezel{max-width:100%}
 .real-caption{padding:12px;gap:10px}
 .real-expand{min-height:44px}
 .contact-form-card .field input,.contact-form-card .field select,.contact-form-card .field textarea{font-size:16px;min-height:47px}
 .contact-form-card{padding:16px;min-width:0}
 .v17-form-consent{line-height:1.5}
 .rtl .hero-badge{position:static}
}
@media(max-width:360px){
 .mobile-contact a{font-size:11.5px;gap:4px}.mobile-contact svg{width:15px;height:15px}
 .hero .wrap,.wrap{width:calc(100% - 24px)}
 .about-process-mini-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.mobile-contact a,.v17-faq details{transition:none}.reveal{opacity:1!important;transform:none!important}}

/* V17.1 — keep the original image proportions on both languages. */
/* The HTML dimensions reserve space before loading, not a fixed rendered height. */
main img{height:auto}
main .showcase img,
main .product-visual img,
main .product-demo-art img,
main .project-image img,
main .page-hero-art img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  aspect-ratio:auto;
  object-fit:contain;
}
main .solution-row:hover .showcase img{transform:none}
.solution-row > *, .product-visual, .product-demo-art, .project-image, .page-hero-art{min-width:0}

/* Persistent navigation in FR and AR, without changing the desktop hero spacing. */
:root{--pivot-nav-height:86px;scroll-padding-top:calc(var(--pivot-nav-height) + 16px)}
.site-header,.site-header.inner{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:90;
  background:#0f1724;
  box-shadow:0 4px 18px rgba(6,13,23,.15);
}
.header-inner{height:var(--pivot-nav-height)}
/* Inner pages previously had a header in normal flow: reserve the same space. */
html[data-page]:not([data-page$="index"]):not([data-page$="404"]) body{padding-top:var(--pivot-nav-height)}
/* The landing hero already reserves header space at desktop widths. */
.product-intro .sticky-title{top:calc(var(--pivot-nav-height) + 24px)}
@media(max-width:980px){
  :root{--pivot-nav-height:65px}
  html[data-page="index"] body,html[data-page="ar-index"] body{padding-top:var(--pivot-nav-height)}
  .mobile-menu{top:100%;max-height:calc(100dvh - var(--pivot-nav-height) - 16px)}
}
