/* =====================================================
   مكتب الأفندي للمحاماة — style.css
   التوجّه: داكن سينمائي فاخر · هوية العميل (أخضر #1B4332 + ذهبي #C9A94B)
   صُنع يدوياً من الصفر — Bare3 Web System. RTL. صفر إيموجي (أيقونات SVG).
   ===================================================== */

/* ---------- 1) التوكنز (هوية الأفندي على عتمة سينمائية) ---------- */
:root{
  --green:        #1B4332;   /* الأخضر المؤسسي للأفندي */
  --green-deep:   #0c1a14;   /* خلفية داكنة عميقة (أخضر فاحم لا أسود مسطّح) */
  --green-deep-2: #0f231a;   /* طبقة أرفع للعمق */
  --green-card:   #12291f;   /* بطاقات */
  --green-line:   rgba(201,169,75,.16);  /* حدود ذهبية خافتة */

  --gold:      #C9A94B;      /* الذهبي المؤسسي */
  --gold-soft: #ddc079;
  --gold-deep: #a8842f;

  --ivory:      #f1ece1;     /* نص رئيسي عاجي دافئ */
  --ivory-soft: #aeb6ab;     /* نص ثانوي مخضرّ هادئ */

  --f-head: "Amiri", "GE SS Two", serif;
  --f-body: "Cairo", "Tajawal", system-ui, sans-serif;

  --container: 1200px;
  --pad: 24px;
  --radius: 14px;
  --radius-sm: 10px;

  --ease: cubic-bezier(.16,1,.3,1);
  --dur: .8s;

  --shadow: 0 24px 60px rgb(0 0 0 / .55), 0 0 0 1px rgb(201 169 75 / .06);
  --glow:   0 0 48px rgb(201 169 75 / .22);
}

/* ---------- 2) أساسيات ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0; font-family:var(--f-body); color:var(--ivory);
  background:
    radial-gradient(60% 42% at 50% -6%, rgb(201 169 75 / .12), transparent 62%),
    radial-gradient(46% 36% at 100% 4%, rgb(27 67 50 / .55), transparent 60%),
    var(--green-deep);
  background-attachment:fixed;
  line-height:1.85; font-size:16px; font-weight:400;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:var(--f-head); font-weight:700; line-height:1.25; margin:0; letter-spacing:0; }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
::selection{ background:var(--gold); color:#1a1408; }

.container{ width:100%; max-width:var(--container); margin-inline:auto; padding-inline:var(--pad); }

/* ---------- 3) أدوات مشتركة ---------- */
.section{ padding-block:clamp(64px,9vw,120px); position:relative; }
.section--alt{ background:linear-gradient(180deg, var(--green-deep-2), var(--green-deep)); border-block:1px solid var(--green-line); }

.kicker{
  display:inline-flex; align-items:center; gap:14px;
  color:var(--gold); font-family:var(--f-body); font-weight:700;
  font-size:.82rem; letter-spacing:.24em; text-transform:uppercase;
  margin-bottom:18px;
}
.kicker::before{ content:""; width:0; height:1.5px; background:var(--gold); transition:width 1s var(--ease); }
.reveal.is-in .kicker::before, .kicker.is-in::before{ width:40px; }   /* توقيع: الخط الذهبي يرتسم */

.section-head{ max-width:680px; margin-bottom:clamp(40px,5vw,64px); }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head h2{ font-size:clamp(1.9rem,4vw,3rem); }
.section-head p{ color:var(--ivory-soft); margin-top:18px; font-size:1.05rem; }

.text-gold{ color:var(--gold); }
.glow-text{ text-shadow:0 0 26px rgb(201 169 75 / .4); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 30px; border-radius:var(--radius-sm); font-family:var(--f-body);
  font-weight:700; font-size:.98rem; cursor:pointer; border:1px solid transparent;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  white-space:nowrap;
}
.btn svg{ width:19px; height:19px; }
.btn-primary{ background:linear-gradient(135deg,var(--gold),var(--gold-deep)); color:#1a1408; box-shadow:0 0 28px rgb(201 169 75 / .26); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 0 46px rgb(201 169 75 / .45); }
.btn-ghost{ border-color:var(--green-line); color:var(--ivory); background:rgb(255 255 255 / .02); }
.btn-ghost:hover{ border-color:var(--gold); color:var(--gold); transform:translateY(-2px); }

/* بطاقة عامة */
.card{
  background:linear-gradient(180deg, var(--green-card), rgb(12 26 20 / .7));
  border:1px solid var(--green-line); border-radius:var(--radius); padding:32px;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); border-color:rgb(201 169 75 / .4); }

