/* Tarhestan — Footer */
.tf{
	--tf-bg:#0f1d19;--tf-text:#e7efeb;--tf-accent:#f79521;--tf-logo:150px;
	--tf-muted:color-mix(in srgb,var(--tf-text) 62%,var(--tf-bg));
	--tf-line:color-mix(in srgb,var(--tf-text) 11%,var(--tf-bg));
	--tf-card:color-mix(in srgb,var(--tf-text) 5%,var(--tf-bg));
	--tf-hover:color-mix(in srgb,var(--tf-text) 9%,var(--tf-bg));
	position:relative;margin-top:clamp(3rem,6vw,5rem);background:var(--tf-bg);color:var(--tf-text);
	font-family:inherit;font-size:.93rem;line-height:1.85;direction:rtl;text-align:right;
	background: linear-gradient(135deg, #010718, #020f1ee8);
}
.tf *,.tf *::before,.tf *::after{box-sizing:border-box}
.tf::before{content:"";position:absolute;top:0;right:0;left:0;height:3px;background:linear-gradient(90deg,transparent,var(--tf-accent) 30%,var(--th-primary,#0e7c66) 70%,transparent)}
.tf a{color:inherit;text-decoration:none}
.tf :is(h2,p,ul,li,address){margin:0;padding:0;font-style:normal;color:inherit;letter-spacing:normal;text-transform:none}
.tf ul{list-style:none}
.tf .th-i{display:block;flex:none}
.tf a:focus{outline:none}
.tf a:focus-visible{outline:2px solid var(--tf-accent);outline-offset:3px;border-radius:8px}

/* ---------- Layout ---------- */
.tf__main{
	display:grid;gap:clamp(2rem,4vw,3.5rem);
	grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1.3fr);
	max-width:var(--th-max,1320px);margin:0 auto;padding:clamp(2.75rem,6vw,4.5rem) clamp(1rem,2.5vw,2rem) clamp(2rem,4vw,3rem);
}
.tf[data-cols="4"] .tf__main{grid-template-columns:minmax(0,1.2fr) minmax(0,.7fr) minmax(0,1fr) minmax(0,1.25fr)}
.tf[data-cols="2"] .tf__main{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}
.tf__col{min-width:0}

.tf h2.tf__title{position:relative;display:inline-block;margin:0 0 1.35rem;padding:0 0 .55rem;font-size:1.02rem;font-weight:800;line-height:1.6;color:var(--tf-text);border:0;background:none}
.tf h2.tf__title::after{content:"";position:absolute;right:0;bottom:0;width:28px;height:3px;border-radius:3px;background:var(--tf-accent)}
.tf p.tf__subtitle{margin:0 0 .75rem;font-size:16px;font-weight:700;color:white;}

/* ---------- Brand ---------- */
.tf__logo{display:inline-flex;margin-bottom:1.1rem}
.tf__logo-img{display:block;width:var(--tf-logo);max-width:100%;height:auto}
.tf__logo span{font-size:1.35rem;font-weight:800}
.tf p.tf__about{max-width:40ch;color:white;line-height:2}
.tf__block{margin-top:1.75rem}

.tf__socials{display:flex;flex-wrap:wrap;gap:.5rem}
.tf__social{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--tf-card);border:1px solid var(--tf-line);color:var(--tf-text);transition:background .25s,color .25s,border-color .25s,transform .25s}
.tf__social:hover{transform:translateY(-3px);color:#fff;border-color:transparent}
.tf__social--instagram:hover{background:linear-gradient(45deg,#f9a03f,#e1306c 50%,#833ab4)}
.tf__social--pinterest:hover{background:#e60023}
.tf__social--telegram:hover{background:#229ed9}
.tf__social--whatsapp:hover{background:#25d366}
.tf__social--linkedin:hover{background:#0a66c2}
.tf__social--youtube:hover{background:#ff0033}
.tf__social--aparat:hover{background:#ed145b}
.tf__social--x:hover{background:#000}

.tf__trust{display:flex;flex-wrap:wrap;gap:.6rem}
.tf__badge{display:grid;place-items:center;min-width:92px;height:104px;padding:.4rem;border-radius:14px;background:#fff;overflow:hidden}
.tf__badge img{display:block;max-width:84px;max-height:92px;width:auto;height:auto}
.tf__badge a{display:block}

/* ---------- Quick links ---------- */
.tf__menu{display:grid;gap:.15rem}
.tf__menu a{position:relative;display:inline-block;padding:.3rem 0;color:var(--tf-muted);transition:color .2s,padding .25s}
.tf__menu a::before{content:"";position:absolute;right:0;top:50%;width:0;height:2px;border-radius:2px;background:var(--tf-accent);transition:width .25s}
.tf__menu a:hover{color:var(--tf-text);padding-right:.9rem}
.tf__menu a:hover::before{width:.55rem}

/* ---------- Posts ---------- */
.tf__post-list{display:grid;gap:.35rem}
.tf__post{display:flex;align-items:center;gap:.85rem;padding:.55rem;margin:0 -.55rem;border-radius:14px;transition:background .2s}
.tf__post:hover{background:var(--tf-card)}
.tf__post-thumb{flex:none;display:grid;place-items:center;width:64px;height:64px;border-radius:12px;overflow:hidden;background:var(--tf-card);color:var(--tf-muted)}
.tf__post-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.tf__post:hover .tf__post-thumb img{transform:scale(1.08)}
.tf__post-body{display:grid;gap:.2rem;min-width:0}
.tf__post-title{font-size:.9rem;font-weight:600;line-height:1.75;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;transition:color .2s}
.tf__post:hover .tf__post-title{color:var(--tf-accent)}
.tf__post-date{font-size:.78rem;color:var(--tf-muted)}
.tf__more{display:inline-flex;align-items:center;gap:.35rem;margin-top:.9rem;font-size:.85rem;font-weight:700;color:var(--tf-accent)!important}
.tf__more .th-i{transition:transform .2s}
.tf__more:hover .th-i{transform:translateX(-4px)}

/* ---------- Contact ---------- */
.tf__phones{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.5rem;margin-bottom:.9rem}
.tf__phone{display:flex;flex-direction:column;gap:.05rem;padding:.6rem .85rem;border-radius:13px;background:#f795210d;border:0.5px solid #f79521;transition:border-color .2s,background .2s}

.tf__phone-label{font-size:.72rem;color:var(--tf-muted)}
.tf__phone-num{font-size:1.02rem;font-weight:800;letter-spacing:.02em;text-align:right;font-variant-numeric:tabular-nums}
.tf__line{display:flex;align-items:center;gap:.6rem;padding:.35rem 0;color:var(--tf-text);transition:color .2s}
.tf__line:hover{color:var(--tf-accent)}
.tf__line .th-i,.tf__address>.th-i{color:var(--tf-accent)}
.tf address.tf__address{display:flex;align-items:flex-start;gap:.6rem;margin:.5rem 0 1rem;line-height:1.9}
.tf__address>.th-i{margin-top:.3rem}
.tf__address>span{display:grid;gap:.35rem}
.tf__note{display:inline-flex;align-items:center;gap:.35rem;justify-self:start;padding:.15rem .6rem;border-radius:999px;background:color-mix(in srgb,var(--tf-accent) 14%,transparent);color:var(--tf-accent);font-size:.78rem;font-weight:600}

.tf__map{position:relative;aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:var(--tf-card);border:1px solid var(--tf-line)}
.tf__map iframe{display:block;width:100%;height:100%;border:0;filter:grayscale(.45) contrast(.95);transition:filter .4s}
.tf__map:hover iframe,.tf__map:focus-within iframe{filter:none}
.tf__route{position:absolute;left:.6rem;bottom:.6rem;display:inline-flex;align-items:center;gap:.35rem;padding:.4rem .8rem;border-radius:10px;background:var(--tf-bg);color:var(--tf-text)!important;font-size:.8rem;font-weight:700;box-shadow:0 8px 20px -8px rgba(0,0,0,.5);transition:background .2s,color .2s}
.tf__route:hover{background:var(--tf-accent);color:#1f1600!important}

/* ---------- Bottom bar ---------- */
.tf__bar{display:flex;align-items:center;gap:1rem 1.5rem;flex-wrap:wrap;max-width:var(--th-max,1320px);margin:0 auto;padding:1.25rem clamp(1rem,2.5vw,2rem) calc(1.25rem + env(safe-area-inset-bottom));border-top:1px solid var(--tf-line);font-size:.82rem;color:var(--tf-muted)}
.tf p.tf__copy{flex:1;min-width:220px}
.tf__credit a{color:var(--tf-text)!important;border-bottom:1px dashed var(--tf-line);transition:border-color .2s}
.tf__credit a:hover{border-color:var(--tf-accent)}
.tf__top{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--tf-card);border:1px solid var(--tf-line);color:var(--tf-text)!important;transition:background .2s,transform .2s}
.tf__top:hover{background:var(--tf-accent);color:#1f1600!important;transform:translateY(-2px)}

/* ---------- Responsive ---------- */
@media (max-width:1100px){
	.tf[data-cols] .tf__main{grid-template-columns:repeat(2,minmax(0,1fr))}
	.tf__brand{grid-column:1/-1}
	.tf p.tf__about{max-width:60ch}
}
@media (max-width:640px){
	.tf[data-cols] .tf__main{grid-template-columns:1fr;gap:2.25rem}
	.tf__phones{grid-template-columns:1fr 1fr}
	.tf__bar{flex-direction:column;align-items:flex-start;gap:.5rem;padding-bottom:calc(1.25rem + env(safe-area-inset-bottom))}
	.tf__top{position:absolute;left:1rem;bottom:1.1rem}
	.tf__bar{position:relative;padding-left:4rem}
	.tf__map{aspect-ratio:4/3}
}
@media (prefers-reduced-motion:reduce){
	.tf *{transition-duration:.01ms!important}
}