/* ===========================================================
   مون الحديثة — نظام تصميم صفحات الخدمات والتفاصيل
   Premium design system for services + service detail pages
   Plain CSS (no build). RTL/LTR safe via logical properties.
   =========================================================== */

:root {
  --harbor: #0B2E4F;
  --harbor-light: #155183;
  --harbor-dark: #07203A;
  --teal: #1791C6;
  --teal-light: #4EB4DE;
  --teal-dark: #0F6E9B;
  --gold: #F0A73A;
  --gold-light: #F7C46C;
  --gold-dark: #C9801C;
  --sand: #F6EFE2;
  --mist: #EFF5FB;
  --ink: #0F2030;
  --line: rgba(11, 46, 79, 0.10);
  --shadow-soft: 0 10px 30px rgba(7, 32, 58, 0.07);
  --shadow-lift: 0 26px 60px -24px rgba(7, 32, 58, 0.35);
  --radius: 22px;
  --container: 80rem;
}

/* ---------------- Shared page scaffolding ---------------- */
.page-shell { display: block; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.5rem; }
@media (min-width: 768px) { .container { padding-inline: 2.5rem; } }

.section { padding-block: 4.5rem; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }

.eyebrow-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem 1rem; border-radius: 999px;
  background: rgba(23, 145, 198, .10); color: var(--teal-dark);
  font-size: .8rem; font-weight: 700; letter-spacing: .02em;
}
.eyebrow-badge--gold { background: rgba(240, 167, 58, .14); color: var(--gold-dark); }

.sec-head { max-width: 46rem; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-title {
  margin-top: 1rem; font-family: "Tajawal", "IBM Plex Sans Arabic", sans-serif;
  font-weight: 800; color: var(--harbor); line-height: 1.25;
  font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.6rem);
}
.sec-sub { margin-top: 1rem; color: rgba(15, 32, 48, .70); line-height: 1.85; font-size: 1.02rem; }

