/* HOODEL Persian edition */
@font-face{
  font-family:"Vazirmatn";
  src:url("/assets/fonts/vazirmatn.woff2") format("woff2");
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
}

.fa-page{
  font-family:"Vazirmatn",Tahoma,Arial,sans-serif;
  direction:rtl;
  letter-spacing:0;
}

/* Preserve the approved visual composition */
.fa-page header nav,
.fa-page .navlinks,
.fa-page .mega,
.fa-page .hero .wrap,
.fa-page .exp-row,
.fa-page .domain-row,
.fa-page .delivery-row,
.fa-page .industry-row,
.fa-page .project-row,
.fa-page .finalbox,
.fa-page .foot{
  direction:ltr;
}

/* Persian text direction inside the unchanged composition */
.fa-page .navtrigger,
.fa-page .navlinks a,
.fa-page .mega-intro,
.fa-page .mega-col,
.fa-page .dropdown,
.fa-page .hero-copy,
.fa-page .project-copy,
.fa-page .final-content{
  direction:rtl;
  text-align:right;
}

.fa-page .mega-col a,
.fa-page .dropdown a{
  text-align:right;
}

.fa-page .mega-intro{
  border-right:0;
  border-left:1px solid var(--line);
}

.fa-page .mega-col{
  border-right:0;
  border-left:1px solid #edf3f8;
}

.fa-page .mega-col:last-child{
  border-left:0;
}

.fa-page h1{
  font-family:"Vazirmatn",Tahoma,sans-serif;
  font-size:clamp(35px,3.9vw,54px);
  line-height:1.18;
  letter-spacing:-.045em;
  font-weight:650;
}

.fa-page .lead{
  font-size:10.5px;
  line-height:1.9;
}

.fa-page .section-title{
  font-family:"Vazirmatn",Tahoma,sans-serif;
  letter-spacing:0;
  font-size:9px;
  font-weight:750;
}

.fa-page .navlinks,
.fa-page .navtrigger,
.fa-page .btn{
  font-family:"Vazirmatn",Tahoma,sans-serif;
}

.fa-page .navlinks{
  font-size:9px;
}

.fa-page .navtrigger{
  font-size:9px;
}

.fa-page .domain b,
.fa-page .phase b,
.fa-page .project-copy b,
.fa-page .finalbox h2{
  font-family:"Vazirmatn",Tahoma,sans-serif;
  letter-spacing:0;
}

.fa-page .domain p,
.fa-page .project-copy span,
.fa-page .industry,
.fa-page .exp span{
  line-height:1.7;
}

.fa-page .domain .arr{
  right:auto;
  left:10px;
}

.fa-page .section-line-head{
  direction:ltr;
}

.fa-page .section-line-head .section-title,
.fa-page .linkmini{
  direction:rtl;
}

.fa-page .finalbox h2{
  font-size:clamp(27px,2.8vw,37px);
  line-height:1.25;
}

.fa-page .finalbox p{
  line-height:1.9;
}

.fa-page .final-kicker{
  letter-spacing:0;
}

.fa-page .language-links{
  direction:ltr;
}

.fa-page .language-links a:hover{
  color:var(--blue);
}

@media(max-width:720px){
  .fa-page .navlinks{
    direction:rtl;
    text-align:right;
  }

  .fa-page .hero-copy{
    text-align:right;
  }

  .fa-page h1{
    font-size:38px;
    line-height:1.2;
  }
}


/* Refined Persian hero typography */
.fa-page .hero h1{
  font-size:clamp(32px,3.35vw,48px);
  line-height:1.2;
  letter-spacing:-.04em;
  max-width:500px;
}


/* Dead code removed here (audit fix): an @font-face for "Estedad" pointed
   at /assets/fonts/estedad.woff2, which does not exist on disk, and the
   rule naming it was already fully superseded below by the IBMPlexArabic
   rule targeting the same selectors. Verified unused project-wide (only
   matches were this file and old files under /backups/) before removal. */

