/* ==========================================================================
   pages/industries.css — صفحة القطاعات
   ========================================================================== */

body.page-industries{
  --gold:#d9aa4b;
  --gold-light:#f1cb74;
  --gold-dark:#8c641e;
  --black:#060707;
  --dark:#0d0f0f;
  --dark-2:#151717;
  --cream:#f5f1e9;
  --text:#252525;
  --muted:#6e6a63;
  --line:rgba(217,170,75,.44);
  --container:1180px;

  background:var(--black);
  color:#fff;
  line-height:1.8;
}

body.page-industries main .container{width:min(calc(100% - 34px),1180px);margin:auto}

body.page-industries .reveal{transform:translateY(22px);transition:opacity .65s ease,transform .65s ease}

/* ---------- عناصر عامة ---------- */
body.page-industries .section{padding:68px 0}
body.page-industries .section-title{text-align:center;margin-bottom:34px}
body.page-industries .section-title h2{font-size:clamp(28px,3vw,42px);line-height:1.35}

body.page-industries .section-title .line{
  display:block;
  width:58px;
  height:3px;
  margin:13px auto 0;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
}

body.page-industries .btn{
  min-height:48px;
  padding:0 25px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:1px solid var(--gold);
  transition:.3s ease;
  cursor:pointer;
}

body.page-industries .btn:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,0,0,.25)}
body.page-industries .btn-gold{background:linear-gradient(135deg,var(--gold-light),var(--gold));color:#18130b}
body.page-industries .btn-dark{background:rgba(0,0,0,.4);color:#fff}

body.page-industries .eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--gold);
  padding:7px 12px;
  color:var(--gold-light);
  font-size:12px;
  margin-bottom:18px;
}

/* ---------- الواجهة ---------- */
body.page-industries .hero{
  min-height:430px;
  padding:72px 0;
  position:relative;
  background:
    linear-gradient(to right,rgba(4,5,5,.06) 0%,rgba(4,5,5,.32) 25%,rgba(4,5,5,.6) 50%,rgba(4,5,5,.8) 75%,rgba(4,5,5,.82) 100%),
    url("../../images/home/hero-home.webp") center/cover no-repeat;
  display:flex;
  align-items:center;
  overflow:hidden;
}

[dir="ltr"] body.page-industries .hero{
  background:
    linear-gradient(to left,rgba(4,5,5,.06) 0%,rgba(4,5,5,.32) 25%,rgba(4,5,5,.6) 50%,rgba(4,5,5,.8) 75%,rgba(4,5,5,.82) 100%),
    url("../../images/home/hero-home.webp") center/cover no-repeat;
}

body.page-industries .hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 68% 18%,rgba(217,170,75,.2),transparent 35%);
}

body.page-industries .hero-content{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
}

body.page-industries .hero-copy{max-width:600px}
body.page-industries .hero h1{font-size:clamp(48px,6vw,78px);line-height:1.12;color:var(--gold-light);margin-bottom:16px;text-shadow:0 2px 14px rgba(0,0,0,.65),0 1px 4px rgba(0,0,0,.85)}
body.page-industries .hero p{color:#e3e0d8;font-size:17px;line-height:2;max-width:570px;text-shadow:0 2px 10px rgba(0,0,0,.6),0 1px 3px rgba(0,0,0,.8)}
body.page-industries .hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}

/* ---------- المقدمة والإحصائيات ---------- */
body.page-industries .intro{background:var(--cream);color:var(--text);padding:44px 0 36px}

body.page-industries .intro p{
  max-width:780px;
  margin:0 auto;
  color:var(--muted);
  text-align:center;
  font-size:14px;
  line-height:2;
}

body.page-industries .intro-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:32px}

body.page-industries .intro-stat{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:20px 22px;
  border:1px solid rgba(120,90,34,.16);
  border-radius:10px;
  background:rgba(255,255,255,.42);
}

