/* ================================================================
   Texa Footer — كل القيم تُضبط من «فوتر تيكسا» في لوحة التحكم
   ================================================================ */
.tf{
  --tf-bg:#0b0a09; --tf-text:#fff; --tf-muted:#bdb5aa; --tf-accent:#B08A4A; --tf-line:#2c2721;
  --tf-wrap:1400px; --tf-pad:60px; --tf-title:30px; --tf-link:17px; --tf-logo-h:56px; --tf-pay-h:22px;
  --tf-font:'Tajawal',system-ui,sans-serif; --tf-ease:cubic-bezier(.2,.7,.2,1);
  position:relative;clear:both;direction:rtl;text-align:right;background:var(--tf-bg);color:var(--tf-text);
  font-family:var(--tf-font);line-height:1.6;-webkit-font-smoothing:antialiased}
.tf *,.tf *::before,.tf *::after{box-sizing:border-box}
.tf a{color:inherit;text-decoration:none;transition:color .2s}
.tf ul{list-style:none!important;margin:0!important;padding:0!important}
.tf li{margin:0!important;list-style:none!important}
.tf h2,.tf p{margin:0}
.tf-svg{width:22px;height:22px;flex:0 0 auto}
.tf a:focus-visible,.tf button:focus-visible,.tf input:focus-visible{outline:2px solid var(--tf-accent);outline-offset:3px}
.tf-sr,.tf-hp{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important;padding:0!important}
.tf-wrap{max-width:var(--tf-wrap);margin:0 auto;padding-inline:clamp(16px,2.5vw,24px)}

/* ---------- الشبكة ---------- */
.tf-grid{display:grid;grid-template-columns:1.35fr 1fr .85fr 1.15fr;gap:clamp(28px,3.6vw,58px);padding-top:var(--tf-pad);padding-bottom:calc(var(--tf-pad) * .8)}
.tf-col{min-width:0}

/* ---------- العلامة ---------- */
.tf-logo{display:inline-flex;margin-bottom:18px}
.tf-brand{display:flex;flex-direction:column}
.tf-brand .tf-logo{align-self:center}
.tf-logo img{display:block;height:var(--tf-logo-h);width:auto;max-width:100%}
.tf-logo__text{font-size:30px;font-weight:800}
.tf-about{font-size:16.5px;line-height:1.85;color:var(--tf-text);opacity:.92;margin-bottom:22px!important}
.tf-badges{display:grid;grid-template-columns:repeat(2,minmax(0,max-content));justify-content:space-between;gap:18px 16px;margin-bottom:28px!important}
.tf-badge{display:flex;align-items:center;gap:8px}
.tf-badge img{flex:0 0 auto;width:40px;height:40px;object-fit:contain;border-radius:4px;background:rgba(255,255,255,.04)}
.tf-badge small{display:block;font-size:12.5px;color:var(--tf-text);opacity:.85;line-height:1.4}
.tf-badge b{display:block;font-size:12.5px;font-weight:800;letter-spacing:.2px;line-height:1.5;white-space:nowrap}
.tf-badge b[dir=ltr]{text-align:right}
a.tf-badge:hover b{color:var(--tf-accent)}