/* توقيع الظهور بالتمرير */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in{ opacity:1; transform:none; }
.reveal[data-delay="1"]{ transition-delay:.08s; }
.reveal[data-delay="2"]{ transition-delay:.16s; }
.reveal[data-delay="3"]{ transition-delay:.24s; }
.reveal[data-delay="4"]{ transition-delay:.32s; }

/* ---------- 4) الهيدر ---------- */
.site-header{
  position:fixed; inset-block-start:0; inset-inline:0; z-index:60;
  transition:background .4s, backdrop-filter .4s, box-shadow .4s, padding .4s;
  padding-block:18px;
}
.site-header.scrolled{
  background:rgb(9 20 15 / .82); backdrop-filter:blur(14px);
  box-shadow:0 1px 0 var(--green-line), 0 10px 40px rgb(0 0 0 / .35);
  padding-block:12px;
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand img{ height:46px; width:auto; transition:height .4s; }
.site-header.scrolled .brand img{ height:40px; }
.nav{ display:flex; align-items:center; gap:30px; }
.nav a{ color:var(--ivory); font-weight:600; font-size:.96rem; position:relative; padding-block:6px; transition:color .3s; }
.nav a::after{ content:""; position:absolute; inset-inline-start:0; inset-block-end:0; width:0; height:1.5px; background:var(--gold); transition:width .3s var(--ease); }
.nav a:hover{ color:var(--gold); } .nav a:hover::after{ width:100%; }
.header-cta{ display:flex; align-items:center; gap:14px; }
.nav-toggle{ display:none; background:none; border:0; cursor:pointer; width:42px; height:42px; padding:9px; }
.nav-toggle span{ display:block; height:2px; background:var(--ivory); margin:5px 0; border-radius:2px; transition:.3s; }

/* ---------- 5) الهيرو ---------- */
.hero{ position:relative; min-height:100vh; display:flex; align-items:center; padding-block:140px 80px; overflow:hidden; }
.hero-bg{ position:absolute; inset:0; z-index:0; }
.hero-bg img{ width:100%; height:100%; object-fit:cover; opacity:.16; filter:grayscale(.2); }
.hero-bg::after{ content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgb(12 26 20 / .55), rgb(12 26 20 / .9)),
            radial-gradient(60% 50% at 50% 0%, rgb(201 169 75 / .12), transparent 60%); }