.fa-page .hero h1{
  font-size:clamp(32px,3.35vw,48px);
  line-height:1.23;
}

/* Mirror Hero while preserving its grid and images */
.fa-page .hero .wrap{
  direction:rtl;
}

.fa-page .hero-copy{
  direction:rtl;
  text-align:right;
  padding-right:12px;
  padding-left:10px;
}

.fa-page .hero .actions{
  direction:rtl;
  justify-content:flex-start;
}

/* Real RTL mega menu */
.fa-page .mega{
  direction:rtl;
}

.fa-page .mega-intro,
.fa-page .mega-col{
  direction:rtl;
  text-align:right;
}

.fa-page .mega-intro{
  border-right:0;
  border-left:1px solid var(--line);
}

.fa-page .mega-col{
  border-right:0;
  border-left:1px solid #edf3f8;
}

.fa-page .mega-col:last-child{
  border-left:0;
}

.fa-page .mega-title,
.fa-page .mega-kicker,
.fa-page .mega-col a,
.fa-page .mega-intro p,
.fa-page .mega-intro-title{
  direction:rtl;
  text-align:right;
}

.fa-page .mega-link{
  direction:rtl;
  display:inline-block;
}

/* Mirror final CTA */
.fa-page .finalbox{
  direction:rtl;
}

.fa-page .final-content{
  direction:rtl;
  text-align:right;
  justify-self:start;
}

.fa-page .final-actions{
  direction:rtl;
  justify-content:flex-start;
}

.fa-page .finalbox .final-blueprint{
  right:auto;
  left:2%;
  -webkit-mask-image:linear-gradient(
    270deg,
    transparent 0%,
    rgba(0,0,0,.4) 13%,
    #000 30%,
    #000 100%
  );
  mask-image:linear-gradient(
    270deg,
    transparent 0%,
    rgba(0,0,0,.4) 13%,
    #000 30%,
    #000 100%
  );
}

.fa-page .finalbox h2{
  font-size:clamp(27px,2.8vw,37px);
  line-height:1.3;
}

@media(max-width:720px){
  .fa-page .hero .wrap{
    direction:rtl;
  }

  .fa-page .hero-copy{
    text-align:right;
    padding-right:6px;
    padding-left:6px;
  }

  .fa-page .final-content{
    text-align:right;
  }

  .fa-page .finalbox .final-blueprint{
    right:auto;
    left:-5%;
  }

  .fa-page .mega{
    direction:rtl;
  }
}


/* HOODEL Persian technology display type */
@font-face{
  font-family:"IBMPlexArabic";
  src:url("/assets/fonts/ibm-plex-arabic-600.woff2") format("woff2");
  font-style:normal;
  font-weight:600;
  font-display:swap;
}

@font-face{
  font-family:"IBMPlexArabic";
  src:url("/assets/fonts/ibm-plex-arabic-700.woff2") format("woff2");
  font-style:normal;
  font-weight:700;
  font-display:swap;
}

.fa-page h1,
.fa-page .finalbox h2,
.fa-page .mega-intro-title{
  font-family:"IBMPlexArabic","Vazirmatn",Tahoma,sans-serif;
  letter-spacing:0;
  font-feature-settings:"kern" 1;
}

.fa-page .hero h1{
  max-width:540px;
  margin-right:0;
  margin-left:auto;
  font-size:clamp(31px,3.2vw,46px);
  line-height:1.3;
  font-weight:700;
  color:#071a38;
}

.fa-page .finalbox h2{
  font-size:clamp(27px,2.75vw,36px);
  line-height:1.35;
  font-weight:700;
  color:#0754b9;
}

.fa-page .mega-intro-title{
  font-size:20px;
  line-height:1.5;
  font-weight:600;
}

@media(max-width:560px){
  .fa-page .hero h1{
    font-size:34px;
    line-height:1.32;
  }

  .fa-page .finalbox h2{
    font-size:29px;
  }
}


