/* =====================================================================
   بو مطر | Bu MATAR — التصميم
   نمط داكن فاخر بطابع السيارات الكهربائية + لمسات ذهبية للعروض
   ===================================================================== */

:root {
  --bg: #0a0e1a;
  --bg2: #0e1424;
  --surface: #131b30;
  --surface2: #18233f;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eaf0ff;
  --muted: #9fb0d0;
  --brand: #1e6bff;
  --brand2: #18d0ff;
  --gold: #f6c945;
  --gold2: #ffb020;
  --green: #2ecc71;
  --red: #ff5a6e;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Tajawal", system-ui, -apple-system, sans-serif;
  background: radial-gradient(1200px 700px at 100% -10%, #142b5e33, transparent 60%),
              radial-gradient(1000px 600px at -10% 10%, #18d0ff1a, transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: min(var(--maxw), 92%); margin-inline: auto; }

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 800; }

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: inherit; font-weight: 700; font-size: 1rem;
  padding: .8rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff; box-shadow: 0 10px 30px rgba(30, 107, 255, .4);
}
.btn--primary:hover { box-shadow: 0 14px 40px rgba(24, 208, 255, .5); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand2); color: #fff; background: #ffffff0a; }
.btn--lg { padding: 1rem 2rem; font-size: 1.08rem; }
.btn--block { width: 100%; }

.grad { background: linear-gradient(135deg, var(--brand2), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .9rem; letter-spacing: .5px;
  color: var(--brand2); background: #18d0ff14; border: 1px solid #18d0ff33;
  padding: .35rem .9rem; border-radius: 999px; margin-bottom: 1rem;
}

/* ---------- الشريط العلوي ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); background: rgba(10, 14, 26, .72);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 1.2rem; padding: .8rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand__mark {
  width: 44px; height: 44px; display: grid; place-items: center;
  font-weight: 900; font-family: system-ui; letter-spacing: 1px;
  border-radius: 12px; color: #001; background: linear-gradient(135deg, var(--gold), var(--gold2));
  box-shadow: 0 6px 18px rgba(246, 201, 69, .35);
}
.brand__text strong { display: block; font-size: 1.15rem; }
.brand__text small { color: var(--muted); font-size: .72rem; letter-spacing: 2px; }
.nav__links { display: flex; gap: 1.4rem; margin-inline-start: auto; }
.nav__links a { color: var(--muted); font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav__cta { margin-inline-start: .6rem; }
.nav__toggle { display: none; background: none; border: none; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* ---------- الواجهة ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 80% 0%, #1e6bff33, transparent 60%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .9rem;
  padding: .45rem 1rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.badge--offer { color: #2a1c00; background: linear-gradient(135deg, var(--gold), var(--gold2)); box-shadow: 0 8px 24px rgba(246,201,69,.3); }
.hero__title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; margin-bottom: 1.1rem; }
.hero__sub { color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.18rem); max-width: 38ch; margin-bottom: 1.8rem; }
.hero__sub strong { color: var(--text); }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero__stats { list-style: none; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 1.15rem; color: #fff; }
.hero__stats span { color: var(--muted); font-size: .85rem; }

/* بطاقة السعر في الواجهة */
.hero__card { display: flex; justify-content: center; }
.pricecard {
  width: 100%; max-width: 360px; background: linear-gradient(180deg, var(--surface2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow);
  position: relative;
}
.pricecard__top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-weight: 700; }
.pricecard__tag { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #2a1c00; font-size: .78rem; padding: .25rem .7rem; border-radius: 999px; }
.pricecard__price { display: flex; align-items: baseline; gap: .4rem; margin: .6rem 0 .1rem; }
.pricecard__now { font-size: 3.2rem; font-weight: 900; color: var(--gold); line-height: 1; }
.pricecard__cur { color: var(--muted); font-weight: 700; }
.pricecard__was { color: var(--muted); text-decoration: line-through; opacity: .8; margin-bottom: 1rem; }
.pricecard__list { list-style: none; display: grid; gap: .55rem; margin-bottom: 1.3rem; }
.pricecard__list li { font-size: .98rem; }
.pricecard__note { text-align: center; color: var(--muted); font-size: .82rem; margin-top: .8rem; }

/* ---------- الأقسام العامة ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.8rem; }
.section__head h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: .8rem; }
.section__head p { color: var(--muted); }

/* بطاقات الخدمات */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  position: relative; background: linear-gradient(180deg, var(--surface), var(--bg2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem;
  display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); border-color: #18d0ff55; box-shadow: var(--shadow); }
.card--featured { border-color: var(--brand); box-shadow: 0 18px 50px rgba(30,107,255,.25); }
.card__badge {
  position: absolute; top: -12px; inset-inline-start: 50%; transform: translateX(50%);
  background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff;
  font-size: .78rem; font-weight: 700; padding: .3rem .9rem; border-radius: 999px;
}
.card__icon { font-size: 2.4rem; margin-bottom: .6rem; }
.card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.card__lead { color: var(--muted); margin-bottom: 1rem; }
.card h4 { font-size: .95rem; color: var(--brand2); margin-bottom: .6rem; }
.card__list { list-style: none; display: grid; gap: .5rem; margin-bottom: 1rem; }
.card__list li { position: relative; padding-inline-start: 1.4rem; font-size: .95rem; color: #d4ddf2; }
.card__list li::before { content: "›"; position: absolute; inset-inline-start: 0; color: var(--brand2); font-weight: 900; }
.card__benefit {
  background: #18d0ff10; border: 1px solid #18d0ff2a; border-radius: 12px;
  padding: .7rem .9rem; font-size: .9rem; margin-bottom: 1.2rem; color: #cfe9ff;
}
.card .btn { margin-top: auto; }

/* قسم العرض */
.section--offer { background: var(--bg2); border-block: 1px solid var(--line); }
.offer { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: center; }
.offer__content p { color: var(--muted); margin-bottom: 1.2rem; }
.offer__list { list-style: none; display: grid; gap: .6rem; margin-bottom: 1.6rem; }
.offer__price { display: flex; justify-content: center; }
.bigprice {
  text-align: center; background: linear-gradient(160deg, #221a04, #15203b);
  border: 1px solid var(--gold2); border-radius: 24px; padding: 2.2rem 2.6rem; box-shadow: var(--shadow);
}
.bigprice__label { display: inline-block; color: #2a1c00; background: linear-gradient(135deg, var(--gold), var(--gold2)); font-weight: 800; padding: .35rem 1rem; border-radius: 999px; margin-bottom: 1rem; }
.bigprice__row { display: flex; align-items: baseline; justify-content: center; gap: .5rem; }
.bigprice__now { font-size: 4.5rem; font-weight: 900; color: var(--gold); line-height: 1; }
.bigprice__cur { font-size: 1.4rem; color: var(--muted); font-weight: 700; }
.bigprice__was { display: block; color: var(--muted); text-decoration: line-through; margin-top: .4rem; }
.bigprice__count { margin-top: 1rem; font-weight: 700; color: var(--gold); font-size: .95rem; min-height: 1.2rem; }

/* لماذا نحن */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.why__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; text-align: center; }
.why__ic { font-size: 2rem; display: block; margin-bottom: .6rem; }
.why__item h4 { margin-bottom: .4rem; }
.why__item p { color: var(--muted); font-size: .92rem; }

/* ---------- الحجز ---------- */
.section--booking { background: radial-gradient(700px 400px at 50% 0%, #1e6bff14, transparent 60%); }
.booking { max-width: 760px; margin: 0 auto; background: linear-gradient(180deg, var(--surface), var(--bg2)); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.3rem, 3vw, 2.2rem); box-shadow: var(--shadow); }

.steps { list-style: none; display: flex; gap: .4rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-weight: 700; font-size: .92rem; flex: 1; min-width: 120px; padding: .5rem .6rem; border-radius: 12px; border: 1px solid var(--line); }
.step span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #ffffff10; font-size: .85rem; }
.step.is-active { color: #fff; border-color: var(--brand); background: #1e6bff14; }
.step.is-active span { background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; }
.step.is-done span { background: var(--green); color: #022; }

.panel { display: none; animation: fade .3s ease; }
.panel.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field > span, .field__label { font-weight: 700; font-size: .92rem; }
.field i { color: var(--red); font-style: normal; }
.field input {
  font-family: inherit; font-size: 1rem; color: var(--text);
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: 12px; padding: .8rem 1rem; transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--brand2); box-shadow: 0 0 0 3px #18d0ff22; }
.field input::placeholder { color: #6b7ba0; }
.field__label { display: block; margin: .4rem 0 .7rem; }

/* حقل اصطياد الروبوتات — مخفي عن المستخدم */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

.services-pick { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-bottom: .6rem; }
.pick { cursor: pointer; }
.pick--pkg { grid-column: 1 / -1; }
.pick input { position: absolute; opacity: 0; }
.pick__box {
  display: block; border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem;
  background: rgba(255,255,255,.03); transition: border-color .2s, background .2s;
}
.pick__box strong { display: block; }
.pick__box small { color: var(--muted); font-size: .82rem; }
.pick input:checked + .pick__box { border-color: var(--brand2); background: #18d0ff14; }
.pick--pkg .pick__box { border-color: var(--gold2); background: #f6c9450f; }
.pick--pkg input:checked + .pick__box { border-color: var(--gold); background: #f6c94518; }

.panel__actions { display: flex; gap: .8rem; justify-content: space-between; margin-top: 1.4rem; flex-wrap: wrap; }
.form-error { color: var(--red); font-weight: 600; min-height: 1.2rem; margin-top: .6rem; }

/* التقويم */
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal__head strong { font-size: 1.2rem; }
.cal__nav { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #ffffff08; color: #fff; font-size: 1.4rem; cursor: pointer; transition: background .2s; }
.cal__nav:hover { background: #ffffff14; }
.cal__weekdays, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem; }
.cal__weekdays { margin-bottom: .5rem; }
.cal__weekdays span { text-align: center; color: var(--muted); font-size: .8rem; font-weight: 700; }
.cal__day {
  aspect-ratio: 1; border: 1px solid var(--line); border-radius: 12px; background: #ffffff05;
  color: var(--text); font-family: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  display: grid; place-items: center; transition: all .15s;
}
.cal__day:hover:not(:disabled) { border-color: var(--brand2); background: #18d0ff14; }
.cal__day:disabled { color: #3c4768; cursor: not-allowed; opacity: .45; }
.cal__day.is-selected { background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; border-color: transparent; }
.cal__day.is-empty { border: none; background: none; cursor: default; }
.cal__hint { color: var(--muted); font-size: .85rem; margin-top: 1rem; text-align: center; }

/* الساعات */
.slots__day { font-weight: 700; margin-bottom: 1rem; text-align: center; color: var(--brand2); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .7rem; }
.slot {
  border: 1px solid var(--line); border-radius: 14px; background: #ffffff05; color: var(--text);
  font-family: inherit; font-weight: 700; padding: .85rem .6rem; cursor: pointer; text-align: center;
  transition: all .15s; display: flex; flex-direction: column; gap: .25rem;
}
.slot small { font-weight: 500; font-size: .78rem; color: var(--muted); }
.slot:hover:not(:disabled) { border-color: var(--brand2); background: #18d0ff14; }
.slot.is-selected { background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; border-color: transparent; }
.slot.is-selected small { color: #dfeaff; }
.slot:disabled { opacity: .45; cursor: not-allowed; }
.slot.is-full { border-color: #ff5a6e44; }
.slot.is-full small { color: var(--red); }

/* الملخص */
.summary { display: grid; gap: .7rem; }
.summary__row { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; background: #ffffff05; border: 1px solid var(--line); border-radius: 12px; }
.summary__row span:first-child { color: var(--muted); }
.summary__row span:last-child { font-weight: 700; text-align: left; }
.summary__price { border-color: var(--gold2); background: #f6c9450f; }
.summary__price span:last-child { color: var(--gold); font-size: 1.2rem; }

/* النجاح */
.done { text-align: center; padding: 1.5rem .5rem; }
.done__check { width: 80px; height: 80px; margin: 0 auto 1rem; border-radius: 50%; background: #2ecc7122; border: 2px solid var(--green); display: grid; place-items: center; font-size: 2.4rem; }
.done h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.done p { color: var(--muted); margin-bottom: 1.2rem; }
.done__id { display: inline-block; background: #ffffff0a; border: 1px dashed var(--line); border-radius: 10px; padding: .4rem 1rem; font-weight: 700; margin-bottom: 1.4rem; }
.done__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.btn--wa { background: #25d366; color: #04210f; }
.btn--wa:hover { box-shadow: 0 12px 30px #25d36655; }

/* ---------- التذييل ---------- */
.footer { background: var(--bg2); border-top: 1px solid var(--line); margin-top: 2rem; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding: 3rem 0 2rem; }
.footer__about { color: var(--muted); margin-top: 1rem; max-width: 36ch; }
.footer__col h4 { margin-bottom: .8rem; }
.footer__col p { color: var(--muted); margin-bottom: .5rem; }
.footer__col a:hover { color: var(--brand2); }
.footer__closed { color: var(--red) !important; font-weight: 700; }
.brand--footer { margin-bottom: 0; }
.footer__bar { border-top: 1px solid var(--line); padding: 1.2rem 0; color: var(--muted); font-size: .88rem; text-align: center; }

/* أزرار التواصل العائمة */
.floats { position: fixed; inset-block-end: 22px; inset-inline-start: 22px; z-index: 60; display: flex; flex-direction: column; gap: .7rem; }
.float-btn { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; transition: transform .2s; }
.float-btn:hover { transform: scale(1.08); }
.float-wa { background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(37,211,102,.5); }
.float-snap { background: #fffc00; color: #111; box-shadow: 0 10px 30px rgba(255,252,0,.45); }

/* ---------- استجابة الجوال ---------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { order: -1; }
  .cards { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__links.is-open {
    display: flex; flex-direction: column; position: absolute; inset-inline: 0; top: 100%;
    background: var(--bg2); padding: 1rem 6%; border-bottom: 1px solid var(--line); gap: 1rem;
  }
  .nav__toggle { display: block; margin-inline-start: auto; }
  .nav__cta { display: none; }
  .grid2 { grid-template-columns: 1fr; }
  .services-pick { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .steps .step { min-width: 0; flex: 1; font-size: .8rem; padding: .5rem; }
  .steps .step span { width: 22px; height: 22px; }
}
