/* TAKAV Footer Manager 1.1.0 — mobile first, RTL */
.tfm-footer{box-sizing:border-box;background:var(--tfm-bg);color:var(--tfm-text);font-size:var(--tfm-font);line-height:1.8;border-top:1px solid rgba(255,255,255,.12);padding:36px 0 calc(24px + env(safe-area-inset-bottom,0px));overflow:hidden;clear:both;width:100%;text-align:right}
.tfm-footer *,.tfm-footer *::before,.tfm-footer *::after{box-sizing:border-box}
.tfm-footer .tfm-inner{width:100%;max-width:var(--tfm-max,1280px);margin:0 auto;padding:0 max(20px,env(safe-area-inset-right,0px)) 0 max(20px,env(safe-area-inset-left,0px))}
.tfm-footer a{color:inherit;text-decoration:none;transition:color .2s}
.tfm-footer a:hover,.tfm-footer a:focus-visible{color:var(--tfm-accent)}
.tfm-footer a:focus-visible,.tfm-footer button:focus-visible{outline:2px solid var(--tfm-accent);outline-offset:3px;border-radius:2px}
.tfm-footer ul{list-style:none;margin:0;padding:0}.tfm-footer li{margin:0;padding:0}
.tfm-footer p{margin:0}

.tfm-top{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
.tfm-brand{min-width:0;max-width:520px}
.tfm-about{color:var(--tfm-muted);line-height:1.95;font-size:.97em}
.tfm-contact{display:flex;flex-direction:column;margin-top:14px}
.tfm-c{display:flex;align-items:center;min-height:44px;overflow-wrap:anywhere;word-break:break-word}
.tfm-addr{color:var(--tfm-muted)}
.tfm-social{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.tfm-s{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:1px solid rgba(255,255,255,.2);border-radius:999px;font-size:.93em;line-height:1}
.tfm-s:hover,.tfm-s:focus-visible{border-color:var(--tfm-accent)}
.tfm-ico{flex:none;display:block}
.tfm-trust{margin-top:18px}
.tfm-namad{display:inline-block;line-height:0}
.tfm-namad img{display:block;width:92px;height:auto;max-height:120px;object-fit:contain;background:transparent}
.tfm-namad-html{max-width:160px;margin-top:12px;line-height:0}.tfm-namad-html img{max-width:100%;height:auto}.tfm-namad-html iframe{max-width:100%}

.tfm-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px;min-width:0}
.tfm-col{min-width:0}
.tfm-col:last-child:nth-child(odd){grid-column:1/-1}
.tfm-footer .tfm-col-title{margin:0 0 4px;padding:0;color:var(--tfm-accent);font:inherit;font-size:1em;font-weight:800;line-height:1.6;letter-spacing:0;text-transform:none}
.tfm-links a{display:flex;align-items:center;width:fit-content;max-width:100%;min-height:44px;color:var(--tfm-muted);overflow-wrap:anywhere}
.tfm-col-btn{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:44px;cursor:default;color:inherit;font-weight:inherit}
.tfm-chev{display:none;transition:transform .2s}

.tfm-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:14px;margin-top:32px;padding-top:24px;border-top:1px solid rgba(255,255,255,.12);min-width:0}
.tfm-wordmark{max-width:100%;font-weight:900;letter-spacing:-.05em;line-height:.9;color:var(--tfm-accent);direction:ltr;white-space:nowrap;font-size:clamp(44px,19vw,92px)}
.tfm-wordmark.tfm-logo-small{font-size:clamp(34px,13vw,64px)}
.tfm-wordmark.tfm-logo-large{font-size:clamp(52px,23vw,112px)}
.tfm-wordmark img{display:block;max-width:min(100%,260px);height:auto;max-height:110px;object-fit:contain}
.tfm-copy{color:var(--tfm-muted);font-size:.86em;line-height:1.9;max-width:100%}

/* accordion (موبایل) — بدون JS همه باز می‌مانند */
.tfm-acc.tfm-ready .tfm-columns{grid-template-columns:minmax(0,1fr);gap:0}
.tfm-acc.tfm-ready .tfm-col{border-bottom:1px solid rgba(255,255,255,.12);grid-column:auto}
.tfm-acc.tfm-ready .tfm-col:last-child{border-bottom:0}
.tfm-acc.tfm-ready .tfm-col-title{margin:0}
.tfm-acc.tfm-ready .tfm-col-btn{cursor:pointer}
.tfm-acc.tfm-ready .tfm-chev{display:block}
.tfm-acc.tfm-ready .tfm-links{display:none;padding-bottom:8px}
.tfm-acc.tfm-ready .tfm-col.is-open .tfm-links{display:block}
.tfm-acc.tfm-ready .tfm-col.is-open .tfm-chev{transform:rotate(180deg)}

@media(min-width:640px){
 .tfm-footer .tfm-inner{padding-inline:max(28px,env(safe-area-inset-left,0px))}
 .tfm-columns{grid-template-columns:repeat(3,minmax(0,1fr))}
 .tfm-col:last-child:nth-child(odd){grid-column:auto}
 .tfm-contact{flex-direction:row;flex-wrap:wrap;gap:0 24px}
}
@media(min-width:960px){
 .tfm-footer{padding:var(--tfm-pad) 0 calc(var(--tfm-pad) * .6)}
 .tfm-top{grid-template-columns:minmax(260px,5fr) minmax(0,7fr);gap:var(--tfm-gap) calc(var(--tfm-gap) * 1.25);align-items:start}
 .tfm-columns{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:24px var(--tfm-gap)}
 .tfm-contact{flex-direction:column}
 .tfm-bottom{flex-direction:row;align-items:flex-end;justify-content:space-between;gap:40px;margin-top:calc(var(--tfm-pad) * .8);padding-top:32px}
 .tfm-wordmark{font-size:clamp(64px,8vw,130px)}
 .tfm-wordmark.tfm-logo-small{font-size:clamp(48px,5.5vw,88px)}
 .tfm-wordmark.tfm-logo-large{font-size:clamp(84px,11vw,180px)}
 .tfm-wordmark img{max-width:min(30vw,300px);max-height:140px}
 .tfm-copy{max-width:520px;text-align:left;padding-bottom:.4em}
 /* آکاردئون فقط روی موبایل: روی دسکتاپ همه‌چیز باز و عادی است */
 .tfm-acc.tfm-ready .tfm-columns{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:24px var(--tfm-gap)}
 .tfm-acc.tfm-ready .tfm-col{border-bottom:0}
 .tfm-acc.tfm-ready .tfm-col-btn{cursor:default;pointer-events:none}
 .tfm-acc.tfm-ready .tfm-chev{display:none}
 .tfm-acc.tfm-ready .tfm-links{display:block;padding-bottom:0}
}
@media(prefers-reduced-motion:reduce){.tfm-footer a,.tfm-chev{transition:none}}
