/* ===================================================================
   سَند دربك | Sanad Darbk — Landing Page Styles
   الهوية اللونية مستخرجة من الشعار (#FFD21F)
   =================================================================== */

:root{
  /* ألوان العلامة */
  --brand: #FFD21F;          /* الأصفر الذهبي من اللوقو */
  --brand-dark: #E6B40A;     /* تظليل / hover */
  --brand-soft: #FFF3C9;     /* أصفر فاتح للخلفيات */

  --ink: #111317;            /* الأسود الفحمي الفخم */
  --ink-2: #1E222B;          /* داكن ثانوي */
  --ink-3: #2A2F3A;

  --bg: #FFFFFF;
  --bg-soft: #FAFAF7;        /* أوف-وايت دافئ */
  --bg-card: #FFFFFF;

  --text: #1A1D23;
  --muted: #6B7280;
  --line: #ECECE6;

  --whatsapp: #25D366;
  --whatsapp-dark: #1da851;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 16px rgba(17,19,23,.06);
  --shadow: 0 16px 40px rgba(17,19,23,.10);
  --shadow-brand: 0 14px 30px rgba(255,210,31,.35);

  --container: 1200px;
  --font-head: 'Almarai', sans-serif;
  --font-body: 'Almarai', sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  font-family:var(--font-body);
  color:var(--text);
  background:var(--bg);
  line-height:1.75;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-head); line-height:1.25; color:var(--ink); }

.container{ width:100%; max-width:var(--container); margin-inline:auto; padding-inline:22px; }
.hl{ color:var(--brand-dark); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family:var(--font-head); font-weight:700; font-size:1rem;
  padding:13px 26px; border-radius:999px; border:none; cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space:nowrap;
}
.btn .ico{ width:20px; height:20px; fill:currentColor; }
.btn-lg{ padding:16px 34px; font-size:1.08rem; }
.btn-sm{ padding:10px 18px; font-size:.92rem; }

.btn-primary{ background:var(--brand); color:var(--ink); box-shadow:var(--shadow-brand); }
.btn-primary:hover{ background:var(--brand-dark); transform:translateY(-3px); }