/* ---------------- Buttons ---------------- */
.btn-g {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.7rem; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn-g:hover { transform: translateY(-2px); }
.btn-g--gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--harbor-dark); box-shadow: 0 14px 28px -12px rgba(240, 167, 58, .7); }
.btn-g--gold:hover { box-shadow: 0 20px 34px -12px rgba(240, 167, 58, .85); }
.btn-g--navy { background: var(--harbor); color: #fff; box-shadow: 0 14px 28px -14px rgba(11, 46, 79, .8); }
.btn-g--navy:hover { background: var(--harbor-dark); }
.btn-g--ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.btn-g--ghost:hover { background: rgba(255, 255, 255, .22); }
.btn-g--line { background: #fff; color: var(--harbor); border: 1px solid var(--line); }
.btn-g--line:hover { border-color: var(--teal); color: var(--teal-dark); box-shadow: var(--shadow-soft); }
.btn-g--wa { background: linear-gradient(140deg, #34d17a, #128C7E); color: #fff; box-shadow: 0 14px 28px -14px rgba(18, 140, 126, .85); }
.btn-g--wa:hover { box-shadow: 0 20px 34px -12px rgba(18, 140, 126, .95); }
.btn-g--fasah { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--harbor-dark); box-shadow: 0 14px 28px -12px rgba(240, 167, 58, .7); }
.btn-g--fasah:hover { box-shadow: 0 20px 34px -12px rgba(240, 167, 58, .85); }
.btn-g i { font-size: .85em; }

/* ---------------- Breadcrumbs ---------------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .85rem; color: rgba(255, 255, 255, .72); }
.crumbs a { color: inherit; text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--gold-light); }
.crumbs .sep { opacity: .5; }
.crumbs .cur { color: #fff; font-weight: 600; }

/* ---------------- Page hero (services index) ---------------- */
.svc-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 480px at 82% -12%, rgba(23, 145, 198, .38), transparent 60%),
    radial-gradient(760px 420px at 8% 8%, rgba(240, 167, 58, .16), transparent 62%),
    linear-gradient(165deg, var(--harbor) 0%, var(--harbor-dark) 100%);
  color: #fff;
  padding-block: 9.5rem 7rem;
}
@media (min-width: 768px) { .svc-hero { padding-block: 11rem 8.5rem; } }
.svc-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 70% 30%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 78%);
}
.svc-hero__inner { position: relative; z-index: 1; }
.svc-hero__title {
  margin-top: 1.4rem; font-family: "Tajawal", "IBM Plex Sans Arabic", sans-serif;
  font-weight: 800; line-height: 1.15; letter-spacing: -.01em;
  font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.6rem);
}
.svc-hero__title .accent {
  display: block; margin-top: .35rem;
  background: linear-gradient(100deg, var(--gold-light), var(--teal-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.svc-hero__desc { margin-top: 1.3rem; max-width: 44rem; color: rgba(255, 255, 255, .82); line-height: 1.95; font-size: 1.05rem; }
.svc-hero__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-fade { position: absolute; inset-inline: 0; bottom: 0; line-height: 0; pointer-events: none; }
.hero-fade svg { display: block; width: 100%; height: 3.5rem; }
@media (min-width: 768px) { .hero-fade svg { height: 4.5rem; } }

/* ---------------- Service cards (index grid) ---------------- */
.svc-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

.svc-card {
  position: relative; display: flex; flex-direction: column;
  padding: 2rem 1.75rem 1.6rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  overflow: hidden; text-decoration: none; color: inherit; isolation: isolate;
  transition: transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s ease, border-color .35s ease;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; opacity: 0;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transition: opacity .35s ease;
}
.svc-card::after {
  content: attr(data-num); position: absolute; z-index: -1;
  inset-block-start: -1.2rem; inset-inline-end: .8rem;
  font-family: "Tajawal", sans-serif; font-weight: 800; font-size: 7rem; line-height: 1;
  color: rgba(11, 46, 79, .05); transition: color .35s ease, transform .35s ease;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: rgba(23, 145, 198, .35); }
.svc-card:hover::before { opacity: 1; }
.svc-card:hover::after { color: rgba(23, 145, 198, .12); transform: translateY(4px); }

.svc-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.6rem; height: 3.6rem; border-radius: 1rem;
  background: linear-gradient(140deg, rgba(23, 145, 198, .16), rgba(11, 46, 79, .10));
  color: var(--teal-dark); font-size: 1.5rem;
}
.svc-card__title { margin-top: 1.4rem; font-family: "Tajawal", sans-serif; font-weight: 800; font-size: 1.35rem; color: var(--harbor); }
.svc-card__desc { margin-top: .65rem; color: rgba(15, 32, 48, .68); line-height: 1.85; font-size: .95rem; }

.svc-chips { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.svc-chips span {
  font-size: .76rem; font-weight: 600; padding: .32rem .7rem; border-radius: 999px;
  background: var(--mist); color: var(--harbor-light); border: 1px solid rgba(11, 46, 79, .07);
}

.svc-card__link {
  margin-top: 1.5rem; padding-top: 1.15rem; border-top: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: .9rem; color: var(--teal-dark);
}
.svc-card__link .arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 999px; background: rgba(23, 145, 198, .12);
  transition: transform .3s ease, background .3s ease;
}
.svc-card:hover .svc-card__link .arrow { transform: translateX(var(--dir-x, -4px)); background: var(--gold); color: var(--harbor-dark); }

/* RTL arrow nudge direction */
[dir="rtl"] .svc-card__link .arrow { --dir-x: 4px; }

/* ---------------- Service media (image) ---------------- */
.svc-media {
  display: flex; align-items: center; justify-content: center;
  height: 11rem; margin-bottom: 1.4rem; border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--line); overflow: hidden;
}
.svc-media img { max-height: 8.6rem; max-width: 90%; width: auto; height: auto; object-fit: contain; }

/* ---------------- Split category band ---------------- */
.cat-band { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .cat-band { grid-template-columns: repeat(2, 1fr); } }
.cat-card {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 2.2rem;
  color: #fff; border: 1px solid rgba(255, 255, 255, .12);
}
.cat-card--navy { background: linear-gradient(150deg, var(--harbor), var(--harbor-dark)); }
.cat-card--teal { background: linear-gradient(150deg, var(--teal-dark), var(--harbor-dark)); }
.cat-card::after {
  content: ""; position: absolute; inset-inline-end: -4rem; inset-block-start: -4rem;
  width: 16rem; height: 16rem; border-radius: 50%; background: rgba(255, 255, 255, .07);
}
.cat-card__k { position: relative; z-index: 1; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-light); }
.cat-card__t { position: relative; z-index: 1; margin-top: .7rem; font-family: "Tajawal", sans-serif; font-weight: 800; font-size: 1.6rem; }
.cat-card__d { position: relative; z-index: 1; margin-top: .7rem; color: rgba(255, 255, 255, .8); line-height: 1.85; font-size: .95rem; }
.cat-card__list { position: relative; z-index: 1; margin-top: 1.3rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.cat-card__list span { font-size: .8rem; font-weight: 600; padding: .35rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .12); }

