/*
Theme Name: Alamteaz
Theme URI: https://alamteaz.local
Author: Ahmed Gamal
Description: قالب ووردبريس مخصص لشركة الامتياز العربية للمقاولات — صفحة هبوط عربية RTL مع معرض أعمال، خدمات، قطاعات، وعملاء قابلة للإدارة بالكامل من لوحة التحكم.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alamteaz
Tags: rtl-language-support, one-column, custom-logo, custom-menu
*/

/* ============================================================
   شركة الامتياز العربية للمقاولات — Stylesheet
   Vanilla CSS · RTL · Brand: Navy #131b4d / Red #ac172c / Gold
   ============================================================ */

:root {
  --navy: #131b4d;
  --navy-2: #0d1338;
  --navy-3: #1c2566;
  --red: #ac172c;
  --red-2: #8e1324;
  --gold: #d9a54e;
  --gold-2: #e8c07a;
  --paper: #f7f6f2;
  --white: #ffffff;
  --ink: #232a3d;
  --muted: #5c6478;
  --line: #e6e4dd;
  --wa: #25d366;

  --font-head: "Changa", sans-serif;
  --font-body: "Tajawal", sans-serif;

  --container: 1220px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 6px 18px rgba(19, 27, 77, 0.08);
  --shadow-md: 0 14px 40px rgba(19, 27, 77, 0.14);
  --shadow-lg: 0 24px 70px rgba(13, 19, 56, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.35; color: var(--navy); }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
section[id] { scroll-margin-top: 84px; }

.ico {
  width: 1.35em; height: 1.35em;
  fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.ico--fill { fill: currentColor; stroke: none; }

::selection { background: var(--red); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  padding: 0.8rem 1.9rem; border-radius: 999px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 26px rgba(172, 23, 44, 0.35); }
.btn--primary:hover { background: var(--red-2); box-shadow: 0 16px 34px rgba(172, 23, 44, 0.45); }

.btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.55); backdrop-filter: blur(4px); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.btn--ghost .ico { transition: transform 0.3s var(--ease); }
.btn--ghost:hover .ico { transform: translateX(-5px); }

.btn--outline { color: var(--navy); border: 1.5px solid rgba(19, 27, 77, 0.35); }
.btn--outline:hover { border-color: var(--navy); background: var(--navy); color: #fff; }

.btn--outline-light { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.6); }
.btn--outline-light:hover { background: #fff; color: var(--navy); }

.btn--whatsapp { background: var(--wa); color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35); }
.btn--whatsapp:hover { background: #1fb958; }

.btn--block { width: 100%; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  transition: opacity 0.6s ease, visibility 0.6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__logo { width: min(240px, 55vw); animation: pre-pulse 1.6s ease-in-out infinite; }
.preloader__bar { width: min(220px, 50vw); height: 3px; background: rgba(255, 255, 255, 0.15); border-radius: 99px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 40%; background: var(--gold); border-radius: 99px; animation: pre-slide 1.1s ease-in-out infinite; }

@keyframes pre-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes pre-slide { 0% { transform: translateX(160%); } 100% { transform: translateX(-420%); } }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; inset-inline-start: 0; z-index: 210;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; inset-inline: 0; z-index: 200;
  padding-block: 1.1rem;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.header__brand { position: relative; display: block; height: 54px; aspect-ratio: 548 / 338; }
.header__logo { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: contain; transition: opacity 0.35s; }
.header__logo--dark { opacity: 0; }
.header__logo--light { opacity: 1; }

.header--scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(13, 19, 56, 0.1);
  padding-block: 0.65rem;
}
.header--scrolled .header__logo--dark { opacity: 1; }
.header--scrolled .header__logo--light { opacity: 0; }

.nav__list { display: flex; align-items: center; gap: clamp(0.4rem, 1.6vw, 1.4rem); }
.nav__link {
  position: relative; font-family: var(--font-head); font-weight: 500; font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.88); padding: 0.35rem 0.45rem; transition: color 0.3s;
}
.nav__link::after {
  content: ""; position: absolute; bottom: 0; inset-inline-start: 50%;
  width: 0; height: 2.5px; border-radius: 4px;
  background: var(--gold);
  transform: translateX(50%);
  transition: width 0.35s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { width: 70%; }

.header--scrolled .nav__link { color: var(--ink); }
.header--scrolled .nav__link:hover, .header--scrolled .nav__link.is-active { color: var(--red); }
.header--scrolled .nav__link::after { background: var(--red); }

.header__actions { display: flex; align-items: center; gap: 0.9rem; }
.header__call { color: #fff; border-color: rgba(255, 255, 255, 0.5); padding: 0.55rem 1.3rem; font-size: 0.95rem; }
.header__call:hover { background: #fff; color: var(--navy); border-color: #fff; }
.header--scrolled .header__call { color: var(--navy); border-color: rgba(19, 27, 77, 0.35); }
.header--scrolled .header__call:hover { background: var(--navy); color: #fff; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; z-index: 220; }
.burger span { width: 26px; height: 2.5px; border-radius: 3px; background: #fff; transition: transform 0.35s var(--ease), opacity 0.3s, background 0.3s; }
.header--scrolled .burger span { background: var(--navy); }
.burger.is-open span { background: #fff; }
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--navy-2);
}
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide {
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.02);
  transition: opacity 1.6s ease;
}
.hero__slide.is-active { opacity: 1; animation: kenburns 7s linear forwards; }

@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.13); } }

.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(13, 19, 56, 0.55), transparent 45%),
    linear-gradient(100deg, rgba(13, 19, 56, 0.96) 8%, rgba(19, 27, 77, 0.82) 42%, rgba(19, 27, 77, 0.38) 100%);
}
.hero__overlay::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: 0.35;
  mask-image: linear-gradient(to left, black, transparent 65%);
  -webkit-mask-image: linear-gradient(to left, black, transparent 65%);
}

