.global-footer{position:relative;isolation:isolate;width:auto;margin:24px 20px 0;overflow:hidden;border:1px solid #dce9f7;border-block:0;border-radius:38px 38px 0 0;background:linear-gradient(135deg,#fff 0%,#f8fcff 48%,#eef7ff 100%);box-shadow:0 -8px 28px rgba(31,75,143,.06);color:#081a45;direction:rtl;font-family:"Vazirmatn",Tahoma,Arial,sans-serif}
.global-footer::before,.global-footer::after{position:absolute;z-index:-1;border-radius:50%;content:"";pointer-events:none;filter:blur(2px)}
.global-footer::before{top:-155px;left:-115px;width:330px;height:330px;background:radial-gradient(circle,rgba(188,222,255,.34) 0%,rgba(224,241,255,.2) 44%,transparent 72%)}
.global-footer::after{right:-125px;bottom:-190px;width:390px;height:390px;background:radial-gradient(circle,rgba(185,220,255,.3) 0%,rgba(231,245,255,.2) 48%,transparent 73%)}
.global-footer__inner{position:relative;z-index:1;width:min(calc(100% - 40px),1360px);margin:0 auto;padding:58px 56px 22px}
.global-footer__main{display:grid;grid-template-columns:minmax(400px,2fr) repeat(3,minmax(160px,.9fr));align-items:start;column-gap:56px;padding-bottom:32px}
.global-footer__main > section,.global-footer__main > nav{display:flex;flex-direction:column;min-height:210px}
.global-footer__navigation{display:contents}
.global-footer__navigation > nav{display:flex;flex-direction:column;min-height:210px}
.global-footer__founder{min-width:0}
.global-footer__column-header{display:flex;align-items:center;min-height:82px}
.global-footer__founder-head{gap:18px}
.global-footer__founder-photo{flex:0 0 82px;width:82px;height:82px;border:3px solid rgba(255,255,255,.9);border-radius:50%;background:#eaf3ff;box-shadow:0 8px 20px rgba(31,75,143,.12);object-fit:cover;object-position:72% center}
.global-footer__founder h2{margin:0;color:#081a45;font-size:19px;font-weight:700;line-height:1.4}
.global-footer__column-content{display:flex;flex-direction:column;min-width:0}
.global-footer__founder> .global-footer__column-content > p{max-width:500px;margin:12px 0 0;color:#65738c;font-size:15px;line-height:1.95}
.global-footer__socials{display:flex;align-items:center;gap:14px;margin-top:20px}
.global-footer__socials a{display:grid;place-items:center;width:46px;height:46px;border:1px solid #dbe8f7;border-radius:50%;background:#f6faff;color:#1267f5;transition:background .2s ease,border-color .2s ease,transform .2s ease}
.global-footer__socials a:hover,.global-footer__socials a:focus-visible{border-color:#b9d6f7;background:#eaf3ff;transform:translateY(-2px)}
.global-footer__socials svg{width:21px;height:21px;fill:currentColor;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.global-footer__socials svg path{fill:currentColor;stroke:none}
.global-footer__socials svg .global-footer__social-dot{fill:currentColor;stroke:none}
.global-footer__socials svg.global-footer__instagram rect,.global-footer__socials svg.global-footer__instagram circle:not(.global-footer__social-dot){fill:none;stroke:currentColor;stroke-width:1.8}
.global-footer__column,.global-footer__contact{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.global-footer__column{transform:translateX(-24px)}
.global-footer h2{margin:0 0 10px;color:#081a45;font-size:18px;font-weight:700;line-height:1.4}
.global-footer__founder h2,.global-footer__column-header h2{margin:0}
.global-footer__column-links{display:flex;flex-direction:column;gap:15px;margin:0}
.global-footer__column a,.global-footer__column .global-footer__disabled-link,.global-footer__contact a,.global-footer__contact span{color:#65738c;font-size:15px;line-height:1.7;transition:color .2s ease}
.global-footer__disabled-link{display:inline-flex;align-items:center;gap:5px;cursor:default;white-space:nowrap}
.global-footer__soon{display:inline-flex;align-items:center;padding:3px 6px;border:1px solid rgba(18,103,245,.12);border-radius:999px;background:#EEF4FF;color:#1267F5;font-size:9px;font-weight:700;line-height:1}
.global-footer__office-list{display:flex;flex-direction:column;gap:16px;width:100%;margin-top:2px}
.global-footer__office-item{display:flex;align-items:flex-start;gap:9px;width:100%}
.global-footer__office-icon{flex:0 0 19px;width:19px;height:19px;margin-top:3px;fill:none;stroke:#1267f5;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.global-footer__office-item h3{margin:0;color:#081a45;font-size:16px;font-weight:700;line-height:1.5}
.global-footer__office-item span{display:block;max-width:240px;font-size:14.5px;line-height:1.8}
.global-footer__office-item:first-child span{white-space:nowrap}
.global-footer__office-item span[dir="ltr"]{direction:ltr;text-align:left}
.global-footer__column a:hover,.global-footer__column a:focus-visible,.global-footer__contact a:hover,.global-footer__contact a:focus-visible{color:#1267f5}
.global-footer__trust{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:16px 20px;margin:0 auto 24px}
.global-footer__trust-item{display:flex;align-items:center;justify-content:center;min-width:116px;height:68px;padding:10px 14px;border:1px solid rgba(216,230,246,.8);border-radius:13px;background:rgba(255,255,255,.68)}
.global-footer__trust-item a{display:flex;align-items:center;justify-content:center;height:100%}
.global-footer__trust-item img{display:block;width:auto;max-width:120px;height:39px;object-fit:contain}
.global-footer__trust-item--enamad img{max-width:86px;height:42px}
.global-footer__bottom{display:flex;align-items:center;justify-content:center;width:100%;color:#8290a4;font-size:13.5px;line-height:1.8;text-align:center}
.global-footer__bottom p{margin:0}

/* Keep the final page content close to the shared footer without changing footer internals. */
body.home-v2 .home-main{padding-bottom:0}
body.about-page .about-main{padding-bottom:56px}
body.home-v2 .faq-section{padding-bottom:64px}
body.home-v2 .faq-section{background:#fff}

@media(max-width:899px){
  body.about-page .about-main{padding-bottom:40px}
  body.home-v2 .faq-section{padding-bottom:52px}
  .global-footer{margin-inline:16px;margin-top:20px;border-radius:30px 30px 0 0}
  .global-footer__inner{padding:52px 24px 20px}
  .global-footer__main{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 28px}
  .global-footer__main > section,.global-footer__main > nav{min-height:0}
  .global-footer__column{transform:none}
  .global-footer__column-links{margin-top:0;margin-bottom:0}
  .global-footer__column h2,.global-footer__contact > h2{margin-bottom:10px}
  .global-footer__founder{grid-column:1/-1}
}

@media(min-width:900px){
  .global-footer__column-header{margin-top:-8px;margin-bottom:8px}
  .global-footer__column,.global-footer__contact{gap:0}
  .global-footer__office-list{margin-top:0}
}

@media(max-width:768px){
  body.home-v2 .faq-section{padding-bottom:40px}
  .global-footer{margin-inline:10px;margin-top:16px;border-radius:26px 26px 0 0}
  .global-footer__inner{width:calc(100% - 24px);padding:30px 16px 48px}
  .global-footer__main{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 28px;padding-bottom:20px}
  .global-footer__founder,.global-footer__contact{grid-column:1/-1}
  .global-footer__founder{width:100%;max-width:none;padding-inline:4px;box-sizing:border-box}
  .global-footer__column-header{min-height:0}
  .global-footer__founder-head{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;max-width:none;margin:0 0 20px}
  .global-footer__founder-photo{flex:0 0 84px;width:84px;min-width:84px;height:84px;object-fit:cover}
  .global-footer__founder h2{flex:1 1 auto;min-width:0;font-size:22px;font-weight:700;line-height:1.5;text-align:right}
  .global-footer__founder> .global-footer__column-content{width:100%;max-width:none}
  .global-footer__founder> .global-footer__column-content > p{width:100%;max-width:none;margin:0;font-size:16px;line-height:2;font-weight:400;text-align:center}
  .global-footer__socials{justify-content:center;gap:14px;margin:18px auto 0}
  .global-footer__socials a{width:52px;height:52px}
  .global-footer__socials svg{width:23px;height:23px}
  .global-footer h2{margin-top:0;font-size:19px;font-weight:700}
  .global-footer__column-header h2{line-height:1.5}
  .global-footer__column a,.global-footer__column .global-footer__disabled-link,.global-footer__contact a,.global-footer__contact span{font-size:16.5px;line-height:1.9}
  .global-footer__column{width:min(128px,100%);justify-self:center;align-items:center;text-align:center}
  .global-footer__column-header,.global-footer__column-content{width:100%;align-items:center;text-align:center}
  .global-footer__column-header{justify-content:center}
  .global-footer__column-links{align-items:center;gap:13px;padding-top:18px}
  .global-footer__contact{align-items:center;margin-top:4px;text-align:center}
  .global-footer__office-list{align-items:center;gap:18px;margin-top:0}
  .global-footer__office-item{justify-content:center;max-width:320px;text-align:right}
  .global-footer__office-item h3{font-size:17px;font-weight:700}
  .global-footer__office-item span{max-width:100%;font-size:15.5px;line-height:1.8}
  .global-footer__office-item:first-child span{white-space:normal}
  .global-footer__trust{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}
  .global-footer__trust-item{min-width:0;width:100%;height:64px;padding:9px 10px}
  .global-footer__trust-item:last-child{grid-column:1/-1;width:calc(50% - 5px);justify-self:center}
  .global-footer__trust-item img{max-width:106px;height:40px}
  .global-footer__trust-item--enamad img{max-width:80px;height:42px}
  .global-footer__bottom{align-items:center;font-size:13.5px;line-height:1.9}
}

/* Final mobile founder sizing: keep the header and copy on the same full-width track. */
@media(max-width:768px){
  .global-footer__founder{
    width:100% !important;
    max-width:none !important;
    padding-inline:4px !important;
    box-sizing:border-box !important;
  }
  .global-footer__founder-head{
    width:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:16px !important;
    min-height:auto !important;
    height:auto !important;
    padding:0 !important;
    margin:0 0 20px !important;
  }
  .global-footer__founder-photo{
    width:92px !important;
    height:92px !important;
    min-width:92px !important;
    max-width:92px !important;
    flex:0 0 92px !important;
    border-radius:50% !important;
    object-fit:cover !important;
  }
  .global-footer__founder-head h2,
  .global-footer__founder h2{
    flex:1 1 auto !important;
    min-width:0 !important;
    font-size:24px !important;
    line-height:1.45 !important;
    font-weight:800 !important;
    margin:0 !important;
    padding:0 !important;
    white-space:nowrap !important;
  }
  .global-footer__founder> .global-footer__column-content,
  .global-footer__founder> .global-footer__column-content > p{
    width:100% !important;
    max-width:none !important;
  }
  .global-footer__founder> .global-footer__column-content > p{
    font-size:17px !important;
    line-height:2 !important;
    font-weight:400 !important;
    margin:0 !important;
    padding:0 !important;
  }
}

@media(max-width:768px){
  .global-footer__navigation{
    position:relative;
    display:grid;
    grid-column:1/-1;
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:100%;
    max-width:320px;
    margin:-2px auto 0;
    padding-top:20px;
    column-gap:24px;
  }
  .global-footer__navigation::before{
    position:absolute;
    top:0;
    left:50%;
    width:90%;
    height:1px;
    content:"";
    transform:translateX(-50%);
    background:rgba(173,201,232,.55);
  }
  .global-footer__navigation > nav.global-footer__column{
    display:flex;
    width:100%;
    min-width:0;
    margin:0;
    min-height:0;
    align-items:center;
    text-align:center;
  }
  .global-footer__navigation > nav.global-footer__column h2{
    font-size:19px !important;
    font-weight:700 !important;
    line-height:1.5 !important;
    margin:0 !important;
  }
  .global-footer__navigation > nav.global-footer__column .global-footer__column-links{
    align-items:center;
    gap:9px;
    padding-top:10px;
  }
  .global-footer__navigation > nav.global-footer__column .global-footer__column-links a{
    font-size:17px !important;
    line-height:1.8 !important;
    font-weight:400;
  }
}

@media(max-width:768px){
  .global-footer__contact{
    position:relative;
    margin-top:-2px;
    padding-top:20px;
  }
  .global-footer__contact::before{
    position:absolute;
    top:0;
    left:50%;
    width:90%;
    height:1px;
    content:"";
    transform:translateX(-50%);
    background:rgba(173,201,232,.55);
  }
  .global-footer__contact .global-footer__column-header h2{
    font-size:19px !important;
    font-weight:700 !important;
    line-height:1.5 !important;
  }
  .global-footer__contact .global-footer__office-list{
    gap:20px;
  }
  .global-footer__contact .global-footer__office-item{
    align-items:flex-start;
  }
  .global-footer__contact .global-footer__office-icon{
    flex:0 0 19px;
    width:19px;
    height:19px;
    margin-top:3px;
    color:#1267f5;
  }
  .global-footer__contact .global-footer__office-item h3{
    font-size:17px !important;
    font-weight:700 !important;
    line-height:1.5 !important;
  }
  .global-footer__contact .global-footer__office-item span{
    display:block;
    font-size:17px !important;
    font-weight:500 !important;
    line-height:1.8 !important;
    text-align:center !important;
    color:#65738c !important;
  }
  .global-footer__contact .global-footer__office-item:first-child > div > span,
  .global-footer__contact .global-footer__office-item:nth-child(2) > div > span[dir="ltr"]{
    font-size:17px !important;
    font-weight:500 !important;
    line-height:1.8 !important;
    text-align:center !important;
    color:#65738c !important;
    opacity:1 !important;
  }
  .global-footer__contact .global-footer__office-item > div{
    width:100% !important;
    max-width:310px !important;
    margin-inline:auto !important;
  }
  .global-footer__contact .global-footer__office-item:first-child > div > span{
    width:100% !important;
    max-width:310px !important;
    margin-inline:auto !important;
    white-space:nowrap !important;
    font-size:16px !important;
    font-weight:500 !important;
    line-height:1.8 !important;
    text-align:center !important;
  }
  .global-footer__contact .global-footer__office-item:nth-child(2) > div > span[dir="ltr"]{
    width:100% !important;
    max-width:310px !important;
    margin-inline:auto !important;
    font-size:18px !important;
    font-weight:600 !important;
    line-height:1.8 !important;
    direction:ltr !important;
    text-align:center !important;
    letter-spacing:.25px;
  }
}