/* HOODEL corporate dark-purple footer */
footer.hoodel-footer{
  position:relative;
  overflow:hidden;
  margin:0;
  padding:58px 0 0;
  border:0;
  color:#f7f4ff;
  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(16,184,255,.15),
      transparent 27%
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(221,48,190,.18),
      transparent 28%
    ),
    linear-gradient(135deg,#160b2b 0%,#24103f 48%,#321251 100%);
  font-size:10px;
}

footer.hoodel-footer:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.13;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px);
  background-size:32px 32px;
  mask-image:linear-gradient(to bottom,#000,transparent 78%);
}

.footer-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1.25fr .8fr 1fr 1.3fr;
  gap:52px;
  align-items:start;
  padding-bottom:48px;
}

.footer-en{
  direction:ltr;
}

.footer-fa{
  direction:rtl;
  font-family:"Vazirmatn",Tahoma,sans-serif;
}

.footer-logo{
  display:inline-flex;
  align-items:center;
  gap:11px;
  color:#fff;
  font-family:"Space Grotesk","Manrope",Arial,sans-serif;
  font-size:23px;
  font-weight:720;
  letter-spacing:.09em;
}

.footer-logo img{
  width:43px;
  height:43px;
  object-fit:contain;
}

.footer-logo > span > span{
  color:#34b8ff;
}

.footer-brand p{
  max-width:300px;
  margin:18px 0 21px;
  color:#c8bfd6;
  font-size:13px;
  line-height:1.85;
}

.footer-column h3,
.footer-location h3{
  position:relative;
  margin:0 0 21px;
  padding-bottom:11px;
  color:#fff;
  font-size:14px;
  line-height:1.5;
  font-weight:700;
}

.footer-column h3:after,
.footer-location h3:after{
  content:"";
  position:absolute;
  bottom:0;
  width:30px;
  height:2px;
  border-radius:2px;
  background:linear-gradient(90deg,#35c8ff,#d83ac7);
}

.footer-en .footer-column h3:after,
.footer-en .footer-location h3:after{
  left:0;
}

.footer-fa .footer-column h3:after,
.footer-fa .footer-location h3:after{
  right:0;
}

.footer-column{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.footer-fa .footer-column{
  align-items:flex-start;
}

.footer-column a{
  position:relative;
  display:inline-block;
  margin:0 0 10px;
  color:#c6bdd5;
  font-size:12.5px;
  transition:color .18s ease,transform .18s ease;
}

.footer-column a:hover{
  color:#fff;
  transform:translateX(3px);
}

/* Non-link capability labels -- no subpage exists yet for each item, so
   these read as category labels (dimmer than the real links around them),
   not clickable actions. Same treatment the mega-menu already applies to
   its own .menu-label items. */
.footer-column .footer-label{
  display:inline-block;
  margin:0 0 10px;
  color:#7c7191;
  font-size:12.5px;
  cursor:default;
}

.footer-fa .footer-column a:hover{
  transform:translateX(-3px);
}

.footer-email{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#fff;
  font-family:"Manrope","Vazirmatn",sans-serif;
  font-size:13px;
}

.footer-email svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:#4dc9ff;
  stroke-width:1.75;
}

.footer-address{
  margin:0 0 17px;
  color:#d7d0e1;
  font-size:12.5px;
  line-height:1.85;
}

.map-card{
  display:block;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.17);
  border-radius:5px;
  background:rgba(255,255,255,.07);
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}

.map-card:hover{
  transform:translateY(-3px);
  border-color:rgba(86,201,255,.6);
  background:rgba(255,255,255,.1);
}

.map-art{
  height:106px;
  overflow:hidden;
  background:
    radial-gradient(circle at 65% 35%,rgba(201,54,199,.18),transparent 32%),
    rgba(255,255,255,.035);
}

.map-art svg{
  display:block;
  width:100%;
  height:100%;
}

