:root {
  --peach: #e79a78;
  --peach-deep: #d97f56;
  --peach-tint: #f8dfce;
  --cream: #fbf4ee;
  --cream-2: #f4e9e0;
  --charcoal: #241f1e;
  --charcoal-2: #3a3230;
  --mauve: #8f4a5c;
  --mauve-deep: #6c3548;
  --sage: #6d9c72;
  --line: rgba(36, 31, 30, .1);
  --shadow: 0 20px 50px -25px rgba(111, 53, 72, .35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
.display {
  font-family: 'Aref Ruqaa', serif;
  font-weight: 700;
  color: var(--charcoal);
}

.eyebrow {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: .8rem;
  color: var(--mauve-deep);
  display: inline-flex;
  align-items: center;
  gap: .5em;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--mauve);
  display: inline-block;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- reveal on scroll ---------- */
.reveal {
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.pre {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal.pre {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- nav ---------- */
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 244, 238, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.brand span {
  font-family: 'Aref Ruqaa', serif;
  font-size: 1.15rem;
  font-weight: 700;
}

nav.links {
  display: flex;
  gap: 28px;
  font-family: 'Tajawal', sans-serif;
  font-weight: 500;
  font-size: .92rem;
}

nav.links a {
  opacity: .75;
  transition: opacity .2s, color .2s;
}

nav.links a:hover {
  opacity: 1;
  color: var(--mauve-deep);
}

.nav-cta {
  background: var(--mauve-deep);
  color: #fff;
  padding: 9px 20px;
  border-radius: 100px;
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 20px -10px rgba(108, 53, 72, .6);
  transition: transform .2s, box-shadow .2s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -10px rgba(108, 53, 72, .7);
}

.burger {
  display: none;
  width: 22px;
  height: 16px;
  position: relative;
  cursor: pointer;
  border: none;
  background: none;
}

.burger span {
  position: absolute;
  right: 0;
  width: 100%;
  height: 2px;
  background: var(--charcoal);
  transition: .3s;
}

.burger span:nth-child(1) {
  top: 0;
}

.burger span:nth-child(2) {
  top: 7px;
}

.burger span:nth-child(3) {
  top: 14px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 120px;
  overflow: hidden;
}

.hero-arch {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  max-width: 150vw;
  height: 640px;
  background: radial-gradient(circle at 50% 30%, var(--peach-tint), var(--peach) 72%);
  border-radius: 50% 50% 45% 45% / 55% 55% 40% 40%;
  z-index: 0;
  opacity: .55;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: 'Tajawal', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  color: var(--mauve-deep);
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 10px;
}

.hero .role {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  color: var(--mauve-deep);
  font-size: 1.15rem;
  margin-bottom: 22px;
}

.hero p.lead {
  font-size: 1.05rem;
  color: var(--charcoal-2);
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-primary {
  background: var(--mauve-deep);
  color: #fff;
  padding: 15px 30px;
  border-radius: 100px;
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 16px 30px -12px rgba(108, 53, 72, .55);
  transition: transform .25s, box-shadow .25s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 34px -12px rgba(108, 53, 72, .65);
}

.btn-ghost {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: .75;
}

.btn-ghost:hover {
  opacity: 1;
}

.hero-portrait {
  position: relative;
  justify-self: center;
}

.portrait-frame {
  width: min(340px, 80vw);
  aspect-ratio: 1/1.05;
  border-radius: 50% 50% 42% 42% / 58% 58% 42% 42%;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid #fff;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spark {
  position: absolute;
  color: var(--mauve);
  font-size: 1.4rem;
}

.spark.s1 {
  top: 6%;
  left: 2%;
}

.spark.s2 {
  bottom: 14%;
  right: -4%;
}

.spark.s3 {
  top: 42%;
  right: 4%;
  opacity: .6;
}

/* ---------- section shells ---------- */
section {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin: 10px 0 14px;
}

.section-head p {
  color: var(--charcoal-2);
  font-size: 1rem;
}

/* ---------- about ---------- */
.about {
  background: #fff;
}

.about-inner {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.about-card {
  background: var(--cream-2);
  border-radius: 28px;
  padding: 34px;
  position: relative;
}

.about-card .num {
  font-family: 'Aref Ruqaa', serif;
  font-size: 3.4rem;
  color: var(--peach-deep);
  line-height: 1;
}

.about-card ul {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  color: var(--charcoal-2);
}

.about-card li::before {
  content: "—";
  color: var(--mauve);
  flex: none;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--charcoal-2);
}

.license-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  background: var(--charcoal);
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  font-family: 'Tajawal', sans-serif;
  font-size: .8rem;
  font-weight: 500;
}

.license-chip b {
  font-weight: 700;
  color: var(--peach-tint);
}

/* ---------- services ---------- */
.services {
  background: var(--cream);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px 16px 30% 30%;
  background: var(--peach-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--mauve-deep);
  fill: none;
  stroke-width: 1.6;
}

.service-card h3 {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.service-card p {
  font-size: .88rem;
  color: var(--charcoal-2);
}

/* ---------- process ---------- */
.process {
  background: #fff;
}

.process-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.process-inner::before {
  content: "";
  position: absolute;
  top: 26px;
  right: 16.5%;
  left: 16.5%;
  height: 1px;
  background: repeating-linear-gradient(to left, var(--line) 0 8px, transparent 8px 16px);
}

.step {
  position: relative;
  text-align: center;
}

.step .n {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--mauve-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Aref Ruqaa', serif;
  font-size: 1.4rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 14px 26px -12px rgba(108, 53, 72, .6);
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.step p {
  font-size: .88rem;
  color: var(--charcoal-2);
  max-width: 26ch;
  margin: 0 auto;
}

/* ---------- testimonials ---------- */
.testimonials {
  background: var(--charcoal);
  color: #fff;
}

.testimonials .section-head h2,
.testimonials .eyebrow {
  color: #fff;
}

.testimonials .eyebrow::before {
  background: var(--peach);
}

.testimonials .section-head p {
  color: rgba(255, 255, 255, .65);
}

.t-grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 6px 20px;
  margin: 0 -6px;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--peach) rgba(255, 255, 255, .1);
}

.t-grid.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.t-grid::-webkit-scrollbar {
  height: 8px;
}

.t-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .08);
  border-radius: 10px;
}

.t-grid::-webkit-scrollbar-thumb {
  background: var(--peach);
  border-radius: 10px;
}

.t-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  padding: 30px 26px;
  flex: 0 0 320px;
  scroll-snap-align: start;
}

.t-card {
  display: flex;
  flex-direction: column;
}

.t-card .stars {
  color: var(--peach);
  letter-spacing: 3px;
  font-size: .8rem;
  margin-bottom: 14px;
}

.t-card p.text {
  margin: 0 0 18px;
  font-size: .9rem;
  color: rgba(255, 255, 255, .85);
  flex: 1;
}

.t-card .who {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  color: var(--peach-tint);
}

.t-card .meta {
  margin-top: 6px;
  font-size: .72rem;
  color: rgba(255, 255, 255, .4);
  font-family: 'Tajawal', sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
}

.t-card .meta svg {
  width: 12px;
  height: 12px;
  flex: none;
}

.t-nav {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.t-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .05);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.t-nav button:hover {
  background: var(--mauve-deep);
  transform: translateY(-2px);
}

.t-nav button svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

.t-note {
  margin-top: 8px;
  font-size: .78rem;
  color: rgba(255, 255, 255, .45);
  font-family: 'Tajawal', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.t-note svg {
  width: 15px;
  height: 15px;
  flex: none;
}

@media (max-width:640px) {
  .t-card {
    flex-basis: 82vw;
  }
}

/* ---------- faq ---------- */
.faq {
  background: #fff;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--cream-2);
  border-radius: 20px;
  padding: 22px 26px;
  transition: background .25s ease, box-shadow .25s ease;
}

.faq-item[open] {
  background: #fff;
  box-shadow: var(--shadow);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--charcoal);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--peach-tint);
  color: var(--mauve-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform .25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 14px;
  color: var(--charcoal-2);
  font-size: .92rem;
}

/* ---------- cta / footer ---------- */
.cta {
  background: linear-gradient(135deg, var(--peach) 0%, var(--mauve-deep) 100%);
  color: #fff;
  border-radius: 32px;
  padding: 56px 40px;
  margin: 0 auto;
  max-width: 1120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}

.cta h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta p {
  color: rgba(255, 255, 255, .85);
  margin-top: 8px;
  max-width: 44ch;
}

.btn-white {
  background: #fff;
  color: var(--mauve-deep);
  padding: 15px 30px;
  border-radius: 100px;
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: transform .25s;
}

.btn-white:hover {
  transform: translateY(-3px);
}

footer {
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--charcoal-2);
  font-size: .88rem;
  max-width: 32ch;
}

footer h4 {
  font-family: 'Tajawal', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 16px;
}

footer ul li {
  margin-bottom: 10px;
  font-size: .88rem;
  color: var(--charcoal-2);
  direction: ltr;
  text-align: right;
}

footer ul li a:hover {
  color: var(--mauve-deep);
}

.aff {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.aff .sw {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
}

.aff .sw svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.6;
}

.aff span {
  font-size: .82rem;
  font-weight: 700;
  color: var(--charcoal-2);
}

.bottom-line {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: 'Tajawal', sans-serif;
  font-size: .78rem;
  color: var(--charcoal-2);
}

.whatsapp-fab {
  position: fixed;
  bottom: 26px;
  left: 26px;
  z-index: 60;
  background: var(--mauve-deep);
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 34px -12px rgba(108, 53, 72, .7);
  transition: transform .25s;
}

.whatsapp-fab:hover {
  transform: scale(1.08);
}

.whatsapp-fab svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
}

/* ---------- responsive ---------- */
@media (max-width:900px) {
  nav.links {
    display: none;
  }

  .burger {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p.lead {
    margin-inline: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-inner {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .process-inner::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width:520px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .wrap {
    padding: 0 20px;
  }
}