body.page-industries .intro-stat i{color:var(--gold);font-size:36px}
body.page-industries .intro-stat strong{display:block;font-size:22px;color:#171717}
body.page-industries .intro-stat span{font-size:10px;color:#7c766d;line-height:1.4}

/* ---------- القطاعات ---------- */
body.page-industries .industries{background:linear-gradient(180deg,#111313,#090b0b);padding:28px 0 34px}

body.page-industries .featured-industry{
  display:grid;
  grid-template-columns:1fr 1.05fr;
  gap:34px;
  align-items:center;
  margin-bottom:18px;
}

body.page-industries .featured-image{
  height:320px;
  overflow:hidden;
  border:1px solid var(--gold);
  clip-path:polygon(0 0,88% 0,100% 17%,100% 100%,0 100%);
}

body.page-industries .featured-image img{height:100%;object-fit:cover}
body.page-industries .featured-copy .num{color:var(--gold);font-size:18px}
body.page-industries .featured-copy h2{color:var(--gold-light);font-size:32px;line-height:1.3;margin:3px 0}
body.page-industries .featured-copy h3{font-size:20px;color:#d8b260;margin-bottom:12px}
body.page-industries .featured-copy p{font-size:13px;color:#c7c4bd;line-height:2}
body.page-industries .featured-copy .btn{margin-top:16px}

body.page-industries .solutions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}

body.page-industries .solution{
  min-width:145px;
  border:1px solid rgba(217,170,75,.26);
  background:#171919;
  padding:12px;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:11px;
  color:#d6d1c7;
}

body.page-industries .solution i{color:var(--gold);font-size:23px}

body.page-industries .sector-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  grid-auto-rows:210px;
  gap:8px;
}

body.page-industries .sector-card{
  position:relative;
  overflow:hidden;
  border:1px solid var(--gold);
  background:#111;
  transition:.35s;
}

body.page-industries .sector-card.large{grid-column:span 3}
body.page-industries .sector-card.medium{grid-column:span 2}
body.page-industries .sector-card img{height:100%;object-fit:cover;transition:.5s}

body.page-industries .sector-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(4,5,5,.92),rgba(4,5,5,.2));
}

body.page-industries .sector-card:hover img{transform:scale(1.07)}

body.page-industries .sector-content{
  position:absolute;
  inset:0;
  z-index:2;
  padding:20px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}

body.page-industries .sector-content .num{color:var(--gold);font-size:16px}
body.page-industries .sector-content h3{font-size:20px;margin:4px 0}
body.page-industries .sector-content h4{color:var(--gold-light);font-size:13px;margin-bottom:6px}
body.page-industries .sector-content p{font-size:11px;color:#e0ddd5;line-height:1.8;max-width:270px}
body.page-industries .sector-content .arrow{margin-top:8px;color:var(--gold)}

/* ---------- مسار العمل ---------- */
body.page-industries .flow{background:linear-gradient(90deg,#432f11,#d7a94b,#4b3412);padding:30px 0;color:#fff}
body.page-industries .flow h2{text-align:center;font-size:28px;margin-bottom:22px}
body.page-industries .flow-list{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
body.page-industries .flow-item{display:flex;align-items:center;gap:16px;position:relative}

body.page-industries .flow-item:not(:last-child)::after{
  content:"";
  position:absolute;
  left:-15px;
  top:50%;
  width:28px;
  border-top:2px dotted rgba(255,255,255,.5);
}

body.page-industries .flow-item i{font-size:36px;color:#f8d98d}
body.page-industries .flow-item strong{display:block;font-size:15px}
body.page-industries .flow-item p{font-size:11px;color:#efe7d6}

/* ---------- حلول حسب حجم الأعمال ---------- */
body.page-industries .business{background:var(--cream);color:var(--text)}
body.page-industries .business-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}

body.page-industries .business-card{
  display:grid;
  grid-template-columns:70px 1fr;
  gap:18px;
  padding:8px 18px;
  border-left:1px solid rgba(150,110,40,.23);
}

body.page-industries .business-card:last-child{border-left:0}
body.page-industries .business-card i{font-size:48px;color:var(--gold)}
body.page-industries .business-card h3{font-size:18px;margin-bottom:7px}
body.page-industries .business-card p{font-size:12px;color:#716d66;line-height:1.8}

body.page-industries .checks{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:10px;
  font-size:10px;
  color:#6c655a;
}

body.page-industries .checks span::before{content:"✓";color:var(--gold);margin-left:5px}

/* ---------- دعوة للتواصل ---------- */
body.page-industries .sector-cta{
  min-height:210px;
  display:flex;
  align-items:center;
  background:
    linear-gradient(90deg,rgba(4,5,5,.2),rgba(4,5,5,.94) 56%),
    url("../../images/about/about-warehouse.webp") center/cover no-repeat;
}

body.page-industries .sector-cta .container{display:flex;align-items:center;justify-content:flex-start}
body.page-industries .cta-copy{max-width:520px}
body.page-industries .cta-copy h2{font-size:34px;color:var(--gold-light);margin-bottom:8px}
body.page-industries .cta-copy p{font-size:13px;color:#d8d5ce;line-height:1.9}
body.page-industries .cta-buttons{display:flex;gap:14px;flex-wrap:wrap;margin-top:18px}

/* ==========================  الاستجابة  ========================== */
@media(max-width:980px){
  body.page-industries .sector-grid{grid-template-columns:repeat(4,1fr)}
  body.page-industries .sector-card.large,
  body.page-industries .sector-card.medium{grid-column:span 2}
}

@media(max-width:820px){
  body.page-industries .hero-content{grid-template-columns:1fr}
  body.page-industries .featured-industry{grid-template-columns:1fr}
  body.page-industries .intro-stats{grid-template-columns:repeat(2,1fr);gap:16px}
  body.page-industries .sector-grid{grid-template-columns:repeat(2,1fr)}
  body.page-industries .sector-card.large,
  body.page-industries .sector-card.medium{grid-column:span 1}
  body.page-industries .flow-list,
  body.page-industries .business-grid{grid-template-columns:1fr}
  body.page-industries .flow-item:not(:last-child)::after{display:none}
}

@media(max-width:560px){
  body.page-industries main .container{width:min(calc(100% - 24px),1180px)}
  body.page-industries .hero{min-height:560px;padding:56px 0}
  body.page-industries .hero h1{font-size:48px}
  body.page-industries .hero-actions,
  body.page-industries .cta-buttons{display:grid}
  body.page-industries .intro-stats{grid-template-columns:1fr;gap:12px}
  body.page-industries .sector-grid{grid-template-columns:1fr}
  body.page-industries .featured-image{height:260px}
  body.page-industries .business-card{grid-template-columns:55px 1fr}
  body.page-industries .sector-cta{padding:48px 0}
}