.hero__content { position: relative; z-index: 2; padding-block: 9rem 6rem; max-width: 820px; }

.hero__kicker {
  display: flex; align-items: center; gap: 0.9rem;
  font-family: var(--font-head); font-weight: 500;
  color: var(--gold-2); font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  margin-bottom: 1.2rem;
}
.hero__kicker-line { width: 54px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); border-radius: 2px; }

.hero__title {
  font-size: clamp(2.5rem, 6.2vw, 4.7rem);
  font-weight: 800; color: #fff; line-height: 1.25;
  margin-bottom: 1.4rem;
}
.hero__title span { display: block; }
.hero__title-accent {
  background: linear-gradient(92deg, var(--gold-2), var(--gold) 55%, #b8811f);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  max-width: 620px; margin-bottom: 2.2rem;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.hero__badges {
  display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 3vw, 2.6rem);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 1.6rem;
}
.hero__badge { display: flex; flex-direction: column; }
.hero__badge strong { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--gold-2); }
.hero__badge span { color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; }

.hero__dots {
  position: absolute; z-index: 3;
  bottom: 2.2rem; inset-inline-start: 50%; transform: translateX(50%);
  display: flex; gap: 0.55rem;
}
.hero__dot {
  width: 26px; height: 4px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.3s, width 0.3s var(--ease);
}
.hero__dot.is-active { background: var(--gold); width: 44px; }

.hero__scroll {
  position: absolute; z-index: 3; bottom: 2rem; inset-inline-end: 3rem;
  width: 30px; height: 50px; border: 2px solid rgba(255, 255, 255, 0.45); border-radius: 99px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll-wheel { width: 4px; height: 10px; border-radius: 99px; background: var(--gold); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--navy);
  padding-block: 1.05rem;
  overflow: hidden;
  border-block: 3px solid var(--red);
}
.marquee__track {
  display: flex; align-items: center; gap: 2.6rem;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee__track span {
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92); white-space: nowrap;
}
.marquee__track i { color: var(--gold); font-style: normal; font-size: 0.7rem; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- Section headings ---------- */
.section__head { text-align: center; max-width: 760px; margin-inline: auto; margin-bottom: clamp(2.6rem, 5vw, 3.8rem); }
.section__kicker {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-head); font-weight: 600; color: var(--red);
  font-size: 1.05rem; margin-bottom: 0.6rem;
}
.section__kicker::before, .section__kicker::after {
  content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--red); opacity: 0.55;
}
.about__body .section__kicker::after { display: none; }
.section__kicker--light { color: var(--gold-2); }
.section__kicker--light::before, .section__kicker--light::after { background: var(--gold-2); }

