/* =========================================================
   رول الرائد — صفحة هبوط (Google Ads Landing Page)
   CSS أساسي خفيف بدون مكتبات خارجية — RTL / Mobile First
   ========================================================= */

@font-face {
  font-family: "Neo";
  src: url("../fonts/woff2/NeoSansArabicLight.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Neo";
  src: url("../fonts/woff2/NeoSansArabic.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Neo";
  src: url("../fonts/woff2/NeoSansArabicBold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root{
  --navy: #0d1b2a;
  --navy-2: #14273d;
  --accent: #ff8a00;
  --accent-dark: #e06f00;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --bg: #f6f7fb;
  --text: #202531;
  --muted: #626a7a;
  --line: #e7e9f0;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(13,27,42,.18);
  --container: 1180px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body{
  margin: 0;
  font-family: "Neo","Tahoma",sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,p{ margin: 0 0 .6em; }
button{ font-family: inherit; }
.container{ width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.02rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn svg{ width: 22px; height: 22px; flex-shrink: 0; }
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: scale(.97); }
.btn-call{ background: var(--accent); color: #1a1200; box-shadow: 0 8px 20px -6px rgba(255,138,0,.55); }
.btn-call:hover{ background: var(--accent-dark); }
.btn-whatsapp{ background: var(--whatsapp); color: #fff; box-shadow: 0 8px 20px -6px rgba(37,211,102,.5); }
.btn-whatsapp:hover{ background: var(--whatsapp-dark); }
.btn-outline{ background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover{ background: rgba(255,255,255,.12); }
.btn-block{ width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 6px;
}
.brand{ display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.15rem; }
.brand img{ width: 42px; height: 42px; border-radius: 8px; }
.main-nav{ display: none; }
.main-nav ul{ display: flex; gap: 28px; }
.main-nav a{ color: #cfd6e4; font-weight: 600; font-size: .96rem; transition: color .15s; }
.main-nav a:hover{ color: #fff; }
.header-cta{ display: none; align-items: center; gap: 10px; }
.header-cta .btn{ padding: 11px 20px; font-size: .92rem; }
.nav-toggle{
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2);
  background: transparent; color: #fff;
}
.nav-toggle svg{ width: 22px; height: 22px; }

.mobile-nav{
  display: block;
  max-height: 0;
  overflow: hidden;
  background: var(--navy-2);
  border-top: 1px solid rgba(255,255,255,.08);
  transition: max-height .3s ease;
}
.mobile-nav.is-open{ max-height: 320px; }
.mobile-nav ul{ padding: 8px 20px 18px; }
.mobile-nav a{ display: block; padding: 12px 0; color: #e7ebf3; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.08); }

@media (min-width: 900px){
  .main-nav{ display: block; }
  .header-cta{ display: flex; }
  .nav-toggle{ display: none; }
  .mobile-nav{ display: none !important; }
}

/* ---------- Hero ---------- */
.hero{
  background: radial-gradient(1200px 500px at 85% -10%, #1c3452 0%, transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 48px 0 40px;
}
.hero-grid{ display: grid; gap: 32px; align-items: center; }
.hero h1{ font-size: clamp(1.7rem, 4.4vw, 2.6rem); font-weight: 700; line-height: 1.35; }
.hero .accent-text{ color: var(--accent); }
.hero-lead{ color: #c9d1e0; font-size: 1.05rem; max-width: 56ch; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.hero-badges{ display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-badge{ display: flex; align-items: center; gap: 8px; color: #dbe1ee; font-size: .92rem; font-weight: 600; }
.hero-badge svg{ width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.hero-media{ position: relative; }
.hero-media img{ width: 100%; height: auto; border-radius: var(--radius); }
.hero-phone{
  position: absolute; bottom: -18px; right: 24px; left: 24px;
  background: #fff; color: var(--navy); border-radius: 12px; box-shadow: var(--shadow);
  padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.hero-phone:hover{ transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(13,27,42,.28); }
.hero-phone strong{ font-size: 1.15rem; letter-spacing: .5px; direction: ltr; display: inline-block; }
.hero-phone span{ display:block; font-size: .8rem; color: var(--muted); font-weight: 600; }

@media (min-width: 860px){
  .hero-grid{ grid-template-columns: 1.05fr .95fr; }
}

/* Hero entrance animation */
@keyframes fadeUp{
  from{ opacity: 0; transform: translateY(24px); }
  to{ opacity: 1; transform: translateY(0); }
}
.hero-grid > *{ animation: fadeUp .7s ease both; }
.hero-grid > *:nth-child(2){ animation-delay: .15s; }

/* ---------- Scroll-reveal animation ---------- */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
.stagger > .reveal:nth-child(1){ transition-delay: 0s; }
.stagger > .reveal:nth-child(2){ transition-delay: .08s; }
.stagger > .reveal:nth-child(3){ transition-delay: .16s; }
.stagger > .reveal:nth-child(4){ transition-delay: .24s; }
.stagger > .reveal:nth-child(5){ transition-delay: .32s; }
.stagger > .reveal:nth-child(6){ transition-delay: .4s; }
.stagger > .reveal:nth-child(n+7){ transition-delay: .46s; }

/* ---------- Section shells ---------- */
section{ padding: 20px 0; }
.section-head{ text-align: center; max-width: 640px; margin: 0 auto 36px; }
.eyebrow{
  display: inline-block; color: var(--accent-dark); background: #fff1e0; padding: 6px 16px;
  border-radius: 999px; font-weight: 700; font-size: .82rem; margin-bottom: 12px;
}
.section-head h2{ font-size: clamp(1.4rem, 3vw, 1.9rem); }
.section-head p{ color: var(--muted); margin: 0; }

/* ---------- Services ---------- */
.services-grid{ display: grid; gap: 20px; grid-template-columns: 1fr; }
.service-card{
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: transform .15s ease, box-shadow .15s ease;
}
.service-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon{
  width: 52px; height: 52px; border-radius: 12px; background: #fff1e0; color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.service-icon svg{ width: 28px; height: 28px; }
.service-card h3{ font-size: 1.08rem; }
.service-card p{ color: var(--muted); font-size: .94rem; margin: 0; }

@media (min-width: 640px){ .services-grid{ grid-template-columns: repeat(2,1fr); } }
@media (min-width: 980px){ .services-grid{ grid-template-columns: repeat(3,1fr); } }

/* ---------- Why us (features) ---------- */
.features{ background: var(--navy); color: #fff; }
.features .section-head p{ color: #b9c2d4; }
.features .eyebrow{ background: rgba(255,138,0,.15); color: var(--accent); }
.features-grid{ display: grid; gap: 20px; grid-template-columns: 1fr; }
.feature-card{ background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.feature-card img{ width: 56px; height: 56px; margin: 0 auto 14px; }
.feature-card h3{ font-size: 1.05rem; }
.feature-card p{ color: #b9c2d4; font-size: .93rem; margin: 0; }
@media (min-width: 720px){ .features-grid{ grid-template-columns: repeat(3,1fr); } }

/* ---------- Process ---------- */
.process-grid{ display: grid; gap: 22px; grid-template-columns: 1fr; counter-reset: step; }
.process-step{ position: relative; padding-inline-start: 56px; }
.process-step::before{
  counter-increment: step; content: counter(step);
  position: absolute; inset-inline-start: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #1a1200;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.05rem;
}
.process-step h3{ font-size: 1.05rem; }
.process-step p{ color: var(--muted); font-size: .93rem; margin: 0; }
@media (min-width: 720px){ .process-grid{ grid-template-columns: repeat(3,1fr); } }

/* ---------- Gallery ---------- */
.gallery-grid{ display: grid; gap: 12px; grid-template-columns: repeat(2,1fr); }
.gallery-grid a{ display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 1/1; background: var(--line); }
.gallery-grid img{ width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery-grid a:hover img{ transform: scale(1.06); }
@media (min-width: 640px){ .gallery-grid{ grid-template-columns: repeat(3,1fr); } }
@media (min-width: 980px){ .gallery-grid{ grid-template-columns: repeat(4,1fr); } }
.gallery-more{ text-align: center; margin-top: 24px; }

/* Lightbox */
.lightbox{
  position: fixed; inset: 0; background: rgba(10,14,22,.92); z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}
.lightbox.is-open{ opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox img{
  max-width: min(92vw, 900px); max-height: 86vh; border-radius: 10px;
  transform: scale(.95); transition: transform .25s ease;
}
.lightbox.is-open img{ transform: scale(1); }
.lightbox-close{
  position: absolute; top: 18px; left: 18px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; border: none; display: flex; align-items: center; justify-content: center;
}
.lightbox-close svg{ width: 22px; height: 22px; }

/* ---------- CTA banner ---------- */
.cta-banner{
  position: relative; color: #fff; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, rgba(13,27,42,.88), rgba(13,27,42,.92)), url("../images/webp/banner.webp") center/cover no-repeat;
}
.cta-banner h2{ font-size: clamp(1.4rem, 3.4vw, 2.1rem); }
.cta-banner p{ color: #cfd6e4; max-width: 56ch; margin: 0 auto 26px; }
.cta-actions{ display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer{ background: #091420; color: #b9c2d4; padding: 30px 0 30px; }
.footer-grid{ display: grid; gap: 28px; grid-template-columns: 1fr; margin-bottom: 26px; }
.footer-brand{ display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; }
.footer-brand img{ width: 36px; height: 36px; border-radius: 8px; }
.footer-col h4{ color: #fff; font-size: 1rem; margin: 0 0 12px; }
.footer-contact li{ display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 600; }
.footer-contact svg{ width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.footer-links a{ display: block; padding: 6px 0; color: #b9c2d4; }
.footer-links a:hover{ color: #fff; }
.footer-bottom{ border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; font-size: .85rem; text-align: center; color: #8792a6; }
.footer-bottom a{ color: #b9c2d4; font-weight: 600; }
@media (min-width: 720px){ .footer-grid{ grid-template-columns: 1.2fr 1fr 1fr; } }

/* ---------- Sticky mobile action bar ---------- */
.mobile-bar{
  position: fixed; bottom: 0; inset-inline: 0; z-index: 200;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(255,255,255,.2);
  box-shadow: 0 -6px 20px rgba(0,0,0,.15);
}
.mobile-bar a{
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 10px; font-weight: 700; font-size: .96rem; color: #fff;
}
.mobile-bar a svg{ width: 20px; height: 20px; }
.mobile-bar .bar-call{ background: var(--accent); }
.mobile-bar .bar-whatsapp{ background: var(--whatsapp); }
@media (min-width: 900px){ .mobile-bar{ display: none; } }

/* Desktop floating buttons */
.float-actions{ position: fixed; bottom: 24px; left: 24px; z-index: 200; display: none; flex-direction: column; gap: 12px; }
.float-actions a{
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); color: #fff;
}
.float-actions a svg{ width: 26px; height: 26px; }
.float-actions .fa-whatsapp{ background: var(--whatsapp); position: relative; }
.float-actions .fa-whatsapp::after{
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--whatsapp); animation: pulseRing 2.4s ease-out infinite;
}
.float-actions .fa-call{ background: var(--accent); }
@media (min-width: 900px){ .float-actions{ display: flex; } }

@keyframes pulseRing{
  0%{ transform: scale(1); opacity: .6; }
  100%{ transform: scale(1.55); opacity: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal{ transition: none; opacity: 1; transform: none; }
  .hero-grid > *{ animation: none; opacity: 1; transform: none; }
  .float-actions .fa-whatsapp::after{ animation: none; display: none; }
  .service-card, .btn, .gallery-grid img{ transition: none; }
}