/* ---------------- Detail hero ---------------- */
.dt-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 88% 0%, rgba(240, 167, 58, .22), transparent 58%),
    radial-gradient(720px 460px at 6% 100%, rgba(23, 145, 198, .34), transparent 60%),
    linear-gradient(160deg, var(--harbor) 0%, var(--harbor-dark) 100%);
  padding-block: 9rem 5.5rem;
}
@media (min-width: 768px) { .dt-hero { padding-block: 10.5rem 6.5rem; } }
.dt-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .3; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.dt-hero__inner { position: relative; z-index: 1; }
.dt-hero__grid { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .dt-hero__grid { grid-template-columns: 1.35fr .65fr; } }

.dt-medallion {
  display: inline-flex; align-items: center; justify-content: center;
  width: 5rem; height: 5rem; border-radius: 1.4rem; font-size: 2.1rem; color: #fff;
  background: linear-gradient(140deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .06));
  border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
}
.dt-medallion--img { background: rgba(255, 255, 255, .95); border-color: rgba(255, 255, 255, .6); overflow: hidden; }
.dt-medallion--img img { width: 64%; height: 64%; object-fit: contain; }
.dt-hero__title { margin-top: 1.2rem; font-family: "Tajawal", sans-serif; font-weight: 800; line-height: 1.18; font-size: clamp(2rem, 1.2rem + 3vw, 3.2rem); }
.dt-hero__desc { margin-top: 1.1rem; max-width: 42rem; color: rgba(255, 255, 255, .82); line-height: 1.95; }
.dt-hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem; }

.dt-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.dt-stat {
  padding: 1.1rem 1rem; border-radius: 1rem; text-align: center;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px);
}
.dt-stat__v { font-family: "Tajawal", sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--gold-light); }
.dt-stat__l { margin-top: .25rem; font-size: .76rem; color: rgba(255, 255, 255, .75); }

/* ---------------- Overview split ---------------- */
.ov-grid { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .ov-grid { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; } }
.ov-text p { margin-top: 1.1rem; color: rgba(15, 32, 48, .74); line-height: 1.95; }

.ov-panel {
  border-radius: var(--radius); padding: 1.9rem; color: #fff;
  background: linear-gradient(155deg, var(--harbor), var(--harbor-dark));
  box-shadow: var(--shadow-lift); position: relative; overflow: hidden;
}
.ov-panel::after { content: ""; position: absolute; inset-inline-end: -3rem; inset-block-end: -3rem; width: 13rem; height: 13rem; border-radius: 50%; background: rgba(240, 167, 58, .16); }
.ov-panel__t { position: relative; z-index: 1; font-family: "Tajawal", sans-serif; font-weight: 800; font-size: 1.25rem; }
.ov-panel ul { position: relative; z-index: 1; margin-top: 1.2rem; list-style: none; padding: 0; display: grid; gap: .9rem; }
.ov-panel li { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; color: rgba(255, 255, 255, .88); line-height: 1.7; }
.ov-panel li i { color: var(--gold-light); margin-top: .2rem; }

/* ---------------- Feature grid ---------------- */
.feat-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }

.feat-item {
  padding: 1.6rem; border-radius: 18px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feat-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: rgba(240, 167, 58, .4); }
.feat-item__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.9rem; height: 2.9rem; border-radius: .85rem; font-size: 1.15rem;
  background: rgba(240, 167, 58, .14); color: var(--gold-dark);
}
.feat-item__t { margin-top: 1rem; font-family: "Tajawal", sans-serif; font-weight: 800; font-size: 1.08rem; color: var(--harbor); }
.feat-item__d { margin-top: .5rem; color: rgba(15, 32, 48, .66); line-height: 1.8; font-size: .9rem; }