.btn-whatsapp{ background:var(--whatsapp); color:#fff; box-shadow:0 12px 26px rgba(37,211,102,.32); }
.btn-whatsapp:hover{ background:var(--whatsapp-dark); transform:translateY(-3px); }

.btn-dark{ background:var(--ink); color:#fff; }
.btn-dark:hover{ background:var(--ink-3); transform:translateY(-3px); }

/* ---------- Header ---------- */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:100;
  background:rgba(255,255,255,.85); backdrop-filter:blur(14px);
  border-bottom:1px solid transparent; transition:.3s;
}
.site-header.scrolled{ box-shadow:var(--shadow-sm); border-bottom-color:var(--line); }
.header-inner{ display:flex; align-items:center; justify-content:space-between; height:74px; gap:18px; }
.brand-logo{ height:52px; width:auto; object-fit:contain; }

.main-nav{ display:flex; gap:6px; }
.nav-link{
  font-family:var(--font-head); font-weight:600; font-size:.98rem; color:var(--ink-2);
  padding:8px 14px; border-radius:10px; position:relative; transition:.2s;
}
.nav-link:hover{ color:var(--ink); background:var(--brand-soft); }

.header-actions{ display:flex; align-items:center; gap:12px; }

.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px; }
.nav-toggle span{ width:26px; height:3px; background:var(--ink); border-radius:3px; transition:.3s; }
.nav-toggle.open span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{ position:relative; padding:150px 0 0; color:#fff; overflow:hidden; }
.hero-bg{
  position:absolute; inset:0;
  background:
    linear-gradient(120deg, rgba(17,19,23,.92) 0%, rgba(17,19,23,.70) 55%, rgba(17,19,23,.45) 100%),
    url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1740&q=80') center/cover no-repeat;
  z-index:-2;
}
.hero-overlay{
  position:absolute; inset:0; z-index:-1;
  background:radial-gradient(circle at 85% 20%, rgba(255,210,31,.22), transparent 45%);
}
.hero-inner{ position:relative; }
.hero-content{ max-width:720px; }
.eyebrow{
  display:inline-block; background:rgba(255,210,31,.16); color:var(--brand);
  font-family:var(--font-head); font-weight:700; font-size:.9rem;
  padding:7px 16px; border-radius:999px; border:1px solid rgba(255,210,31,.4); margin-bottom:22px;
}
.hero-title{ font-size:clamp(1.7rem, 3.6vw, 2.7rem); font-weight:800; color:#fff; margin-bottom:20px; line-height:1.4; }
.hero-title .hl{ color:var(--brand); }
.hero-desc{ font-size:clamp(1.05rem,2.2vw,1.25rem); color:#d8dbe2; max-width:620px; margin-bottom:32px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-bottom:26px; }
.hero-phone{ display:flex; align-items:center; gap:10px; font-family:var(--font-head); color:#cfd3da; }
.hero-phone a{ color:var(--brand); font-weight:800; font-size:1.3rem; letter-spacing:1px; }
.hero-phone a:hover{ text-decoration:underline; }

.hero-stats{
  position:relative; margin-top:70px;
  display:grid; grid-template-columns:repeat(4,1fr); gap:16px;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius); padding:26px; backdrop-filter:blur(6px);
  transform:translateY(45px);
}
.stat{ text-align:center; }
.stat strong{ display:block; font-family:var(--font-head); font-weight:900; font-size:2rem; color:var(--brand); }
.stat span{ font-size:.95rem; color:#d8dbe2; }

/* ---------- Sections ---------- */
.section{ padding:110px 0; }
.about{ background:var(--bg); padding-top:130px; }
.services{ background:var(--bg-soft); }
.cars{ background:var(--bg); }

.section-head{ text-align:center; max-width:680px; margin:0 auto 56px; }
.section-tag{
  display:inline-block; font-family:var(--font-head); font-weight:700; font-size:.85rem;
  color:var(--brand-dark); background:var(--brand-soft);
  padding:6px 16px; border-radius:999px; margin-bottom:16px; letter-spacing:.5px;
}
.section-tag.light{ background:rgba(255,210,31,.18); color:var(--brand); }
.section-title{ font-size:clamp(1.7rem,4vw,2.6rem); font-weight:800; margin-bottom:14px; }
.section-title.light{ color:#fff; }
.section-title.light .hl{ color:var(--brand); }
.section-sub{ color:var(--muted); font-size:1.08rem; }
.section-sub.light{ color:#c8ccd4; }

/* ---------- About features ---------- */
.features-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.feature-card{
  background:var(--bg-card); border:1px solid var(--line); border-radius:var(--radius);
  padding:32px 24px; text-align:center; transition:.3s;
}
.feature-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow); border-color:var(--brand); }
.feature-ico{
  width:70px; height:70px; margin:0 auto 18px; border-radius:18px;
  background:var(--brand-soft); display:flex; align-items:center; justify-content:center; font-size:2rem;
}
.feature-card h3{ font-size:1.2rem; margin-bottom:8px; }
.feature-card p{ color:var(--muted); font-size:.97rem; }

/* ---------- Services ---------- */
.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.service-card{
  background:var(--bg-card); border:1px solid var(--line); border-radius:var(--radius);
  padding:30px; position:relative; overflow:hidden; transition:.3s;
}
.service-card::before{
  content:""; position:absolute; top:0; inset-inline-start:0; width:5px; height:100%;
  background:var(--brand); transform:scaleY(0); transform-origin:top; transition:.3s;
}
.service-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); }
.service-card:hover::before{ transform:scaleY(1); }
.service-ico{
  width:58px; height:58px; border-radius:14px; background:var(--ink);
  display:flex; align-items:center; justify-content:center; font-size:1.6rem; margin-bottom:16px;
}
.service-card h3{ font-size:1.25rem; margin-bottom:8px; }
.service-card p{ color:var(--muted); }

/* ---------- Cars ---------- */
.cars-filter{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-bottom:40px; }
.filter-btn{
  font-family:var(--font-head); font-weight:700; font-size:.95rem; cursor:pointer;
  padding:9px 22px; border-radius:999px; border:1.5px solid var(--line);
  background:#fff; color:var(--ink-2); transition:.2s;
}
.filter-btn:hover{ border-color:var(--brand); }
.filter-btn.is-active{ background:var(--ink); color:#fff; border-color:var(--ink); }

.cars-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.car-card{
  background:var(--bg-card); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; display:flex; flex-direction:column; transition:.3s;
}
.car-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow); }
.car-media{ position:relative; aspect-ratio:16/10; overflow:hidden; background:var(--bg-soft); }
.car-media img{ width:100%; height:100%; object-fit:cover; transition:.5s; }
.car-card:hover .car-media img{ transform:scale(1.07); }
.car-badge{
  position:absolute; top:14px; inset-inline-start:14px;
  background:var(--brand); color:var(--ink); font-family:var(--font-head); font-weight:800;
  font-size:.78rem; padding:5px 12px; border-radius:999px;
}
.car-body{ padding:22px; display:flex; flex-direction:column; flex:1; }
.car-head{ display:flex; justify-content:space-between; align-items:start; gap:10px; margin-bottom:6px; }
.car-name{ font-size:1.3rem; font-weight:800; }
.car-model{ color:var(--muted); font-size:.9rem; font-family:var(--font-head); font-weight:600; }
.car-type{ display:inline-block; font-size:.85rem; color:var(--brand-dark); font-weight:700; margin-bottom:10px; font-family:var(--font-head); }
.car-desc{ color:var(--muted); font-size:.95rem; margin-bottom:18px; flex:1; }
.car-footer{ display:flex; align-items:center; justify-content:space-between; gap:12px; border-top:1px solid var(--line); padding-top:16px; }
.car-price{ font-family:var(--font-head); font-weight:900; }
.car-price strong{ font-size:1.5rem; color:var(--ink); }
.car-price span{ font-size:.85rem; color:var(--muted); font-weight:600; }
.car-order{ flex-shrink:0; }
.cars-note{ text-align:center; color:var(--muted); font-size:.9rem; margin-top:34px; }

/* ---------- Why us ---------- */
.why{ background:var(--ink); }
.why-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.why-item{
  background:var(--ink-2); border:1px solid rgba(255,255,255,.07); border-radius:var(--radius);
  padding:30px; transition:.3s;
}
.why-item:hover{ border-color:var(--brand); transform:translateY(-6px); }
.why-num{ font-family:var(--font-head); font-weight:900; font-size:1.6rem; color:var(--brand); }
.why-item h3{ color:#fff; font-size:1.2rem; margin:10px 0 8px; }
.why-item p{ color:#a9aebb; font-size:.96rem; }

/* ---------- CTA band ---------- */
.cta-band{ background:var(--brand); padding:54px 0; }
.cta-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.cta-band h2{ font-size:clamp(1.5rem,3.5vw,2.2rem); color:var(--ink); margin-bottom:6px; }
.cta-band p{ color:#3a3320; font-weight:500; font-size:1.1rem; }

/* ---------- Contact ---------- */
.contact{ background:var(--bg-soft); }
.contact-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; margin-bottom:44px; }
.contact-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:30px 22px; text-align:center; transition:.3s;
}
.contact-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); border-color:var(--brand); }
.contact-ico{
  width:62px; height:62px; margin:0 auto 16px; border-radius:50%;
  background:var(--ink); display:flex; align-items:center; justify-content:center;
}
.contact-ico svg{ width:28px; height:28px; fill:var(--brand); }
.contact-ico.wa{ background:var(--whatsapp); }
.contact-ico.wa svg{ fill:#fff; }
.contact-card h3{ font-size:1.1rem; margin-bottom:6px; }
.contact-card p{ color:var(--muted); font-weight:600; }

.social-row{ display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; }
.social-row span{ font-family:var(--font-head); font-weight:700; color:var(--ink-2); }
.social-link{
  width:48px; height:48px; border-radius:50%; background:var(--ink);
  display:flex; align-items:center; justify-content:center; transition:.3s;
}
.social-link svg{ width:22px; height:22px; fill:#fff; }
.social-link:hover{ background:var(--brand); transform:translateY(-4px); }
.social-link:hover svg{ fill:var(--ink); }

/* ---------- Footer ---------- */
.site-footer{ background:var(--ink); color:#c8ccd4; padding-top:60px; }
.footer-inner{ display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:40px; padding-bottom:40px; }
.footer-brand img{ height:72px; margin-bottom:16px; }
.footer-brand p{ max-width:340px; color:#9aa0ad; }
.footer-links h4, .footer-contact h4{ color:#fff; margin-bottom:18px; font-size:1.1rem; }
.footer-links a, .footer-contact a{ display:block; color:#a9aebb; padding:5px 0; transition:.2s; }
.footer-links a:hover, .footer-contact a:hover{ color:var(--brand); }
.footer-contact{ text-align:right; }
.footer-contact > a{ text-align:right; width:fit-content; }
.footer-social{ display:flex; gap:12px; margin-top:18px; justify-content:flex-start; }
.footer-social a{
  width:42px; height:42px; border-radius:50%;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center; transition:.3s;
}
.footer-social a svg{ width:19px; height:19px; fill:#cfd3da; transition:.3s; }
.footer-social a:hover{ background:var(--brand); transform:translateY(-4px); }
.footer-social a:hover svg{ fill:var(--ink); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.08); padding:22px 0; text-align:center; }
.footer-bottom p{ color:#8b909d; font-size:.9rem; }
.footer-cr{ color:#a9aebb; font-weight:700; padding:5px 0; }
.footer-cr span{ font-family:var(--font-head); letter-spacing:.5px; }
.footer-bottom .credit{ margin-top:6px; }
.footer-bottom .credit a{ color:#8b909d; font-weight:400; transition:color .25s ease; }
.footer-bottom .credit a:hover{ color:var(--brand); }

/* ---------- Floating buttons (left) ---------- */
.fab-stack{
  position:fixed; bottom:24px; left:24px; z-index:90;
  display:flex; flex-direction:column; gap:14px;
}
.fab{
  width:60px; height:60px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; transition:.3s;
}
.fab svg{ width:30px; height:30px; fill:#fff; }
.fab:hover{ transform:scale(1.1); }
.fab-call{ background:var(--ink); box-shadow:0 12px 30px rgba(17,19,23,.4); }
.fab-call svg{ fill:var(--brand); }
.fab-whatsapp{ background:var(--whatsapp); box-shadow:0 12px 30px rgba(37,211,102,.45); animation:fabPulse 2.4s infinite; }
.fab-whatsapp svg{ width:32px; height:32px; }
@keyframes fabPulse{
  0%{ box-shadow:0 0 0 0 rgba(37,211,102,.5); }
  70%{ box-shadow:0 0 0 18px rgba(37,211,102,0); }
  100%{ box-shadow:0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Scroll to top (right) ---------- */
.to-top{
  position:fixed; bottom:24px; right:24px; z-index:90;
  width:52px; height:52px; border-radius:50%; cursor:pointer;
  background:var(--brand); border:none;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 30px rgba(255,210,31,.45);
  opacity:0; visibility:hidden; transform:translateY(20px);
  transition:opacity .3s ease, transform .3s ease, background .3s ease;
}
.to-top svg{ width:26px; height:26px; fill:var(--ink); }
.to-top.show{ opacity:1; visibility:visible; transform:translateY(0); }
.to-top:hover{ background:var(--brand-dark); transform:translateY(-4px); }

/* ---------- Reveal animation ---------- */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ---------- Human polish layer ---------- */
:root{
  --brand: #f2c318;
  --brand-dark: #b88405;
  --brand-soft: #fff4cf;
  --ink: #121417;
  --ink-2: #20242b;
  --bg-soft: #f7f5ee;
  --line: #e8e1d2;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow-sm: 0 10px 28px rgba(18,20,23,.07);
  --shadow: 0 22px 48px rgba(18,20,23,.13);
  --shadow-brand: 0 16px 30px rgba(184,132,5,.24);
}

body{
  background:
    linear-gradient(90deg, rgba(18,20,23,.028) 1px, transparent 1px) 0 0/44px 44px,
    linear-gradient(180deg, #fff 0%, #fbfaf6 54%, #fff 100%);
  text-rendering:geometricPrecision;
}

.site-header{
  background:rgba(255,255,255,.78);
  box-shadow:0 1px 0 rgba(18,20,23,.04);
}
.site-header.scrolled{
  background:rgba(255,255,255,.93);
  box-shadow:0 14px 34px rgba(18,20,23,.08);
}
.brand-logo{
  filter:drop-shadow(0 8px 14px rgba(18,20,23,.08));
  transition:transform .35s ease, filter .35s ease;
}
.brand:hover .brand-logo{ transform:translateY(-2px) scale(1.025); }
.nav-link::after{
  content:"";
  position:absolute;
  inset-inline:14px;
  bottom:3px;
  height:2px;
  background:var(--brand);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .25s ease;
}
.nav-link:hover{ background:transparent; }
.nav-link:hover::after{ transform:scaleX(1); }

.hero{
  min-height:min(760px, 92vh);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  isolation:isolate;
  padding-bottom:46px;
}
.hero-bg{
  transform:scale(1.03);
  animation:heroDrift 18s ease-in-out infinite alternate;
}
.hero-overlay{
  background:
    linear-gradient(90deg, rgba(18,20,23,.98) 0%, rgba(18,20,23,.74) 47%, rgba(18,20,23,.26) 100%),
    radial-gradient(circle at 78% 18%, rgba(242,195,24,.24), transparent 36%),
    linear-gradient(0deg, rgba(18,20,23,.9) 0%, transparent 34%);
}
.hero::before{
  content:"";
  position:absolute;
  inset:auto 0 78px 0;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(242,195,24,.74), transparent);
  opacity:.66;
  transform:rotate(-2deg);
  pointer-events:none;
  z-index:0;
}
.hero::after{
  content:"";
  position:absolute;
  left:8vw;
  bottom:118px;
  width:180px;
  height:180px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:50%;
  opacity:.48;
  pointer-events:none;
  z-index:0;
}
.hero-inner,
.hero-stats{
  z-index:1;
}
.hero-content{
  max-width:760px;
  padding-bottom:8px;
}
.eyebrow{
  border-radius:8px;
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16);
}
.hero-title{
  letter-spacing:0;
  text-shadow:0 10px 34px rgba(0,0,0,.34);
}
.hero-desc{ color:rgba(244,246,248,.82); }
.hero-actions .btn{ min-height:56px; }

.btn{
  border-radius:8px;
  box-shadow:none;
}
.btn:hover{ box-shadow:0 16px 34px rgba(18,20,23,.16); }
.btn-primary{
  background:linear-gradient(180deg, #ffd95a, var(--brand));
  border:1px solid rgba(18,20,23,.08);
}
.btn-whatsapp{
  background:linear-gradient(180deg, #2be172, var(--whatsapp));
}
.btn-dark{
  background:linear-gradient(180deg, #232832, var(--ink));
}

.hero-stats{
  border-radius:8px;
  background:rgba(255,255,255,.09);
  box-shadow:0 30px 70px rgba(0,0,0,.24);
  transform:none;
}
.stat{
  position:relative;
  padding:2px 10px;
}
.stat:not(:last-child)::after{
  content:"";
  position:absolute;
  inset-block:12px;
  inset-inline-end:0;
  width:1px;
  background:rgba(255,255,255,.14);
}

.section{
  position:relative;
}
.section-head{
  max-width:720px;
}
.section-tag{
  border-radius:6px;
  letter-spacing:0;
}
.section-title{
  letter-spacing:0;
}
.section-sub{
  max-width:640px;
  margin-inline:auto;
}

.feature-card,
.service-card,
.car-card,
.why-item,
.contact-card{
  border-radius:8px;
  box-shadow:0 1px 0 rgba(18,20,23,.04);
}
.feature-card,
.service-card,
.contact-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.92)),
    linear-gradient(135deg, rgba(242,195,24,.08), transparent 44%);
}
.feature-card:hover,
.service-card:hover,
.contact-card:hover,
.why-item:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 42px rgba(18,20,23,.11);
}

.ico-line{
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.feature-ico,
.service-ico{
  position:relative;
  border-radius:14px;
  overflow:hidden;
}
.feature-ico{
  background:linear-gradient(150deg, var(--brand-soft), #fff);
  color:var(--brand-dark);
  border:1px solid rgba(184,132,5,.16);
  transition:transform .35s cubic-bezier(.2,.7,.2,1), color .3s ease;
}
.feature-ico svg,
.service-ico svg{ width:32px; height:32px; }
.feature-card:hover .feature-ico{ transform:translateY(-3px) rotate(-4deg); }
.service-ico{
  background:#171a20;
  color:var(--brand);
  transition:transform .35s cubic-bezier(.2,.7,.2,1);
}
.service-card:hover .service-ico{ transform:translateY(-3px) rotate(4deg); }

.cars-filter{
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  width:max-content;
  max-width:100%;
  margin-inline:auto;
  padding:6px;
  box-shadow:var(--shadow-sm);
}
.filter-btn{
  border:0;
  border-radius:7px;
  background:transparent;
}
.filter-btn.is-active{
  background:var(--ink);
  box-shadow:0 10px 22px rgba(18,20,23,.18);
}

.car-card{
  position:relative;
  background:#fff;
}
.car-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.82);
}
.car-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent 42%, rgba(18,20,23,.36));
  opacity:.9;
}
.car-badge{
  z-index:1;
  border-radius:6px;
  box-shadow:0 10px 22px rgba(0,0,0,.18);
}
.car-specs{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin:12px 0 18px;
}
.car-spec{
  border:1px solid var(--line);
  border-radius:6px;
  padding:7px 8px;
  color:#4f5661;
  font-family:var(--font-head);
  font-size:.78rem;
  font-weight:700;
  text-align:center;
  background:#fbfaf6;
}
.car-footer{
  align-items:flex-end;
}
.car-price strong{
  font-size:1.72rem;
  letter-spacing:0;
}

.why{
  background:
    linear-gradient(135deg, rgba(242,195,24,.12), transparent 34%),
    linear-gradient(180deg, #121417, #191d24);
}
.why-item{
  background:rgba(255,255,255,.045);
  backdrop-filter:blur(8px);
}
.why-num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  height:34px;
  border-radius:6px;
  background:rgba(242,195,24,.12);
  font-size:1rem;
}

.cta-band{
  background:
    linear-gradient(120deg, #ffd95a, var(--brand) 58%, #e5ae08);
}
.cta-inner{
  position:relative;
}
.cta-band h2{
  position:relative;
  padding-bottom:14px;
}
.cta-band h2::after{
  content:"";
  position:absolute;
  inset-inline-start:0;
  bottom:0;
  width:120px;
  height:4px;
  border-radius:2px;
  background:rgba(18,20,23,.3);
}

.fab,
.to-top{
  border-radius:12px;
}
.fab-whatsapp{
  animation:fabPulse 2.8s ease-out infinite;
}

.reveal{
  transform:translateY(22px);
  transition:
    opacity .7s cubic-bezier(.2,.7,.2,1),
    transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay:calc(var(--reveal-index, 0) * 70ms);
}
.car-card.reveal{
  transform:translateY(24px) scale(.985);
}
.car-card.reveal.in{
  transform:none;
}

@keyframes heroDrift{
  0%{ transform:scale(1.03) translate3d(0,0,0); }
  100%{ transform:scale(1.08) translate3d(-18px, 10px, 0); }
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress{
  position:fixed; top:0; left:0; right:0; height:3px; z-index:200;
  transform:scaleX(0); transform-origin:left;
  background:linear-gradient(90deg, var(--brand), var(--brand-dark));
  will-change:transform;
}

/* ---------- Hand-drawn underline under highlighted words ---------- */
.section-title .hl{
  position:relative;
  display:inline-block;
}
.section-title .hl::before{
  content:"";
  position:absolute;
  left:-3%;
  right:-3%;
  bottom:-4px;
  height:7px;
  border-radius:50%;
  border-bottom:3px solid var(--brand);
  border-left:3px solid transparent;
  border-right:3px solid transparent;
  transform:rotate(-1.2deg) scaleX(0);
  transform-origin:right;
  transition:transform .6s cubic-bezier(.2,.7,.2,1) .15s;
  opacity:.85;
}
/* المميّز في الهيرو يبقى بدون خط */
.hero-title .hl::before{ display:none; }

/* تفعيل خط العنوان عند ظهور القسم */
.section-title.draw .hl::before{ transform:rotate(-1.2deg) scaleX(1); }

/* عدّاد الإحصائيات */
.stat strong{ font-variant-numeric:tabular-nums; }

/* لمسة: تمييز بطاقة السيارة بإطار ذهبي خفيف عند المرور */
.car-card{ transition:transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .3s ease; }
.car-card:hover{ border-color:rgba(242,195,24,.55); }
.car-order{ transition:transform .25s ease, box-shadow .25s ease, background .25s ease; }
.car-card:hover .car-order{ transform:translateY(-2px); }

/* روابط التنقل: نقطة نشطة */
.nav-link.active{ color:var(--ink); }
.nav-link.active::after{ transform:scaleX(1); }

@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    scroll-behavior:auto !important;
    transition-duration:.001ms !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width:992px){
  .features-grid{ grid-template-columns:repeat(2,1fr); }
  .services-grid, .cars-grid, .why-grid{ grid-template-columns:repeat(2,1fr); }
  .contact-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-inner{ grid-template-columns:1fr 1fr; }
}
@media (max-width:820px){
  .main-nav{
    position:fixed; inset:74px 0 auto 0; flex-direction:column; gap:0;
    background:#fff; padding:14px 22px 22px; box-shadow:var(--shadow);
    transform:translateY(-130%); transition:transform .35s ease; border-bottom:1px solid var(--line);
  }
  .main-nav.open{ transform:translateY(0); }
  .nav-link{ padding:14px 6px; border-bottom:1px solid var(--line); border-radius:0; }
  .nav-toggle{ display:flex; }
  .header-cta span{ display:none; }
  .header-cta{ padding:11px; }
  .hero-stats{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:600px){
  html, body{ max-width:100%; overflow-x:hidden; }
  .container{ padding-inline:18px; }
  .section{ padding:70px 0; }
  .features-grid, .services-grid, .cars-grid, .why-grid, .contact-grid{ grid-template-columns:1fr; }
  .footer-inner{ grid-template-columns:1fr; gap:30px; }
  .header-inner{ position:relative; height:74px; overflow:hidden; }
  .brand{ position:absolute; top:50%; left:50%; transform:translate(-50%, -50%); }
  .brand-logo{ height:42px; }
  .hero{ min-height:auto; padding-top:104px; padding-bottom:30px; overflow:hidden; }
  .hero-content{ max-width:100%; text-align:center; }
  .eyebrow{ display:block; width:fit-content; max-width:100%; margin-inline:auto; font-size:.72rem; padding-inline:10px; white-space:normal; }
  .hero-title{ max-width:100%; font-size:1.48rem; line-height:1.55; text-align:center; overflow-wrap:anywhere; }
  .hero-title .hl{ display:block; }
  .hero-desc{ max-width:330px; margin-inline:auto; font-size:.9rem; line-height:1.95; text-align:center; overflow-wrap:anywhere; }
  .hero-actions{ flex-direction:column; }
  .hero-actions .btn{ flex:1; }
  .hero-stats{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:42px; padding:18px 12px; }
  .stat{ padding:4px 6px; }
  .stat strong{ font-size:1.55rem; }
  .stat span{ font-size:.82rem; }
  .cta-inner{ flex-direction:column; text-align:center; }
  .stat:not(:last-child)::after{ display:none; }
  .cars-filter{ width:100%; }
  .car-specs{ grid-template-columns:1fr 1fr 1fr; }
  .fab-stack{ left:14px; bottom:14px; gap:8px; }
  .fab{ width:50px; height:50px; }
  .fab svg{ width:25px; height:25px; }
  .to-top{ right:14px; bottom:14px; width:46px; height:46px; }
}

/* ===================================================================
   تناسق الألوان (مستوحى من iyelo): أصفر زاهٍ كتمييز + هيمنة الأبيض
   =================================================================== */
:root{
  --brand: #FFD21F;          /* أصفر اللوقو الزاهي */
  --brand-dark: #E0A600;     /* ذهبي للـ hover (دافئ لا بني) */
  --brand-soft: #FFF6D6;     /* أصفر فاتح للخلفيات */
  --ink: #14161A;
  --ink-2: #1E222B;
  --bg-soft: #F8F7F3;
  --line: #ECE9E0;
  --shadow-brand: 0 14px 30px rgba(255,210,31,.32);
}

/* خلفية أنظف وأكثر بياضاً */
body{
  background:
    linear-gradient(180deg, #fff 0%, #fcfbf8 60%, #fff 100%);
}

/* الكلمات المميّزة على الأبيض: نص داكن + الخط الأصفر تحتها (تباين أوضح) */
.section-title .hl{ color:var(--ink); }
.section-title.light .hl{ color:var(--brand); }
.section-title .hl::before{ border-bottom-color:var(--brand); }

/* الشارات: خلفية فاتحة ونص داكن مقروء */
.section-tag{ color:var(--ink); background:var(--brand-soft); }
.section-tag.light{ color:var(--ink); background:var(--brand); }

/* أزرار أساسية: أصفر زاهٍ نظيف */
.btn-primary{
  background:var(--brand);
  color:var(--ink);
  box-shadow:var(--shadow-brand);
}
.btn-primary:hover{ background:var(--brand-dark); }

/* شريط الـ CTA: أصفر نظيف بدل التدرّج المائل للزيتوني */
.cta-band{ background:var(--brand); }
.cta-band p{ color:#4a3f10; }
.cta-band h2::after{ background:rgba(20,22,26,.32); }

/* أيقونات الميزات: ذهبي مقروء على خلفية فاتحة */
.feature-ico{ color:var(--brand-dark); }

/* تناوب خلفيات الأقسام (أبيض / أوف-وايت) */
.services{ background:#fff; }
.cars{ background:var(--bg-soft); }
.cars .car-card,
.cars .cars-filter{ background:#fff; }

/* بطاقات السيارات: السعر بالأصفر الداكن المقروء */
.car-type{ color:var(--brand-dark); }

/* أيقونات التواصل: نفس لغة أيقونات الميزات (line + مربع ذهبي ناعم) */
.contact-ico{
  width:64px; height:64px; margin:0 auto 18px; border-radius:14px;
  background:var(--brand);
  color:var(--ink);
  box-shadow:0 10px 24px rgba(255,210,31,.4);
  transition:transform .35s cubic-bezier(.2,.7,.2,1);
}
.contact-card:hover .contact-ico{ transform:translateY(-3px) rotate(-4deg); }
.contact-ico .ico-line{ width:30px; height:30px; }
/* الواتساب بنفس تصميم باقي الأيقونات (أصفر + شعار أسود) */
.contact-ico.wa{ background:var(--brand); box-shadow:0 10px 24px rgba(255,210,31,.4); }
.contact-ico.wa svg{ width:30px; height:30px; fill:var(--ink); }

/* زر الاتصال العائم: مربع أصفر + أيقونة سوداء + نبض ذهبي */
.fab-call{ background:var(--brand); box-shadow:0 12px 30px rgba(255,210,31,.4); animation:fabPulseGold 2.8s ease-out infinite; }
.fab-call svg{ fill:var(--ink); }
@keyframes fabPulseGold{
  0%{ box-shadow:0 0 0 0 rgba(255,210,31,.55); }
  70%{ box-shadow:0 0 0 18px rgba(255,210,31,0); }
  100%{ box-shadow:0 0 0 0 rgba(255,210,31,0); }
}

/* خط منحنٍ ذهبي تحت اسم الشركة في الهيرو */
.eyebrow{ position:relative; }
.eyebrow::after{
  content:"";
  position:absolute; left:14%; right:14%; bottom:-9px; height:7px;
  border-radius:50%;
  border-bottom:3px solid var(--brand);
  border-left:3px solid transparent;
  border-right:3px solid transparent;
  transform:rotate(-1.2deg) scaleX(0);
  transform-origin:center;
  transition:transform .6s cubic-bezier(.2,.7,.2,1) .35s;
}
.eyebrow.in::after{ transform:rotate(-1.2deg) scaleX(1); }

/* ===================================================================
   سلايدر صور الهيرو (crossfade + تكبير ناعم)
   =================================================================== */
.hero-slider{ position:absolute; inset:0; z-index:-2; overflow:hidden; }
.hero-slide{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  opacity:0; transition:opacity 1s ease-in-out;
}
.hero-slide.is-active{ opacity:1; z-index:0; }

/* طبقة القطع المتكسّرة */
.hero-tiles{ position:absolute; inset:0; z-index:1; pointer-events:none; }
.hero-tile{
  position:absolute;
  background-repeat:no-repeat;
  transform:translateX(0) rotate(0) scale(1);
  transition:transform 1.3s cubic-bezier(.55,0,.3,1), opacity 1.3s ease;
  will-change:transform, opacity;
  backface-visibility:hidden;
}

/* نقاط مؤشّر السلايدر */
.hero-dots{
  position:absolute; bottom:18px; left:50%; transform:translateX(-50%);
  display:flex; gap:9px; z-index:2;
}
.hero-dot{
  width:9px; height:9px; border-radius:50%; cursor:pointer; padding:0; border:none;
  background:rgba(255,255,255,.4); transition:.3s;
}
.hero-dot.is-active{ background:var(--brand); width:26px; border-radius:6px; }
@media (prefers-reduced-motion: reduce){
  .hero-slide.is-active{ animation:none; }
}

/* ===================================================================
   زر المحادثة العائم (يتمدّد عند المرور)
   =================================================================== */
.fab{ border-radius:14px; }
.fab-chat{
  width:60px; height:60px; padding:0;
  border-radius:14px; color:var(--ink);
  background:var(--brand);
  box-shadow:0 14px 30px rgba(255,210,31,.45);
  display:flex; align-items:center; justify-content:center;
  animation:fabPulseGold 2.8s ease-out infinite;
}
.fab-chat:hover{ transform:translateY(-3px); }
.fab-chat-label{ display:none; }
.fab-chat-icowrap{ position:relative; display:flex; flex:none; }
.fab-chat .ico-line{ width:30px; height:30px; stroke:var(--ink); stroke-width:1.8; }
.fab-chat-dot{
  position:absolute; top:-3px; inset-inline-end:-3px;
  width:12px; height:12px; border-radius:50%;
  background:#ff5a5f; border:2px solid var(--brand);
  animation:fabDot 1.6s ease-in-out infinite;
}
@keyframes fabDot{
  0%,100%{ transform:scale(1); }
  50%{ transform:scale(1.35); }
}
.fab-chat-label{
  max-width:0; opacity:0; overflow:hidden; white-space:nowrap;
  font-family:var(--font-head); font-weight:800; font-size:.95rem;
  transition:max-width .4s ease, opacity .35s ease, margin .4s ease;
}
.fab-chat:hover .fab-chat-label{ max-width:150px; opacity:1; margin-inline-start:9px; }

/* توحيد حجم الزرّين العائمين على الجوال (يأتي بعد تعريف .fab-chat لتجاوز الـ 60px) */
@media (max-width:600px){
  .fab-chat{ width:50px; height:50px; }
  .fab-chat .ico-line{ width:25px; height:25px; }
}

/* ===================================================================
   قسم: كيف تطلب سيارتك؟ (٣ خطوات)
   =================================================================== */
.steps{ background:var(--bg-soft); }
.steps-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
  position:relative; counter-reset:step;
}
.steps-grid::before{
  content:""; position:absolute; top:38px; inset-inline:14%;
  height:2px; background:repeating-linear-gradient(90deg, var(--brand) 0 10px, transparent 10px 20px);
  opacity:.5; z-index:0;
}
.step-card{
  position:relative; z-index:1; text-align:center;
  background:#fff; border:1px solid var(--line); border-radius:14px;
  padding:34px 24px; transition:transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.step-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); }
.step-num{
  width:64px; height:64px; margin:0 auto 18px;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%; background:var(--brand); color:var(--ink);
  font-family:var(--font-head); font-weight:900; font-size:1.5rem;
  box-shadow:var(--shadow-brand); position:relative;
}
.step-num svg{ width:30px; height:30px; }
.step-badge{
  position:absolute; top:-6px; inset-inline-end:-6px;
  width:26px; height:26px; border-radius:50%;
  background:var(--ink); color:#fff; font-size:.85rem; font-weight:800;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-head);
}
.step-card h3{ font-size:1.2rem; margin-bottom:8px; }
.step-card p{ color:var(--muted); font-size:.97rem; }

@media (max-width:992px){
  .steps-grid{ grid-template-columns:1fr; gap:18px; }
  .steps-grid::before{ display:none; }
}

/* شريط إحصائيات الهيرو: أضيق وموسّط */
.hero-stats{ max-width:900px; margin-inline:auto; }

/* زر «عرض المزيد» أسفل شبكة السيارات */
.cars-more{ display:flex; justify-content:center; margin-top:34px; }
.cars-more[hidden]{ display:none; }