.section__title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; }
.section__title--light { color: #fff; }
.section__desc { color: var(--muted); margin-top: 0.8rem; font-size: 1.05rem; }

/* ---------- About ---------- */
.about { background: var(--white); overflow: hidden; }
.about__grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
}

.about__media { position: relative; padding-block-end: 4.5rem; }
.about__img-main {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about__img-main::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(19, 27, 77, 0.35), transparent 50%);
}
.about__img-main img { aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.about__media::before {
  content: ""; position: absolute; z-index: -1;
  top: -1.4rem; inset-inline-start: -1.4rem;
  width: 58%; height: 58%;
  border: 3px solid var(--red); border-radius: var(--radius-lg);
  opacity: 0.85;
}
.about__img-float {
  position: absolute; z-index: 2;
  bottom: 0; inset-inline-end: -0.5rem;
  width: 52%;
  border: 6px solid var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.about__img-float img { aspect-ratio: 4 / 3; object-fit: cover; }
.about__exp {
  position: absolute; z-index: 3;
  bottom: 2.2rem; inset-inline-start: 0;
  background: var(--navy); color: #fff;
  border-radius: var(--radius);
  padding: 0.9rem 1.5rem;
  box-shadow: var(--shadow-md);
  border-inline-start: 4px solid var(--gold);
}
.about__exp strong { display: block; font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--gold-2); line-height: 1.3; }
.about__exp span { font-size: 0.88rem; opacity: 0.85; }

.about__body .section__kicker { margin-bottom: 0.4rem; }
.about__body .section__title { margin-bottom: 1.2rem; }
.about__text { color: var(--muted); margin-bottom: 1rem; }

.about__vm { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-block: 1.6rem; }
.vm-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.3rem 1.2rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.vm-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: transparent; }
.vm-card__icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--navy); color: var(--gold-2);
  margin-bottom: 0.7rem;
}
.vm-card h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.vm-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.75; }

.about__values { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.about__values li {
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  color: var(--navy);
  background: rgba(19, 27, 77, 0.06);
  border: 1px solid rgba(19, 27, 77, 0.14);
  padding: 0.35rem 1.1rem; border-radius: 999px;
}

/* ---------- Stats ---------- */
.stats {
  background:
    linear-gradient(120deg, rgba(13, 19, 56, 0.97), rgba(19, 27, 77, 0.94)),
    url("assets/img/hero/hero-2.jpg") center / cover fixed;
  padding-block: clamp(3rem, 6vw, 4.5rem);
  position: relative;
}
.stats::before, .stats::after {
  content: ""; position: absolute; inset-inline: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}
.stats::before { top: 0; }
.stats::after { bottom: 0; }

.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat { position: relative; padding-block: 0.5rem; }
.stat:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; inset-inline-end: -0.75rem;
  transform: translateY(-50%);
  height: 60%; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.25), transparent);
}
.stat__num {
  display: block; font-family: var(--font-head);
  font-size: clamp(2.3rem, 4.5vw, 3.4rem); font-weight: 800;
  color: #fff; line-height: 1.2;
}
.stat__num { direction: ltr; }
.stat__label { color: rgba(255, 255, 255, 0.75); font-size: 1.02rem; }

/* ---------- Services ---------- */
.services { background: var(--paper); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 1.4rem;
}
.service {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem 1.6rem;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.service::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 3.5px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.service:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }

.service__icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: var(--gold-2);
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
  transition: transform 0.4s var(--ease), background 0.35s;
}
.service:hover .service__icon { transform: rotate(-6deg) scale(1.06); background: linear-gradient(135deg, var(--red), var(--red-2)); color: #fff; }
.service h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 0.45rem; }
.service p { color: var(--muted); font-size: 0.95rem; line-height: 1.75; }

/* ---------- Industries ---------- */
.industries {
  position: relative;
  background:
    linear-gradient(115deg, rgba(13, 19, 56, 0.97) 20%, rgba(28, 37, 102, 0.92)),
    url("assets/img/gallery/hangar-04.jpg") center / cover;
}
.industries__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.1rem;
}
.industry {
  display: flex; align-items: center; gap: 0.9rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 1.05rem 1.2rem;
  color: #fff;
  backdrop-filter: blur(6px);
  transition: background 0.35s, transform 0.35s var(--ease), border-color 0.35s;
}
.industry .ico { color: var(--gold-2); width: 1.7em; height: 1.7em; }
.industry span { font-family: var(--font-head); font-weight: 500; font-size: 1rem; line-height: 1.5; }
.industry:hover {
  background: rgba(172, 23, 44, 0.28);
  border-color: rgba(232, 192, 122, 0.5);
  transform: translateY(-4px);
}

/* ---------- Gallery ---------- */
.gallery { background: var(--white); }

.gallery__filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
  margin-bottom: 2.2rem;
}
.filter-btn {
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  color: var(--navy);
  border: 1.5px solid rgba(19, 27, 77, 0.22);
  border-radius: 999px;
  padding: 0.45rem 1.35rem;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--navy); transform: translateY(-2px); }
.filter-btn.is-active { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 8px 22px rgba(19, 27, 77, 0.28); }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 235px;
  grid-auto-flow: dense;
  gap: 1.1rem;
}
.g-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: zoom-in;
  opacity: 0; transform: scale(0.94);
  animation: g-in 0.5s var(--ease) forwards;
}
.g-item--tall { grid-row: span 2; }
@keyframes g-in { to { opacity: 1; transform: scale(1); } }

.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.g-item:hover img { transform: scale(1.09); }

.g-item__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13, 19, 56, 0.86) 0%, rgba(13, 19, 56, 0.25) 45%, transparent 70%);
  opacity: 0; transition: opacity 0.4s;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.1rem 1.2rem;
}
.g-item:hover .g-item__veil { opacity: 1; }
.g-item__cat {
  font-family: var(--font-head); font-weight: 600; font-size: 0.8rem;
  color: var(--gold-2); letter-spacing: 0.02em;
  transform: translateY(12px); transition: transform 0.45s var(--ease);
}
.g-item__title {
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem;
  transform: translateY(12px); transition: transform 0.45s var(--ease) 0.05s;
}
.g-item:hover .g-item__cat, .g-item:hover .g-item__title { transform: translateY(0); }
.g-item__zoom {
  position: absolute; top: 0.9rem; inset-inline-start: 0.9rem;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(6px);
  color: #fff; display: grid; place-items: center;
  opacity: 0; transform: scale(0.6); transition: opacity 0.35s, transform 0.35s var(--ease);
}
.g-item:hover .g-item__zoom { opacity: 1; transform: scale(1); }

.gallery__hint { text-align: center; color: var(--muted); font-size: 0.92rem; margin-top: 1.6rem; }