/* ---------------- Process steps ---------------- */
.proc { display: grid; gap: 1.5rem; grid-template-columns: 1fr; position: relative; }
@media (min-width: 768px) { .proc { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .proc { grid-template-columns: repeat(4, 1fr); } }

.proc-step { position: relative; padding-top: .5rem; }
.proc-step__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.4rem; height: 3.4rem; border-radius: 1rem;
  font-family: "Tajawal", sans-serif; font-weight: 800; font-size: 1.25rem; color: #fff;
  background: linear-gradient(140deg, var(--teal), var(--harbor));
  box-shadow: 0 14px 26px -14px rgba(23, 145, 198, .9);
}
.proc-step:nth-child(even) .proc-step__n { background: linear-gradient(140deg, var(--gold), var(--gold-dark)); box-shadow: 0 14px 26px -14px rgba(240, 167, 58, .9); }
.proc-step__t { margin-top: 1.1rem; font-family: "Tajawal", sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--harbor); }
.proc-step__d { margin-top: .5rem; color: rgba(15, 32, 48, .68); line-height: 1.8; font-size: .9rem; }

/* ---------------- Why band ---------------- */
.why-band {
  border-radius: var(--radius); padding: 2.5rem 2rem; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--harbor-dark), var(--harbor) 60%, var(--teal-dark));
}
.why-band::before { content: ""; position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 48px 48px; }
.why-grid { position: relative; z-index: 1; display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-top: 1.8rem; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-item { display: flex; gap: .9rem; align-items: flex-start; }
.why-item i { font-size: 1.4rem; color: var(--gold-light); margin-top: .15rem; }
.why-item h4 { font-family: "Tajawal", sans-serif; font-weight: 800; font-size: 1.02rem; }
.why-item p { margin-top: .35rem; color: rgba(255, 255, 255, .76); line-height: 1.75; font-size: .88rem; }
.why-band__title { position: relative; z-index: 1; font-family: "Tajawal", sans-serif; font-weight: 800; font-size: 1.7rem; }

/* ---------------- FAQ accordion ---------------- */
.faq { display: grid; gap: .9rem; max-width: 52rem; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-soft); overflow: hidden; transition: border-color .3s ease; }
.faq-item[open] { border-color: rgba(23, 145, 198, .4); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: "Tajawal", sans-serif; font-weight: 800; font-size: 1.02rem; color: var(--harbor);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 999px; background: rgba(23, 145, 198, .12); color: var(--teal-dark);
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--gold); color: var(--harbor-dark); }
.faq-body { padding: 0 1.5rem 1.35rem; color: rgba(15, 32, 48, .72); line-height: 1.9; font-size: .95rem; }

/* ---------------- Related services ---------------- */
.rel-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .rel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .rel-grid { grid-template-columns: repeat(3, 1fr); } }
.rel-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.3rem;
  border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  text-decoration: none; color: inherit; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.rel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--teal); }
.rel-card__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 2.9rem; height: 2.9rem; border-radius: .9rem; background: var(--mist); color: var(--teal-dark); font-size: 1.15rem; }
.rel-card__t { font-family: "Tajawal", sans-serif; font-weight: 800; font-size: 1.02rem; color: var(--harbor); }
.rel-card__d { margin-top: .2rem; font-size: .82rem; color: rgba(15, 32, 48, .6); }

/* ---------------- CTA band ---------------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius); text-align: center;
  padding: 3.5rem 2rem; color: #fff;
  background: radial-gradient(700px 320px at 50% 0%, rgba(240, 167, 58, .28), transparent 60%), linear-gradient(150deg, var(--harbor), var(--harbor-dark));
}
@media (min-width: 768px) { .cta-band { padding: 4.5rem 3rem; } }
.cta-band__t { position: relative; font-family: "Tajawal", sans-serif; font-weight: 800; font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.3rem); }
.cta-band__d { position: relative; margin-top: .9rem; color: rgba(255, 255, 255, .8); max-width: 40rem; margin-inline: auto; line-height: 1.9; }
.cta-band__actions { position: relative; margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ---------------- About page ---------------- */
.about-grid { display: grid; gap: 2.6rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1.05fr .95fr; gap: 3.6rem; } }

