/* =========================================================
   قالب "الصرح" — مقاول عام ترميم الرياض
   هوية بصرية فاتحة بالكامل — الجيل الثالث من التصميم
   لوحة الألوان: عاجي/رملي فاتح جداً (الخلفية الأساسية في كل مكان)
                + نحاسي دافئ (الأكشن والتمييز الرئيسي)
                + أخضر سلفي هادئ (لمسة ثانوية للتوازن)
   لا خلفيات داكنة ولا أسود إطلاقاً — التباين يُصنع بالألوان
   والحدود السميكة والظلال اللونية بدل الكتل المعتمة.
   لمسة هيكلية: زوايا مقصوصة (clip-path)، حدود سميكة ملوّنة،
   عناوين عملاقة بمسافات حروف واسعة، أشكال قطرية فاتحة.
   نفس أسماء الأصناف (classes) الأصلية — استبدال مباشر دون تعديل HTML
   ========================================================= */
:root{
  --navy:#3a3327;             /* نص داكن دافئ (ليس أسود) — للعناوين والنصوص فقط، لا يُستخدم كخلفية كبيرة أبداً */
  --navy-dark:#2a2419;        /* درجة أغمق قليلاً تُستخدم فقط لنص التركيز الصغير أو حدود، وليس كخلفية قسم */
  --blue:#c1611d;             /* نحاسي دافئ: اللون الأساسي للأكشن والتمييز */
  --blue-dark:#9c4d16;
  --teal:#4c8874;             /* أخضر سلفي هادئ: لمسة ثانوية */
  --teal-dark:#356152;
  --teal-soft:#e9f3ee;
  --whatsapp:#25d366;
  --bg-soft:#faf6ec;          /* عاجي فاتح جداً: الخلفية الأساسية للصفحة بالكامل */
  --panel:#f2ecda;            /* رملي فاتح: خلفيات الأقسام البديلة عن الكتل الداكنة */
  --accent-soft:#f7e8d8;      /* نحاسي فاتح جداً: خلفيات ناعمة للتمييز بدل الألوان الصلبة */
  --sage-soft:#eaf3ee;        /* أخضر فاتح جداً: خلفيات ناعمة بديلة */
  --surface:#ffffff;
  --ink:#3a3327;
  --ink-dim:#847e6c;
  --line:#e8e0c9;
  --card-radius:0px;          /* بدون استدارة إطلاقاً — حدّة هندسية مقصودة */
  --cut:18px;                 /* مقدار القص القطري الموحّد للزوايا */
  --font: "Tajawal", "Tahoma", sans-serif;
  --font-display: "Almarai", "Tajawal", sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

body{
  margin:0; font-family:var(--font); background:var(--bg-soft); color:var(--ink); line-height:1.75;
  -webkit-font-smoothing:antialiased;
}
a{ text-decoration:none; color:inherit; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }
:focus-visible{ outline:3px solid var(--blue); outline-offset:3px; }

.container{ max-width:1280px; margin-inline:auto; padding-inline:24px; }

/* ---------- خط العناوين المميز — عملاق وبمسافات واسعة ---------- */
.hero-text h1, .section-title, .why-title, .service-title, .article-title,
.brand-logo-box .brand-name, .footer-contact-title, .ng-page-hero h1,
.share-title, .sub-title, .hero-logo-card .logo-word{
  font-family:var(--font-display);
  letter-spacing:.5px;
}

/* ---------- Grid helpers ---------- */
.grid{ display:grid; gap:30px; }
.grid-2{ grid-template-columns:repeat(2, 1fr); }
.grid-3{ grid-template-columns:repeat(3, 1fr); }
.grid-4{ grid-template-columns:repeat(4, 1fr); }
@media (max-width:960px){ .grid-3, .grid-4{ grid-template-columns:repeat(2, 1fr); } }
@media (max-width:640px){ .grid-2, .grid-3, .grid-4{ grid-template-columns:1fr; } }

/* خلفية "مخطط هندسي" — شبكة خطوط فاتحة تحاكي رسومات الإنشاء على أرضية فاتحة */
.diamond-bg{
  background-color:var(--panel);
  background-image:
    linear-gradient(rgba(58,51,39,.06) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(58,51,39,.06) 1.5px, transparent 1.5px),
    linear-gradient(45deg, rgba(193,97,29,.07) 1px, transparent 1px);
  background-position:0 0, 0 0, 0 0;
  background-size:80px 80px, 80px 80px, 20px 20px;
}

/* شريط "تحذير الورش" — بألوان فاتحة نحاسي/سلفي بدل الداكن */
.ng-hazard-strip{
  height:14px; width:100%;
  background:repeating-linear-gradient(-45deg, var(--blue) 0 30px, var(--teal) 30px 60px);
  clip-path:polygon(0 0,100% 0,100% 60%,0 100%);
}

/* ---------- Top bar — أعرض وأثقل، بحد سفلي ملوّن بدل الداكن ---------- */
.ng-topbar{
  background:#fff; padding:18px 0; position:sticky; top:0; z-index:500;
  box-shadow:0 4px 20px rgba(58,51,39,.08);
  border-bottom:5px solid var(--blue);
}
.ng-topbar .container{ display:flex; align-items:center; justify-content:space-between; gap:18px; }

.brand-logo-box{ display:flex; align-items:center; gap:14px; }
.brand-logo-box img{ width:58px; height:58px; object-fit:contain; background:var(--accent-soft); padding:5px; clip-path:polygon(0 0,100% 0,100% 78%,78% 100%,0 100%); border:2px solid var(--blue); }
.brand-logo-box .brand-name{ color:var(--navy); font-weight:900; font-size:17px; margin-bottom:2px; text-transform:uppercase; }
.brand-logo-box .brand-phone{ color:var(--blue-dark); font-weight:800; font-size:15px; }

.nav-scroll{ display:flex; align-items:center; gap:2px; overflow-x:auto; white-space:nowrap; flex:1; }
.nav-scroll a{ flex:0 0 auto; color:#5c5646; font-weight:700; padding:10px 16px; transition:.2s; font-size:14.5px; border-bottom:3px solid transparent; }
.nav-scroll a:hover, .nav-scroll a.is-active{ background:var(--accent-soft); color:var(--blue-dark); border-bottom-color:var(--blue); }
.nav-scroll a.home-link{ color:var(--navy); font-weight:900; }
.nav-scroll::-webkit-scrollbar{ height:5px; }
.nav-scroll::-webkit-scrollbar-thumb{ background:#ccc; }
@media (max-width:900px){ .nav-scroll{ display:none; } }

.menu-btn{
  display:none; background:var(--blue); color:#fff;
  border:2px solid var(--blue); width:50px; height:50px; align-items:center; justify-content:center;
  box-shadow:6px 6px 0 var(--teal-soft); font-size:19px; flex:none;
}
@media (max-width:900px){ .menu-btn{ display:flex; } }

/* ---------- Sidebar — فاتحة بالكامل ---------- */
.ng-sidebar{
  position:fixed; top:0; inset-inline-end:-300px; width:300px; height:100%; background:#fff;
  box-shadow:-10px 0 30px rgba(58,51,39,.16); transition:inset-inline-end .35s ease; z-index:999; padding:28px 22px; overflow-y:auto;
  border-inline-start:6px solid var(--blue);
}
.ng-sidebar.is-open{ inset-inline-end:0; }
.ng-sidebar__head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; }
.ng-sidebar h5{ color:var(--navy); font-weight:900; margin:0; font-size:18px; text-transform:uppercase; }
.ng-sidebar__close{ background:var(--accent-soft); border:none; width:36px; height:36px; color:var(--blue-dark); font-size:16px; }
.ng-sidebar a{ display:block; padding:14px 8px; color:var(--ink-dim); border-bottom:1px solid var(--line); font-weight:600; }
.ng-sidebar a:hover{ background:var(--accent-soft); color:var(--blue-dark); padding-inline-start:16px; }

.ng-overlay{
  position:fixed; inset:0; background:rgba(58,51,39,.45); display:none; z-index:998;
}
.ng-overlay.is-open{ display:block; }

/* ---------- Hero — ضخم جداً، مقسوم بخط قطري حاد بين درجتين فاتحتين ---------- */
.ng-hero{
  padding:90px 0 100px; position:relative; overflow:hidden;
  background:
    linear-gradient(115deg, var(--sage-soft) 0%, var(--accent-soft) 42%, var(--bg-soft) 42.3%, var(--bg-soft) 100%);
}
.ng-hero::after{
  content:""; position:absolute; inset-inline-start:0; top:0; bottom:0; width:42%;
  background-image:repeating-linear-gradient(-45deg, rgba(193,97,29,.1) 0 2px, transparent 2px 26px);
  pointer-events:none;
}
.ng-hero-slide{ display:none; }
.ng-hero-slide.is-active{ display:block; }

.hero-row{ display:grid; grid-template-columns:1fr 1.15fr; gap:0; align-items:center; position:relative; z-index:2; }
@media (max-width:860px){ .hero-row{ grid-template-columns:1fr; gap:36px; } .ng-hero{ padding:56px 0 70px; } .ng-hero::after{ display:none; } .ng-hero{ background:linear-gradient(180deg, var(--sage-soft), var(--accent-soft) 55%, var(--bg-soft) 55%); } }

.hero-logo-card{
  background:#fff; padding:56px 34px; text-align:center;
  box-shadow:14px 14px 0 var(--accent-soft); height:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  position:relative; border:2px solid var(--line);
}
.hero-logo-card::before{
  content:""; position:absolute; top:0; inset-inline-start:0; width:100%; height:10px;
  background:var(--blue);
}
.hero-logo-card img{ max-width:210px; margin-bottom:14px; }
.hero-logo-card .logo-word{ color:var(--navy); font-weight:900; font-size:22px; margin-top:12px; text-transform:uppercase; letter-spacing:1px; }

.hero-text{ text-align:center; padding-inline-start:0; }
@media (min-width:861px){ .hero-text{ text-align:right; padding-inline-start:56px; } }
.hero-text h1{ color:var(--navy); font-weight:900; font-size:clamp(32px,5vw,48px); line-height:1.15; text-transform:uppercase; }

.ng-divider{ display:flex; align-items:center; margin:20px 0 24px; }
.ng-divider.centered{ justify-content:center; }
.ng-divider span{ height:6px; width:80px; background:var(--blue); }
.ng-divider i{ color:var(--teal-dark); font-size:20px; margin:0 16px; }

.sub-title{ color:var(--blue-dark); font-weight:900; font-size:21px; margin-bottom:16px; text-transform:uppercase; letter-spacing:1px; }
.desc{ line-height:1.95; color:var(--ink-dim); font-size:16px; }

.hero-actions{ margin-top:28px; display:flex; flex-wrap:wrap; gap:14px; }
@media (min-width:861px){ .hero-actions{ justify-content:flex-end; } }
@media (max-width:860px){ .hero-actions{ justify-content:center; } }

.btn-call, .btn-whatsapp, .ng-btn{
  border:2px solid transparent; padding:15px 32px; font-weight:800; font-size:15px;
  display:inline-flex; align-items:center; gap:9px; transition:.2s; text-transform:uppercase; letter-spacing:.5px;
  clip-path:polygon(0 0,100% 0,100% 70%,90% 100%,0 100%);
}
.btn-call{ background:var(--blue); color:#fff; }
.btn-call:hover{ color:#fff; background:var(--blue-dark); transform:translate(-3px,-3px); box-shadow:5px 5px 0 var(--teal-soft); }
.btn-whatsapp{ background:var(--whatsapp); color:#fff; }
.btn-whatsapp:hover{ color:#fff; transform:translate(-3px,-3px); box-shadow:5px 5px 0 var(--accent-soft); }
.ng-btn-outline{ background:transparent; color:var(--navy); border-color:var(--navy); }
.ng-btn-outline:hover{ background:var(--blue); color:#fff; border-color:var(--blue); }

.hero-dots{ display:flex; justify-content:center; gap:10px; margin-top:28px; }
.hero-dots button{ width:34px; height:5px; border:none; background:rgba(58,51,39,.2); padding:0; cursor:pointer; transition:.2s; }
.hero-dots button.is-active{ background:var(--blue); width:52px; }

/* ---------- Section titles — عملاقة وبأرقام/خطوط مرافقة ---------- */
.section-title{ text-align:center; color:var(--navy); font-weight:900; font-size:clamp(28px,4vw,40px); margin-bottom:6px; text-transform:uppercase; letter-spacing:.5px; }
.section-lead{ text-align:center; color:var(--ink-dim); font-size:16px; max-width:680px; margin:0 auto 10px; }

/* ---------- Services ---------- */
.ng-services{ padding:48px 0 50px; }

.service-card{
  background:#fff; overflow:hidden;
  box-shadow:0 4px 0 var(--line); transition:transform .3s, box-shadow .3s;
  position:relative; border:2px solid var(--line); border-bottom:none;
}
.service-card:hover{ transform:translateY(-8px); box-shadow:0 10px 0 var(--blue); border-color:var(--blue); }
/* شارة زاوية بدل الأيقونة المصغّرة — إشارة أضخم لطابع الترقيم الهندسي، بلون نحاسي فاتح */
.service-card::before{
  content:""; position:absolute; top:0; inset-inline-start:0; width:56px; height:56px; z-index:2;
  background:var(--blue);
  clip-path:polygon(0 0,100% 0,0 100%);
}
.service-img{ overflow:hidden; aspect-ratio:4/3; position:relative; }
.service-img img{ width:100%; height:100%; object-fit:cover; transition:transform .45s; }
.service-card:hover .service-img img{ transform:scale(1.08); }
.service-body{ padding:22px 18px 28px; text-align:center; border-top:4px solid var(--blue); }
.service-title{ color:var(--navy); font-weight:900; font-size:19px; margin-bottom:16px; text-transform:uppercase; }
.service-btn{
  background:var(--blue); color:#fff;
  padding:12px 26px; display:inline-flex; align-items:center; gap:9px; font-weight:700; font-size:14px;
  clip-path:polygon(0 0,100% 0,100% 70%,88% 100%,0 100%);
}
.service-btn:hover{ background:var(--blue-dark); color:#fff; }

/* ---------- Offers styled as article cards ---------- */
.ng-offers{ padding:26px 0 50px; }

.article-card{
  background:#fff; overflow:visible;
  box-shadow:8px 8px 0 var(--teal-soft); height:100%; position:relative; border:2px solid var(--line);
}
.article-img-wrap{ position:relative; overflow:hidden; aspect-ratio:16/10; border-bottom:3px solid var(--blue); }
.article-img-wrap img{ width:100%; height:100%; object-fit:cover; }
.article-badge{
  position:absolute; top:0; inset-inline-end:0; background:var(--blue); color:#fff;
  font-size:12px; font-weight:800; padding:8px 16px; text-transform:uppercase; letter-spacing:.5px;
}
.article-avatar{
  position:absolute; bottom:-26px; inset-inline-start:50%; transform:translateX(50%);
  width:52px; height:52px; background:var(--blue); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:20px;
  border:4px solid #fff; clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);
}
.article-body{ padding:38px 20px 26px; text-align:center; }
.article-title{ color:var(--navy); font-weight:900; font-size:17.5px; line-height:1.5; margin-bottom:14px; }
.article-desc{ color:var(--ink-dim); font-size:14.5px; line-height:1.85; margin-bottom:16px; }
.article-more{ color:var(--blue-dark); font-weight:800; font-size:14.5px; text-transform:uppercase; }
.article-more:hover{ color:var(--blue); }

/* ---------- Why us ---------- */
.ng-why-us{ padding:56px 0 26px; text-align:center; }
.why-title{ color:var(--navy); font-size:clamp(26px,3.6vw,34px); font-weight:900; margin-bottom:10px; text-transform:uppercase; }

.why-card{
  background:var(--sage-soft); padding:40px 26px;
  box-shadow:none; height:100%;
  border-top:6px solid var(--teal); position:relative;
}
.why-icon-circle{
  width:68px; height:68px; background:var(--teal); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:26px; margin:0 auto 20px;
  clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);
}
.why-card h4{ color:var(--navy); font-weight:800; margin-bottom:14px; font-size:18px; text-transform:uppercase; }
.why-card p{ color:var(--ink-dim); line-height:1.85; font-size:14.5px; }

/* ---------- Stats strip — شريط أرقام ضخم مباشرة أسفل الهيرو، بخلفية فاتحة ---------- */
.ng-stats{
  background:var(--accent-soft);
  position:relative;
  border-top:2px solid var(--line);
  border-bottom:2px solid var(--line);
}
.ng-stats .container{
  display:grid; grid-template-columns:repeat(4,1fr); gap:0;
}
.stat-block{
  text-align:center; padding:38px 16px; border-inline-end:2px solid rgba(58,51,39,.12);
}
.stat-block:last-child{ border-inline-end:none; }
.stat-block strong{
  display:block; font-family:var(--font-display); font-size:clamp(32px,4vw,50px); font-weight:900; color:var(--blue-dark); line-height:1;
}
.stat-block span{ display:block; margin-top:12px; color:var(--ink-dim); font-size:14px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; }
@media (max-width:768px){
  .ng-stats .container{ grid-template-columns:repeat(2,1fr); }
  .stat-block{ border-bottom:2px solid rgba(58,51,39,.12); }
}

/* ---------- CTA Banner — قسم دعوة ضخم بقصّ قطري، بخلفية فاتحة وحدود نحاسية بارزة ---------- */
.ng-cta-banner{
  background:var(--sage-soft);
  padding:64px 0; position:relative; overflow:hidden;
  clip-path:polygon(0 4%,100% 0,100% 96%,0 100%);
  margin:14px 0;
  border:3px solid var(--blue);
}
.ng-cta-banner::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image:repeating-linear-gradient(-45deg, rgba(193,97,29,.05) 0 2px, transparent 2px 26px);
}
.ng-cta-banner .container{ display:flex; align-items:center; justify-content:space-between; gap:26px; flex-wrap:wrap; position:relative; z-index:2; }
.ng-cta-banner h3{ color:var(--navy); font-size:clamp(22px,3vw,30px); font-weight:900; text-transform:uppercase; }
.ng-cta-banner p{ color:var(--ink-dim); margin-top:8px; font-size:15px; }
.ng-cta-banner .hero-actions{ margin-top:0; }
.ng-cta-banner .ng-btn-outline{ color:var(--navy); border-color:var(--navy); }
.ng-cta-banner .ng-btn-outline:hover{ background:var(--navy); color:#fff; }
@media (max-width:700px){ .ng-cta-banner .container{ justify-content:center; text-align:center; } }

/* ---------- زر اتصال سريع داخل الهيدر (يظهر على الشاشات الواسعة فقط) ---------- */
.topbar-cta{ display:none; }
@media (min-width:901px){ .topbar-cta{ display:inline-flex; margin-inline-start:16px; padding:12px 22px; font-size:13.5px; } }

/* ---------- Share ---------- */
.ng-share{ text-align:center; padding:14px 0 46px; }
.share-title{ color:var(--navy); font-weight:900; font-size:22px; margin-bottom:24px; text-transform:uppercase; }
.share-icons{ display:flex; justify-content:center; gap:18px; }
.share-icons a{
  width:50px; height:50px; display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:18px; clip-path:polygon(0 0,100% 0,100% 70%,85% 100%,0 100%);
}
.share-icons a.wa{ background:var(--whatsapp); }
.share-icons a.tw{ background:var(--teal); }
.share-icons a.fb{ background:var(--blue); }

/* ---------- Keywords tag cloud ---------- */
.ng-keywords{ padding:24px 0 12px; text-align:center; }
.ng-keywords a{
  display:inline-block; margin:6px; padding:10px 20px; background:#fff; border:2px solid var(--line);
  color:var(--navy); font-size:13.5px; font-weight:700; transition:.2s;
}
.ng-keywords a:hover{ background:var(--accent-soft); color:var(--blue-dark); border-color:var(--blue); }

/* ---------- Breadcrumb / page hero (inner pages) — عملاق وفاتح، بحدود نحاسية بدل الخلفية الداكنة ---------- */
.ng-page-hero{
  background:
    repeating-linear-gradient(-45deg, rgba(193,97,29,.05) 0 24px, transparent 24px 48px),
    linear-gradient(120deg, var(--sage-soft) 0%, var(--accent-soft) 100%);
  padding:70px 0 54px; position:relative; overflow:hidden;
  border-bottom:8px solid var(--blue);
}
.ng-page-hero h1{ color:var(--navy); font-size:clamp(28px,4vw,42px); font-weight:900; text-transform:uppercase; }
.ng-page-hero p{ color:var(--ink-dim); margin-top:12px; max-width:720px; font-size:15.5px; }
.ng-breadcrumbs{ font-size:13.5px; color:var(--blue-dark); margin-bottom:16px; display:flex; gap:6px; flex-wrap:wrap; font-weight:700; text-transform:uppercase; }
.ng-breadcrumbs a{ color:var(--ink-dim); }
.ng-breadcrumbs a:hover{ color:var(--navy); }

/* ---------- Filters / pagination (works gallery) ---------- */
.ng-filters{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:30px; }
.ng-filter-pill{ padding:11px 22px; border:2px solid var(--navy); font-size:13.5px; font-weight:800; color:var(--navy); background:#fff; text-transform:uppercase; }
.ng-filter-pill:hover{ background:var(--teal-soft); }
.ng-filter-pill.is-active{ background:var(--blue); border-color:var(--blue); color:#fff; }

.ng-pagination{ display:flex; justify-content:center; gap:8px; margin-top:40px; flex-wrap:wrap; }
.ng-pagination a, .ng-pagination span{
  min-width:44px; height:44px; padding-inline:12px; display:flex; align-items:center; justify-content:center;
  border:2px solid var(--line); font-weight:800; font-size:14px; color:var(--navy);
}
.ng-pagination .is-active{ background:var(--blue); border-color:var(--blue); color:#fff; }
.ng-pagination .is-disabled{ opacity:.35; pointer-events:none; }

/* ---------- Gallery (works) ---------- */
.ng-gallery-item{ overflow:hidden; aspect-ratio:4/3; position:relative; box-shadow:0 0 0 2px var(--line); cursor:zoom-in; }
.ng-gallery-item img{ width:100%; height:100%; object-fit:cover; transition:transform .45s; }
.ng-gallery-item:hover img{ transform:scale(1.09); }
.ng-gallery-item:hover{ box-shadow:0 0 0 3px var(--blue); }
.ng-gallery-item__overlay{
  position:absolute; inset:0; background:linear-gradient(0deg, rgba(58,51,39,.88) 0%, rgba(58,51,39,0) 60%);
  display:flex; align-items:flex-end; padding:16px; opacity:0; transition:opacity .25s ease;
}
.ng-gallery-item:hover .ng-gallery-item__overlay{ opacity:1; }
.ng-gallery-item__overlay span{ color:#fff; font-size:13.5px; font-weight:800; text-transform:uppercase; }

/* ---------- Lightbox (خلفية داكنة شفافة لعرض الصور فقط — استخدام وظيفي معتاد وليس هوية لونية) ---------- */
.ng-lightbox{ position:fixed; inset:0; background:rgba(42,36,25,.94); z-index:1100; display:none; align-items:center; justify-content:center; padding:30px; }
.ng-lightbox.is-open{ display:flex; }
.ng-lightbox img{ max-width:min(1000px,92vw); max-height:86vh; border:3px solid #fff; box-shadow:0 30px 70px rgba(42,36,25,.4); }
.ng-lightbox__close, .ng-lightbox__nav{
  position:absolute; background:var(--blue); border:none; color:#fff;
  width:48px; height:48px; display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:19px;
}
.ng-lightbox__close{ top:20px; inset-inline-end:20px; }
.ng-lightbox__prev{ inset-inline-start:20px; top:50%; transform:translateY(-50%); }
.ng-lightbox__next{ inset-inline-end:20px; top:50%; transform:translateY(-50%); }

/* ---------- Forms (contact) ---------- */
.ng-card{ background:#fff; box-shadow:10px 10px 0 var(--teal-soft); padding:34px; border:2px solid var(--line); }
.ng-field{ margin-bottom:20px; }
.ng-field label{ display:block; font-size:13.5px; font-weight:800; color:var(--navy); margin-bottom:9px; text-transform:uppercase; letter-spacing:.4px; }
.ng-field input, .ng-field select, .ng-field textarea{
  width:100%; padding:14px 16px; border:2px solid var(--line); font-family:inherit; font-size:14.5px; color:var(--ink); background:#fff;
}
.ng-field input:focus, .ng-field select:focus, .ng-field textarea:focus{ border-color:var(--blue); }
.ng-field textarea{ min-height:120px; resize:vertical; }
.ng-alert{ padding:16px 20px; margin-bottom:20px; font-size:14.5px; font-weight:800; border-inline-start:5px solid; }
.ng-alert-ok{ background:var(--teal-soft); color:var(--teal-dark); border-color:var(--teal-dark); }
.ng-alert-err{ background:#fdecec; color:#b3261e; border-color:#b3261e; }
.ng-info-row{ display:flex; gap:14px; align-items:flex-start; margin-bottom:18px; }
.ng-info-row i{ width:42px; height:42px; background:var(--accent-soft); color:var(--blue-dark); display:flex; align-items:center; justify-content:center; flex:none; }
.ng-info-row h4{ font-size:15px; color:var(--navy); margin-bottom:3px; font-weight:800; text-transform:uppercase; }
.ng-info-row p, .ng-info-row a{ font-size:14.5px; color:var(--ink-dim); }

/* ---------- Footer — فاتح بالكامل بدل الكتلة الداكنة ---------- */
.footer-dark{
  background:var(--panel);
  color:var(--ink); padding:60px 0; border-top:8px solid var(--blue);
}
.footer-map iframe, .footer-map .map-placeholder{ width:100%; height:300px; border:2px solid var(--line); }
.footer-contact-title{ color:var(--blue-dark); font-weight:900; font-size:26px; margin-bottom:18px; text-transform:uppercase; }
.footer-contact-text{ color:var(--ink-dim); line-height:1.95; margin-bottom:22px; }
.footer-icon-row{ display:flex; gap:14px; margin-bottom:20px; }
.footer-icon-row span{ color:var(--ink-dim); font-weight:800; align-self:center; text-transform:uppercase; font-size:13.5px; }
.footer-icons{ display:flex; gap:12px; }
.footer-icons a{ width:46px; height:46px; background:var(--blue); color:#fff; display:flex; align-items:center; justify-content:center; font-size:18px; }
.footer-icons a:hover{ background:var(--blue-dark); }
.footer-links{ margin-top:22px; }
.footer-links a{ color:var(--ink-dim); font-size:13.5px; display:inline-block; margin-inline-end:16px; margin-bottom:10px; }
.footer-links a:hover{ color:var(--blue-dark); }

.copyright-bar{ background:#fff; text-align:center; padding:18px; font-size:13.5px; color:var(--ink-dim); border-top:1px solid var(--line); }
.copyright-bar strong{ color:var(--blue-dark); }

@media (max-width:860px){
  .footer-dark .grid-2{ grid-template-columns:1fr; }
  .footer-contact-title, .footer-contact-text, .footer-icon-row, .footer-icons{ text-align:center; justify-content:center; }
}

/* ---------- Floating buttons ---------- */
.fab-wrap{ position:fixed; bottom:26px; inset-inline-start:22px; z-index:900; display:flex; flex-direction:column; align-items:center; gap:14px; }
.fab-wrap.is-hidden{ display:none; }
.fab-circle{ width:58px; height:58px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:22px; box-shadow:5px 5px 0 rgba(58,51,39,.18); border:none; }
.fab-circle.call{ background:var(--blue); }
.fab-circle.wat{ background:var(--whatsapp); }
.fab-circle.close{ background:var(--teal); font-size:17px; cursor:pointer; clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%); }
@media (max-width:767px){ .fab-wrap{ bottom:18px; inset-inline-start:16px; } }

/* ---------- Reveal on scroll ---------- */
.ng-reveal{ opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s ease; }
.ng-reveal.is-visible{ opacity:1; transform:translateY(0); }

/* ---------- 404 ---------- */
.ng-error-page{ min-height:55vh; display:flex; align-items:center; justify-content:center; text-align:center; padding:40px 20px; }
.ng-error-page h1{ font-size:clamp(64px,11vw,130px); color:var(--blue); font-weight:900; }