.map-lines{
  fill:none;
  stroke:rgba(255,255,255,.14);
  stroke-width:2;
}

.map-route{
  fill:none;
  stroke:#4ccaff;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-dasharray:5 5;
}

.map-node{
  fill:#4ccaff;
}

.map-pin{
  fill:#c931bd;
  stroke:#f1b8ed;
  stroke-width:1.2;
}

.map-pin-center{
  fill:#fff;
}

.map-card > span{
  display:block;
  padding:10px 12px;
  color:#fff;
  font-size:11.5px;
  font-weight:650;
}

.footer-bottom{
  position:relative;
  z-index:2;
  min-height:57px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:20px;
  border-top:1px solid rgba(255,255,255,.13);
  color:#958aa9;
  font-size:11.5px;
}

.footer-languages{
  direction:ltr;
  display:flex;
  align-items:center;
  gap:7px;
}

.footer-languages a,
.footer-languages strong{
  color:#fff;
}

.footer-languages i{
  color:#6e6280;
  font-style:normal;
}

.back-to-top{
  justify-self:end;
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border:1px solid rgba(255,255,255,.23);
  border-radius:50%;
  color:#fff;
  transition:.18s ease;
}
.back-to-top svg{
  width:18px;
  height:18px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.75;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.footer-fa .back-to-top{
  justify-self:start;
}

.back-to-top:hover{
  border-color:#4ccaff;
  background:rgba(76,202,255,.12);
  transform:translateY(-3px);
}

@media(max-width:900px){
  .footer-grid{
    grid-template-columns:1fr 1fr;
    gap:38px 44px;
  }
}

@media(max-width:560px){
  footer.hoodel-footer{
    padding-top:42px;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:33px;
    padding-bottom:36px;
  }

  .footer-brand p{
    max-width:none;
  }

  .footer-bottom{
    grid-template-columns:1fr auto;
    padding:16px 0;
    row-gap:13px;
  }

  .footer-languages{
    justify-self:end;
  }

  .back-to-top{
    grid-column:1 / -1;
    justify-self:start;
  }

  .footer-fa .back-to-top{
    justify-self:end;
  }
}


/* Latin typography inside Persian content */
.fa-page .latin-text,
.fa-page [dir="ltr"],
.fa-page .footer-email,
.fa-page .footer-languages{
  font-family:"Manrope","Segoe UI",Arial,sans-serif;
  font-weight:560;
  letter-spacing:-.015em;
  direction:ltr;
  unicode-bidi:isolate;
}

.fa-page h1 .latin-text,
.fa-page h2 .latin-text,
.fa-page h3 .latin-text,
.fa-page .section-title .latin-text{
  font-family:"Space Grotesk","Segoe UI",Arial,sans-serif;
  font-weight:650;
  letter-spacing:-.025em;
}

.fa-page .footer-logo,
.fa-page .logo-word{
  font-family:"Space Grotesk","Segoe UI",Arial,sans-serif;
}


/* Clear Persian technology-domain descriptions */
.fa-page .domain .fa-card-line{
  display:block;
  direction:rtl;
  text-align:center;
  unicode-bidi:plaintext;
  white-space:nowrap;
}

.fa-page .domain .fa-card-line + .fa-card-line{
  margin-top:2px;
}


.geoip-credit{
  display:block;
  text-align:center;
  margin-top:7px;
  font-size:7px;
  line-height:1.4;
  color:inherit;
  opacity:.45;
}

/* Reduced-motion coverage for footer hover interactions (audit fix — these
   had no prefers-reduced-motion handling anywhere in the file). State
   changes are kept; the animated transform/transition is removed. */
@media(prefers-reduced-motion:reduce){
  .map-card,
  .back-to-top,
  .footer-column a{
    transition:none;
  }
  .map-card:hover,
  .back-to-top:hover{
    transform:none;
  }
  .footer-column a:hover{
    transform:none;
  }
}