/* النشرة البريدية */
.tf-news{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.tf .tf-news input[type=email]{width:100%;height:60px;margin:0;padding:0 20px;border:1px solid color-mix(in srgb,var(--tf-accent) 45%,transparent)!important;
  border-radius:10px!important;background:transparent!important;color:var(--tf-text)!important;font:inherit;font-size:16px;box-shadow:none!important;outline:0;transition:border-color .2s,box-shadow .2s}
.tf .tf-news input[type=email]::placeholder{color:var(--tf-text);opacity:.85}
.tf .tf-news input[type=email]:focus{border-color:var(--tf-accent)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--tf-accent) 18%,transparent)!important}
.tf .tf-news__btn{display:inline-flex;align-items:center;justify-content:center;height:58px;min-width:148px;padding:0 26px;border:0!important;border-radius:10px!important;
  background:var(--tf-accent)!important;color:#111!important;font:inherit;font-size:16.5px;font-weight:800;cursor:pointer;box-shadow:none!important;text-transform:none;letter-spacing:normal;transition:filter .2s,transform .2s}
.tf .tf-news__btn:hover{filter:brightness(1.08)}
.tf .tf-news__btn:active{transform:scale(.98)}
.tf .tf-news__btn[disabled]{opacity:.6;cursor:wait}
.tf-news__msg{font-size:14px;font-weight:600;color:var(--tf-accent)}
.tf-news__msg.is-err{color:#f08a80}

/* ---------- العناوين ---------- */
.tf-head{margin-bottom:22px}
.tf-eyebrow{display:block;font-size:14px;color:var(--tf-accent);margin-bottom:10px}
.tf .tf-title{font-family:var(--tf-font);font-size:var(--tf-title);font-weight:800;line-height:1.25;color:var(--tf-text);letter-spacing:0;text-transform:none}
.tf .tf-acc{all:unset;display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;cursor:default;font:inherit;color:inherit}
.tf .tf-acc .tf-svg{display:none}

/* ---------- خدمة العملاء ---------- */
.tf-contacts{display:grid;gap:26px}
.tf-ci{display:flex;align-items:flex-start;gap:16px}
.tf-ci__ic{flex:0 0 auto;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--tf-line);color:color-mix(in srgb,var(--tf-accent) 80%,#fff);transition:border-color .2s,background .2s}
.tf-ci__ic .tf-svg{width:23px;height:23px}
a.tf-ci:hover .tf-ci__ic{border-color:var(--tf-accent);background:color-mix(in srgb,var(--tf-accent) 12%,transparent)}
.tf-ci__t{padding-top:2px}
.tf-ci__t b{display:block;font-size:17px;font-weight:800;margin-bottom:4px}
.tf-ci__t small{display:block;font-size:14px;color:var(--tf-muted);line-height:1.75}
.tf-ci__t small[dir=ltr]{text-align:right}
a.tf-ci:hover b{color:var(--tf-accent)}

/* ---------- الروابط ---------- */
.tf-list{display:grid;gap:4px}
.tf-list a{display:inline-block;padding:11px 0;font-size:var(--tf-link);font-weight:500;color:var(--tf-text);opacity:.95}
.tf-list a:hover{color:var(--tf-accent);opacity:1}

/* الدفع والتواصل */
.tf-pay{display:flex!important;flex-wrap:wrap;gap:4px;margin-top:40px!important}
.tf-pay img{display:block;height:var(--tf-pay-h);width:auto;border-radius:3px}
.tf-social{display:flex!important;flex-wrap:wrap;gap:12px;margin-top:22px!important}
.tf-social a{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--tf-line);color:color-mix(in srgb,var(--tf-accent) 85%,#fff);font-size:19px;transition:all .2s}
.tf-social a:hover{border-color:var(--tf-accent);background:var(--tf-accent);color:#111}
.tf-social img{width:20px;height:20px;object-fit:contain}

/* ---------- الشريط السفلي ---------- */
.tf-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap}
.tf-bottom::before{content:"";flex-basis:100%;height:1px;background:var(--tf-line)}
.tf-bottom p{padding:4px 0 22px;font-size:14.5px;color:var(--tf-muted)}

/* ---------- الاستجابة ---------- */
@media (max-width:1180px){
  .tf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
  .tf-grid{grid-template-columns:1fr;gap:34px;padding-top:calc(var(--tf-pad) * .7)}
  .tf-brand .tf-logo{align-self:flex-start}
  .tf-about{font-size:15.5px}
  .tf-badges{gap:14px 16px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .tf-badge b{white-space:normal;word-break:break-word}
  .tf .tf-news__btn{width:100%}
  .tf-contacts{gap:18px}
  .tf-ci__ic{width:48px;height:48px}

  /* الروابط كقوائم قابلة للطي */
  .tf--acc .tf-links{border-top:1px solid var(--tf-line);padding-top:16px}
  .tf--acc .tf-links .tf-head{margin-bottom:0}
  .tf--acc .tf-links .tf-title{font-size:20px}
  .tf--acc .tf-acc{cursor:pointer;padding:4px 0}
  .tf--acc .tf-acc .tf-svg{display:block;width:20px;height:20px;transition:transform .25s var(--tf-ease);color:var(--tf-accent)}
  .tf--acc .tf-acc[aria-expanded=true] .tf-svg{transform:rotate(180deg)}
  .tf--acc .tf-links .tf-list{display:block;max-height:0;overflow:hidden;transition:max-height .35s var(--tf-ease)}
  .tf--acc .tf-links.is-open .tf-list{max-height:1000px;padding-top:6px!important}
  .tf--acc .tf-list a{padding:9px 0;font-size:16px}
  .tf-pay{margin-top:24px!important}
  .tf-bottom{justify-content:center;text-align:center}
  .tf-bottom p{padding-bottom:6px}
  .tf-bottom p:last-child{padding-bottom:22px}
}
@media (prefers-reduced-motion:reduce){ .tf *{transition:none!important} }