.about-visual {
  position: relative; overflow: hidden; border-radius: var(--radius);
  padding: 2.4rem; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(560px 300px at 82% 8%, rgba(23, 145, 198, .16), transparent 62%),
    radial-gradient(480px 280px at 6% 96%, rgba(240, 167, 58, .14), transparent 62%),
    linear-gradient(150deg, var(--mist), #ffffff);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.about-visual img { width: 100%; max-width: 26rem; height: auto; }
.about-visual__chip {
  position: absolute; display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .95rem; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-soft); font-size: .8rem; font-weight: 700; color: var(--harbor);
}
.about-visual__chip i { color: var(--gold-dark); }
.about-visual__chip--a { inset-block-start: 1.3rem; inset-inline-start: 1.3rem; }
.about-visual__chip--b { inset-block-end: 1.3rem; inset-inline-end: 1.3rem; }

.stat-band { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .stat-band { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  text-align: center; padding: 1.8rem 1rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.stat-card i { font-size: 1.7rem; color: var(--gold-dark); }
.stat-card__v { margin-top: .7rem; font-family: "Tajawal", sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--harbor); }
.stat-card__l { margin-top: .3rem; font-size: .85rem; color: rgba(15, 32, 48, .6); }

.trio { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.trio-card {
  padding: 2rem; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); border-top: 4px solid var(--teal); box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.trio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.trio-card--gold { border-top-color: var(--gold); }
.trio-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.2rem; height: 3.2rem; border-radius: 1rem; font-size: 1.4rem;
  background: rgba(23, 145, 198, .12); color: var(--teal-dark);
}
.trio-card--gold .trio-card__icon { background: rgba(240, 167, 58, .16); color: var(--gold-dark); }
.trio-card__t { margin-top: 1.1rem; font-family: "Tajawal", sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--harbor); }
.trio-card__d { margin-top: .6rem; color: rgba(15, 32, 48, .72); line-height: 1.85; font-size: .95rem; }

/* ---------------- Contact page ---------------- */
.contact-cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }

.contact-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 1.8rem; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  text-decoration: none; color: inherit;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: rgba(23, 145, 198, .35); }
.contact-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.2rem; height: 3.2rem; border-radius: 1rem; font-size: 1.4rem; color: #fff;
}
.contact-card__icon--wa { background: linear-gradient(140deg, #34d17a, #128C7E); }
.contact-card__icon--mail { background: linear-gradient(140deg, var(--gold-light), var(--gold-dark)); }
.contact-card__icon--call { background: linear-gradient(140deg, var(--teal-light), var(--teal-dark)); }
.contact-card__icon--loc { background: linear-gradient(140deg, var(--harbor-light), var(--harbor-dark)); }
.contact-card__t { margin-top: 1rem; font-family: "Tajawal", sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--harbor); }
.contact-card__d { margin-top: .35rem; font-size: .88rem; color: rgba(15, 32, 48, .66); line-height: 1.7; }
.contact-card__go { margin-top: 1rem; display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 700; color: var(--teal-dark); }
.contact-card__go i { transition: transform .3s ease; }
.contact-card:hover .contact-card__go i { transform: translateX(var(--dir-x, -4px)); }
[dir="rtl"] .contact-card__go i { --dir-x: 4px; }

.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.1fr .9fr; gap: 3rem; } }