.hero .container{ position:relative; z-index:1; }
.hero-inner{ max-width:880px; }
.hero h1{ font-size:clamp(2.6rem,6.4vw,5.3rem); line-height:1.12; margin-block:6px 0; }
.hero h1 .line{ display:block; overflow:hidden; }
.hero h1 .line span{ display:block; transform:translateY(110%); transition:transform 1s var(--ease); }
.hero.is-ready h1 .line span{ transform:none; }
.hero h1 .line:nth-child(2) span{ transition-delay:.12s; }
.hero-sub{ color:var(--ivory-soft); font-size:clamp(1.05rem,2vw,1.25rem); max-width:680px; margin-top:28px; }
.hero-sub strong{ color:var(--ivory); font-weight:700; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:16px; margin-top:38px; }
.hero-trust{ display:flex; flex-wrap:wrap; gap:28px 40px; margin-top:54px; padding-top:34px; border-top:1px solid var(--green-line); }
.hero-trust .t{ display:flex; align-items:center; gap:12px; color:var(--ivory-soft); font-size:.96rem; }
.hero-trust .t svg{ width:24px; height:24px; color:var(--gold); flex:none; }
.scroll-cue{ position:absolute; inset-block-end:26px; inset-inline-start:50%; transform:translateX(50%); z-index:1; color:var(--ivory-soft); }
.scroll-cue span{ display:block; width:1px; height:46px; margin-inline:auto; background:linear-gradient(var(--gold),transparent); animation:cue 2s var(--ease) infinite; }
@keyframes cue{ 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 50.1%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ---------- 6) شريط الإحصاءات ---------- */
.stats{ background:linear-gradient(180deg,var(--green),#163a2b); border-block:1px solid var(--green-line); }
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; }
.stat .num{ font-family:var(--f-head); font-weight:700; font-size:clamp(2.4rem,5vw,3.6rem); color:var(--gold); line-height:1; transition:text-shadow .4s; }
.stat .num .plus{ font-size:.6em; vertical-align:.15em; }
.stat .num.counting{ text-shadow:0 0 30px rgb(201 169 75 / .6); }
.stat.is-in .num{ animation:numPop .8s var(--ease) both; }
@keyframes numPop{ 0%{ transform:scale(.86); filter:blur(3px); opacity:0; } 60%{ transform:scale(1.04); filter:blur(0); opacity:1; } 100%{ transform:scale(1); } }
.stat .lbl{ color:var(--ivory-soft); margin-top:12px; font-size:.98rem; position:relative; display:inline-block; }
.stat .lbl::before{ content:""; display:block; width:0; height:2px; background:var(--gold); margin:0 auto 12px; border-radius:2px; transition:width .8s var(--ease) .25s; }
.stat.is-in .lbl::before{ width:34px; }
.stat + .stat{ border-inline-start:1px solid var(--green-line); }

/* ---------- 7) عراقة (About) ---------- */
.about-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(36px,5vw,72px); align-items:center; }
.about-figure{ position:relative; border-radius:var(--radius); overflow:hidden; border:1px solid var(--green-line); }
.about-figure img{ width:100%; aspect-ratio:11/7; object-fit:cover; }
.about-figure::after{ content:""; position:absolute; inset:0; background:linear-gradient(120deg, transparent 55%, rgb(27 67 50 / .5)); }
.about-figure .badge{ position:absolute; inset-block-end:20px; inset-inline-start:20px; z-index:2;
  background:rgb(9 20 15 / .85); backdrop-filter:blur(6px); border:1px solid var(--green-line);
  border-radius:var(--radius-sm); padding:16px 22px; }