/* ---------- Field videos ---------- */
.field { background: var(--paper); }
.field__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 340px));
  justify-content: center; gap: clamp(1.2rem, 3vw, 2.2rem);
}
.field__card {
  border-radius: 26px; overflow: hidden;
  background: var(--navy-2);
  border: 6px solid var(--navy);
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.field__card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.field__card video { width: 100%; aspect-ratio: 9 / 15; object-fit: cover; background: #000; }

/* ---------- Clients ---------- */
.clients { background: var(--white); padding-bottom: clamp(4rem, 8vw, 6.5rem); }
.clients .section__head { margin-bottom: 2rem; }
.clients__marquee {
  overflow: hidden;
  mask-image: linear-gradient(to left, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to left, transparent, black 8%, black 92%, transparent);
  padding-block: 0.6rem;
}
.clients__track {
  display: flex; gap: 1rem; width: max-content;
  animation: marquee 60s linear infinite;
}
.clients__marquee:hover .clients__track { animation-play-state: paused; }
.clients__track span {
  display: inline-flex; align-items: center;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.75rem 1.7rem;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.clients__track span:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: linear-gradient(115deg, var(--navy-2) 30%, var(--navy) 65%, var(--red-2));
  overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset-block: -60%; inset-inline-end: -8%;
  width: 42%;
  background: radial-gradient(closest-side, rgba(217, 165, 78, 0.22), transparent);
  transform: rotate(18deg);
}
.cta__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
  flex-wrap: wrap;
}
.cta__text h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 0.4rem; }
.cta__text p { color: rgba(255, 255, 255, 0.78); font-size: 1.05rem; }
.cta__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
.contact__grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: start;
}
.contact__info { display: grid; gap: 1rem; }
.contact-card {
  display: flex; align-items: center; gap: 1.1rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.15rem 1.3rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.contact-card__icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--red), var(--red-2)); color: #fff;
}
.contact-card:nth-child(2) .contact-card__icon { background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: var(--gold-2); }
.contact-card:nth-child(3) .contact-card__icon { background: linear-gradient(135deg, #9a762e, var(--gold)); color: #fff; }
.contact-card h3 { font-size: 1.05rem; }
.contact-card p { color: var(--muted); font-size: 0.98rem; }

.contact__form {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.contact__form h3 { font-size: 1.3rem; }
.contact__form-note { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-bottom: 0.9rem; }
.contact__form input, .contact__form select, .contact__form textarea {
  width: 100%;
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}
.contact__form textarea { margin-bottom: 1rem; }
.contact__form :is(input, select, textarea):focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3.5px rgba(19, 27, 77, 0.12);
  background: #fff;
}

.contact__map {
  position: relative;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 6px solid var(--white);
  height: 100%; min-height: 480px;
}
.contact__map-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem;
  background:
    radial-gradient(circle at 30% 20%, rgba(217, 165, 78, 0.15), transparent 45%),
    linear-gradient(150deg, var(--navy-2), var(--navy-3));
  color: #fff; text-align: center; padding: 1.5rem;
}
.contact__map-fallback .ico { width: 3.2em; height: 3.2em; color: var(--gold-2); }
.contact__map-fallback p { font-family: var(--font-head); font-size: 1.2rem; }
.contact__map-fallback a { pointer-events: auto; }
.contact__map iframe { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 480px; border: 0; filter: saturate(0.85); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-2); color: rgba(255, 255, 255, 0.78); }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  padding-block: clamp(3rem, 6vw, 4.2rem) 2.2rem;
}
.footer__logo { width: 190px; margin-bottom: 1.1rem; }
.footer__brand p { font-size: 0.95rem; line-height: 1.85; max-width: 340px; }
.footer__col h3 {
  color: #fff; font-size: 1.12rem; margin-bottom: 1rem; position: relative; padding-bottom: 0.55rem;
}
.footer__col h3::after {
  content: ""; position: absolute; bottom: 0; inset-inline-start: 0;
  width: 34px; height: 2.5px; border-radius: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}
.footer__col li { margin-bottom: 0.5rem; }
.footer__col a { font-size: 0.96rem; transition: color 0.3s, padding 0.3s var(--ease); }
.footer__col a:hover { color: var(--gold-2); padding-inline-start: 5px; }
.footer__contact li { font-size: 0.96rem; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.2rem;
  text-align: center; font-size: 0.9rem;
}

/* ---------- Floating buttons ---------- */
.float-wa {
  position: fixed; z-index: 150;
  bottom: 1.6rem; inset-inline-start: 1.6rem;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.35s var(--ease);
}
.float-wa:hover { transform: scale(1.1); }
.float-wa .ico { width: 1.9em; height: 1.9em; }
.float-wa::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa);
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.55); opacity: 0; } }