.contact-form {
  padding: 2rem; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.contact-form .field { margin-top: 1.15rem; }
.contact-form label { display: block; margin-bottom: .45rem; font-size: .85rem; font-weight: 700; color: var(--harbor); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 14px;
  border: 1px solid var(--line); background: #fff; font: inherit; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(23, 145, 198, .12);
}
.contact-form textarea { min-height: 8rem; resize: vertical; }
.contact-form__row { display: grid; gap: 1.15rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .contact-form__row { grid-template-columns: 1fr 1fr; } }
.contact-form__note { margin-top: .9rem; font-size: .78rem; color: rgba(15, 32, 48, .55); line-height: 1.7; }

.map-shell { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.map-shell iframe { display: block; width: 100%; height: 26rem; border: 0; }
@media (min-width: 768px) { .map-shell iframe { height: 30rem; } }
.map-actions { margin-top: 1.5rem; display: flex; justify-content: center; }

/* ---------------- Quote page (طلب عرض سعر) ---------------- */
.q-license {
  position: relative; overflow: hidden; border-radius: var(--radius);
  padding: 2.6rem 2rem; text-align: center; color: #fff;
  background: linear-gradient(155deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(14px);
  box-shadow: 0 26px 60px -24px rgba(0, 0, 0, .55);
}
.q-license::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(420px 200px at 50% 0%, rgba(240, 167, 58, .35), transparent 65%);
}
.q-license__icon {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 3.6rem; height: 3.6rem; border-radius: 1rem; font-size: 1.5rem; color: var(--harbor-dark);
  background: linear-gradient(140deg, var(--gold-light), var(--gold));
}
.q-license__label { position: relative; display: block; margin-top: 1.1rem; font-size: .85rem; font-weight: 700; color: rgba(255, 255, 255, .82); }
.q-license__num {
  position: relative; display: block; margin-top: .5rem;
  font-family: "Tajawal", "IBM Plex Sans Arabic", sans-serif; font-weight: 800;
  font-size: clamp(3.4rem, 2rem + 5vw, 5.2rem); line-height: 1; letter-spacing: .04em; direction: ltr;
  background: linear-gradient(100deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.q-license__note { position: relative; display: block; margin-top: .8rem; font-size: .82rem; color: rgba(255, 255, 255, .72); }

.q-steps { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .q-steps { grid-template-columns: repeat(2, 1fr); } }

.q-step {
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  padding: 2.3rem 2rem; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.q-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: rgba(23, 145, 198, .35); }
.q-step::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--harbor)); }
.q-step--gold::before { background: linear-gradient(90deg, var(--gold), var(--gold-dark)); }
.q-step--gold:hover { border-color: rgba(240, 167, 58, .45); }
.q-step__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.7rem; height: 3.7rem; border-radius: 1.1rem;
  font-family: "Tajawal", sans-serif; font-weight: 800; font-size: 1.45rem; color: #fff;
  background: linear-gradient(140deg, var(--teal), var(--harbor));
  box-shadow: 0 16px 28px -14px rgba(23, 145, 198, .9);
}
.q-step--gold .q-step__n { background: linear-gradient(140deg, var(--gold), var(--gold-dark)); box-shadow: 0 16px 28px -14px rgba(240, 167, 58, .9); }
.q-step__k { margin-top: 1.3rem; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--teal-dark); }
.q-step--gold .q-step__k { color: var(--gold-dark); }
.q-step__t { margin-top: .45rem; font-family: "Tajawal", sans-serif; font-weight: 800; font-size: 1.55rem; color: var(--harbor); line-height: 1.3; }
.q-step__d { margin-top: .8rem; color: rgba(15, 32, 48, .72); line-height: 1.95; font-size: .97rem; }
.q-step__list { margin-top: 1.2rem; list-style: none; padding: 0; display: grid; gap: .6rem; }
.q-step__list li { display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; color: rgba(15, 32, 48, .72); line-height: 1.75; }
.q-step__list i { color: var(--teal-dark); margin-top: .3rem; font-size: .8em; }
.q-step--gold .q-step__list i { color: var(--gold-dark); }
.q-step__actions { margin-top: 1.7rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.q-step__note { margin-top: 1rem; font-size: .78rem; color: rgba(15, 32, 48, .55); line-height: 1.7; }

.q-why {
  margin-top: 1.6rem; border-radius: 18px; padding: 1.3rem 1.5rem;
  background: var(--mist); border: 1px solid var(--line);
  display: flex; gap: .9rem; align-items: flex-start;
}
.q-why i { color: var(--gold-dark); font-size: 1.15rem; margin-top: .15rem; }
.q-why p { color: rgba(15, 32, 48, .72); line-height: 1.85; font-size: .9rem; }
.q-why strong { color: var(--harbor); }

.proc--3 { gap: 1.25rem; }
@media (min-width: 1024px) { .proc--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------------- Navbar language toggle (mobile) ---------------- */
.nav-lang { display: none; }
@media (min-width: 768px) { .nav-lang { display: flex; } }
.nav-lang-mobile {
  margin-top: .6rem;
  width: 100%;
  align-self: stretch;
  border-radius: .8rem;
}
.nav-lang-mobile [data-lang-btn] {
  flex: 1 1 0;
  border-radius: .65rem;
  padding: .72rem 1rem;
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
}

/* ---------------- Footer developer credit ---------------- */
.footer-bottom {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .35rem; text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-around; gap: 1.3rem; text-align: start; }
  .footer-bottom .dev-credit { order: -1; }
}

.dev-credit {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .4rem;
  font-size: .78rem; color: rgba(255, 255, 255, .5);
}
.dev-credit__link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; color: var(--gold-light); text-decoration: none;
  padding-bottom: 1px; border-bottom: 1px dashed rgba(247, 196, 108, .55);
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}
.dev-credit__link:hover { color: #34d17a; border-bottom-color: #34d17a; transform: translateY(-1px); }
.dev-credit__link i { font-size: 1.1em; color: #25D366; }

/* ---------------- Reveal on scroll ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