.about-figure .badge b{ font-family:var(--f-head); color:var(--gold); font-size:1.7rem; display:block; line-height:1; }
.about-figure .badge span{ color:var(--ivory-soft); font-size:.85rem; }
.about-body p{ color:var(--ivory-soft); margin-top:18px; }
.creds{ display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.creds li{ display:inline-flex; align-items:center; gap:9px; padding:9px 16px; border:1px solid var(--green-line); border-radius:40px; font-size:.9rem; font-weight:600; }
.creds li svg{ width:17px; height:17px; color:var(--gold); }

/* ---------- 8) الخدمات ---------- */
.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.service{ position:relative; }
.service .ico{ width:56px; height:56px; border-radius:14px; display:grid; place-items:center; margin-bottom:20px;
  background:radial-gradient(circle at 30% 25%, rgb(201 169 75 / .22), rgb(201 169 75 / .06));
  border:1px solid var(--green-line); }
.service .ico svg{ width:27px; height:27px; color:var(--gold); }
.service h3{ font-size:1.3rem; margin-bottom:10px; }
.service p{ color:var(--ivory-soft); font-size:.97rem; }

/* ---------- 9) القيادة والفريق ---------- */
.leader-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:clamp(32px,5vw,64px); align-items:center; }
.leader-photo{ position:relative; max-width:380px; }
.leader-photo img{ width:100%; aspect-ratio:1/1; object-fit:cover; object-position:top center; border-radius:var(--radius); border:1px solid var(--green-line); }
.leader-photo::before{ content:""; position:absolute; inset:-12px -12px auto auto; width:64%; height:64%; border:1px solid var(--gold); border-radius:var(--radius); z-index:-1; }
.leader-body h2{ font-size:clamp(1.7rem,3.5vw,2.5rem); }
.leader-role{ color:var(--gold); font-weight:700; margin-top:6px; }
.leader-body p{ color:var(--ivory-soft); margin-top:18px; }
/* فريق العمل — بطاقات عمودية */
.team-section{ margin-top:clamp(56px,7vw,84px); }
.team-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,300px)); gap:24px; justify-content:center; }
.team-card{ padding:0; overflow:hidden; text-align:center; }
.team-card .photo{ position:relative; aspect-ratio:4/5; overflow:hidden; }
.team-card .photo img{ width:100%; height:100%; object-fit:cover; object-position:top center; transition:transform .6s var(--ease); }
.team-card:hover .photo img{ transform:scale(1.05); }
.team-card .photo::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 55%, rgb(9 20 15 / .85)); }
.team-card.is-lead .photo::before{ content:"الرئيس التنفيذي"; position:absolute; z-index:2; inset-block-start:14px; inset-inline-end:14px;
  background:linear-gradient(135deg,var(--gold),var(--gold-deep)); color:#1a1408; font-size:.74rem; font-weight:700; padding:5px 12px; border-radius:30px; }
.team-card .info{ padding:20px 18px 26px; }
.team-card b{ display:block; font-family:var(--f-head); font-size:1.22rem; color:var(--ivory); }
.team-card .role{ color:var(--gold); font-size:.92rem; font-weight:600; margin-top:6px; }
.team-card .br{ display:inline-flex; align-items:center; gap:6px; color:var(--ivory-soft); font-size:.84rem; margin-top:10px; }
.team-card .br svg{ width:14px; height:14px; color:var(--gold); }
/* تجميع الفريق حسب الفرع */
.team-branch{ margin-top:clamp(36px,5vw,56px); }
.team-branch-title{ font-family:var(--f-head); font-size:1.45rem; color:var(--ivory); text-align:center; margin-bottom:26px; }
.team-branch-title span{ color:var(--gold); }
.team-branch-title::after{ content:""; display:block; width:36px; height:2px; background:var(--gold); margin:12px auto 0; border-radius:2px; }
/* أفاتار بدون صورة */
.team-card .photo.is-avatar img{ object-fit:contain; background:linear-gradient(180deg,#163a2b,#0c1a14); }
/* باركود الفرع */
.branch .qr{ width:104px; height:104px; margin-top:20px; border-radius:12px; background:#fff; padding:8px; box-shadow:0 4px 18px rgb(0 0 0 / .35); }
.branch .qr-label{ display:flex; align-items:center; gap:7px; font-size:.82rem; color:var(--ivory-soft); margin-top:10px; }
.branch .qr-label svg{ width:15px; height:15px; color:var(--gold); }

/* ---------- 10) الفروع ---------- */
.branches-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.branch .ico{ width:48px; height:48px; border-radius:12px; display:grid; place-items:center; margin-bottom:18px; background:rgb(201 169 75 / .1); border:1px solid var(--green-line); }
.branch .ico svg{ width:24px; height:24px; color:var(--gold); }
.branch h3{ font-size:1.35rem; margin-bottom:8px; }
.branch .phone{ display:inline-flex; align-items:center; gap:10px; color:var(--ivory); font-weight:700; margin-top:6px; direction:ltr; }
.branch .phone svg{ width:18px; height:18px; color:var(--gold); }
.branch .phone:hover{ color:var(--gold); }
.branch .meta{ color:var(--ivory-soft); font-size:.92rem; margin-top:4px; }

/* ---------- 11) القيم ---------- */
.values-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.value{ text-align:center; padding:30px 22px; }
.value .ico{ width:54px; height:54px; margin:0 auto 16px; border-radius:50%; display:grid; place-items:center; background:rgb(201 169 75 / .1); border:1px solid var(--green-line); }
.value .ico svg{ width:26px; height:26px; color:var(--gold); }
.value h3{ font-size:1.2rem; margin-bottom:8px; }
.value p{ color:var(--ivory-soft); font-size:.92rem; }

/* ---------- 12) FAQ ---------- */
.faq{ max-width:840px; margin-inline:auto; }
.faq-item{ border:1px solid var(--green-line); border-radius:var(--radius-sm); margin-bottom:14px; overflow:hidden; background:rgb(18 41 31 / .5); }
.faq-q{ width:100%; text-align:start; background:none; border:0; color:var(--ivory); cursor:pointer;
  font-family:var(--f-head); font-size:1.18rem; font-weight:700; padding:22px 26px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.faq-q .pm{ flex:none; width:26px; height:26px; position:relative; transition:transform .35s var(--ease); }
.faq-q .pm::before,.faq-q .pm::after{ content:""; position:absolute; inset-block-start:50%; inset-inline-start:50%; width:14px; height:2px; background:var(--gold); transform:translate(-50%,-50%); }
.faq-q .pm::after{ transform:translate(-50%,-50%) rotate(90deg); transition:transform .35s var(--ease); }
.faq-item.open .faq-q .pm::after{ transform:translate(-50%,-50%) rotate(0); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .4s var(--ease); }
.faq-a p{ color:var(--ivory-soft); padding:0 26px 24px; }

/* ---------- 13) CTA ---------- */
.cta{ position:relative; text-align:center; overflow:hidden; }
.cta-box{ background:linear-gradient(135deg,var(--green),#0e2419); border:1px solid var(--gold); border-radius:calc(var(--radius)*1.4);
  padding:clamp(44px,6vw,80px); box-shadow:var(--glow); position:relative; overflow:hidden; }
.cta-box::before{ content:""; position:absolute; inset:0; background:radial-gradient(50% 80% at 50% 0%, rgb(201 169 75 / .18), transparent 60%); }
.cta-box > *{ position:relative; }
.cta-box h2{ font-size:clamp(1.9rem,4.5vw,3.2rem); }
.cta-box p{ color:var(--ivory-soft); margin-top:16px; max-width:560px; margin-inline:auto; }
.cta-box .hero-actions{ justify-content:center; }

/* ---------- 14) الفوتر ---------- */
.site-footer{ background:#091410; border-top:1px solid var(--green-line); padding-block:64px 28px; position:relative; overflow:hidden; }

/* ===== ختم توقيع بارع — ميدالية الختم (المقترح 1 + سطر 2) ===== */
.bare3-sign{ display:inline-flex; align-items:center; gap:14px; }
.bare3-sign__cap{ color:var(--ivory-soft); font-size:clamp(.78rem,2.4vw,.9rem); line-height:1.4; }
.bare3-medal{ position:relative; flex:none; width:clamp(58px,9vw,74px); aspect-ratio:1/1; border-radius:50%; border:1.4px solid rgb(241 236 225 / .85); display:grid; place-items:center; }
.bare3-medal::before{ content:""; position:absolute; inset:5px; border-radius:50%; border:1px dashed var(--gold); opacity:.75; }
.bare3-medal img{ width:64%; height:64%; object-fit:contain; }
@media (max-width:600px){
  .footer-bottom{ flex-direction:column; text-align:center; gap:18px; }
  .footer-bottom > span{ order:1; }
  .bare3-sign{ order:2; flex-direction:column; gap:9px; }
  .bare3-medal{ width:62px; }
}

/* ===== تأثير تحميل الصفحة — Bare3 Preloader (مفهوم الشعار+حلقة + موتيف محاماة) ===== */
.bpre{ position:fixed; inset:0; z-index:9999; display:grid; place-items:center; gap:22px;
  background:radial-gradient(60% 50% at 50% 42%, rgb(201 169 75 / .10), transparent 60%), var(--green-deep);
  transition:opacity .6s var(--ease), visibility .6s var(--ease); }
.bpre.is-done{ opacity:0; visibility:hidden; pointer-events:none; }
.bpre__stage{ position:relative; width:128px; height:128px; display:grid; place-items:center; }
.bpre__ring{ position:absolute; inset:0; width:100%; height:100%; transform:rotate(-90deg); }
.bpre__track{ fill:none; stroke:rgb(241 236 225 / .12); stroke-width:3; }
.bpre__prog{ fill:none; stroke:var(--gold); stroke-width:3; stroke-linecap:round;
  stroke-dasharray:339; stroke-dashoffset:339; animation:bpreFill 1.7s var(--ease) forwards; }
@keyframes bpreFill{ to{ stroke-dashoffset:48; } }
.bpre__logo{ width:64px; height:auto; opacity:0; transform:scale(.72); position:relative; z-index:1;
  animation:bpreLogo 1s var(--ease) .15s forwards; }
@keyframes bpreLogo{ to{ opacity:1; transform:scale(1); } }
.bpre__shine{ position:absolute; inset:0; border-radius:50%; pointer-events:none; overflow:hidden; }
.bpre__shine::after{ content:""; position:absolute; inset:-20%;
  background:linear-gradient(115deg,transparent 42%,rgb(255 247 224 / .55) 50%,transparent 58%);
  background-size:250% 100%; background-position:210% 0;
  animation:bpreShine 1.5s ease-in-out .65s forwards; }
@keyframes bpreShine{ to{ background-position:-70% 0; } }
.bpre__motif{ position:absolute; inset-block-start:-16px; inset-inline-end:14px; width:30px; height:30px;
  transform-origin:62% 78%; opacity:0; animation:bpreGavel 1.6s var(--ease) .45s forwards; }
.bpre__motif path, .bpre__motif rect{ fill:var(--gold); }
@keyframes bpreGavel{ 0%{ opacity:0; transform:rotate(-34deg) translateY(-5px);} 50%{ opacity:.95; transform:rotate(-34deg);} 70%{ transform:rotate(9deg);} 82%{ transform:rotate(0);} 100%{ opacity:.95; transform:rotate(0);} }
.bpre__cap{ color:var(--ivory-soft); font-size:.92rem; letter-spacing:.05em; opacity:0;
  animation:bpreLogo .8s var(--ease) .5s forwards; }
body.bpre-lock{ overflow:hidden; }
@media (prefers-reduced-motion:reduce){
  .bpre__prog{ animation:none; stroke-dashoffset:48; }
  .bpre__logo,.bpre__cap{ animation:none; opacity:1; transform:none; }
  .bpre__shine,.bpre__motif{ display:none; }
  .bpre{ transition-duration:.01ms; }
}
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; }
.footer-brand img{ height:54px; margin-bottom:18px; }
.footer-brand p{ color:var(--ivory-soft); font-size:.94rem; max-width:300px; }
.footer-col h4{ font-family:var(--f-body); font-size:.86rem; letter-spacing:.18em; text-transform:uppercase; color:var(--gold); margin-bottom:18px; }
.footer-col a, .footer-col li{ color:var(--ivory-soft); font-size:.95rem; display:block; margin-bottom:11px; transition:color .3s; }
.footer-col a:hover{ color:var(--gold); }
.footer-col .phone{ direction:ltr; text-align:start; }
.footer-bottom{ display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; align-items:center;
  margin-top:48px; padding-top:24px; border-top:1px solid var(--green-line); color:var(--ivory-soft); font-size:.88rem; }
.footer-bottom .made{ color:var(--ivory-soft); }
.footer-bottom .made b{ color:var(--gold); }

/* ---------- 15) واتساب عائم ---------- */
.wa-float{ position:fixed; inset-block-end:24px; inset-inline-end:24px; z-index:55; width:58px; height:58px; border-radius:50%;
  background:linear-gradient(135deg,var(--gold),var(--gold-deep)); display:grid; place-items:center;
  box-shadow:0 10px 30px rgb(0 0 0 / .45), 0 0 26px rgb(201 169 75 / .35); transition:transform .3s var(--ease), box-shadow .3s; }
.wa-float:hover{ transform:scale(1.08) translateY(-2px); box-shadow:0 14px 36px rgb(0 0 0 / .5), 0 0 40px rgb(201 169 75 / .5); }
.wa-float svg{ width:27px; height:27px; color:#1a1408; }

/* ---------- 16) التجاوب ---------- */
@media (max-width:980px){
  .about-grid,.leader-grid{ grid-template-columns:1fr; }
  .services-grid,.branches-grid{ grid-template-columns:repeat(2,1fr); }
  .values-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .leader-photo{ margin-inline:auto; }
}
@media (max-width:760px){
  .nav, .header-cta .btn{ display:none; }
  .nav-toggle{ display:block; }
  .nav.open{ display:flex; position:fixed; inset:0; z-index:70; flex-direction:column; justify-content:center; align-items:center; gap:30px;
    background:rgb(9 20 15 / .97); backdrop-filter:blur(12px); font-size:1.4rem; }
  .nav.open a{ font-family:var(--f-head); }
  .nav-toggle.active span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2){ opacity:0; }
  .nav-toggle.active span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
  .stats-grid{ grid-template-columns:repeat(2,1fr); gap:36px 20px; }
  .stat:nth-child(3){ border-inline-start:0; }
  .stat + .stat{ border-inline-start:0; }
  .services-grid,.branches-grid,.values-grid,.team-grid,.footer-grid{ grid-template-columns:1fr; }
  .hero{ min-height:auto; padding-block:120px 70px; }
}

/* ---------- 17) احترام تقليل الحركة ---------- */
@media (prefers-reduced-motion:reduce){
  *{ animation-duration:.01ms !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
  .reveal{ opacity:1 !important; transform:none !important; }
  .hero h1 .line span{ transform:none !important; }
}