.to-top {
  position: fixed; z-index: 150;
  bottom: 1.8rem; inset-inline-end: 1.8rem;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.35s, transform 0.35s var(--ease), visibility 0.35s, background 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--red); }

/* ---------- Lightbox ---------- */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(9, 13, 38, 0.94);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  opacity: 0; transition: opacity 0.35s;
}
.lightbox.is-open { opacity: 1; }
.lightbox__figure { max-width: min(1100px, 92vw); text-align: center; }
.lightbox__figure img {
  max-height: 78vh; max-width: 100%;
  margin-inline: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  animation: lb-in 0.4s var(--ease);
}
@keyframes lb-in { from { opacity: 0; transform: scale(0.95); } }
.lightbox__figure figcaption {
  margin-top: 1rem;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-head);
}
#lbCounter { color: var(--gold-2); font-size: 0.95rem; }
.lightbox__close {
  position: absolute; top: 1.4rem; inset-inline-end: 1.6rem;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); color: #fff;
  font-size: 1.2rem;
  transition: background 0.3s, transform 0.3s;
}
.lightbox__close:hover { background: var(--red); transform: rotate(90deg); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); color: #fff;
  display: grid; place-items: center;
  transition: background 0.3s;
}
.lightbox__nav:hover { background: var(--red); }
.lightbox__nav--prev { inset-inline-start: 1.4rem; }
.lightbox__nav--next { inset-inline-end: 1.4rem; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.d-1 { transition-delay: 0.1s; }
.d-2 { transition-delay: 0.2s; }
.d-3 { transition-delay: 0.3s; }
.d-4 { transition-delay: 0.4s; }
.d-5 { transition-delay: 0.5s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; margin-inline: auto; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .stat:nth-child(2)::after { display: none; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__map { min-height: 380px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .field__grid { grid-template-columns: repeat(auto-fit, minmax(240px, 320px)); }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset-block: 0; inset-inline-end: 0;
    width: min(320px, 82vw);
    background: linear-gradient(160deg, var(--navy-2), var(--navy));
    padding: 6.5rem 2.2rem 2rem;
    transform: translateX(-102%);
    transition: transform 0.5s var(--ease);
    box-shadow: var(--shadow-lg);
    z-index: 210;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .nav__link { color: rgba(255, 255, 255, 0.9) !important; font-size: 1.25rem; padding: 0.55rem 0; }
  .nav__link::after { background: var(--gold) !important; }
  .header--scrolled .nav__link { color: rgba(255, 255, 255, 0.9); }
  .burger { display: flex; }
  .header__call { display: none; }

  .hero__badges { gap: 1.4rem; }
  .hero__scroll { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .hero__content { padding-block: 8rem 5.5rem; }
  .hero__cta .btn { width: 100%; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .stat:nth-child(odd)::after { display: none; }
  .gallery__grid { grid-auto-rows: 200px; }
  .footer__grid { grid-template-columns: 1fr; }
  .about__vm { grid-template-columns: 1fr; }
  .float-wa { width: 52px; height: 52px; bottom: 1.2rem; inset-inline-start: 1.2rem; }
  .to-top { bottom: 1.2rem; inset-inline-end: 1.2rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Page hero — banner for inner pages (e.g. معرض الأعمال)
   ============================================================ */
.page-hero {
  position: relative;
  background:
    linear-gradient(160deg, rgba(19, 27, 77, 0.93), rgba(13, 19, 56, 0.97)),
    url("assets/img/hero/hero-2.jpg") center / cover;
  padding: clamp(8.5rem, 15vw, 11.5rem) 0 clamp(3.2rem, 6vw, 5rem);
  text-align: center;
  color: #fff;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--red));
}
.page-hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  line-height: 1.25;
  margin-top: 0.4rem;
  color: #fff;
}
.page-hero__subtitle {
  max-width: 640px;
  margin: 0.9rem auto 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.95;
  font-size: 1.05rem;
}
