:root {
  --bg: #12131e;
  --panel: #1a1a28;
  --panel-2: #222230;
  --line: rgba(255, 255, 255, .09);
  --text: #f3f3f7;
  --muted: #a9abbe;
  --red: #f5302e;
  --red-hover: #ff4a47;
  --font: "Cairo", "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Lalezar", "Cairo", system-ui, sans-serif;
  --script: "Aref Ruqaa", "Amiri", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; font-weight: 900; line-height: 1.2; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.25; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.container { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 16px; }
.container.narrow { max-width: 780px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.6em; border-radius: 2px; border: 2px solid transparent;
  font: 700 1rem/1.4 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: #fff; }
.btn-sm { padding: .5em 1.2em; font-size: .92rem; }
.btn-block { width: 100%; }
.icon { width: 1.3em; height: 1.3em; fill: currentColor; flex: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(21, 21, 32, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-inline-end: auto; }
.brand img { width: auto; height: 44px; }
.brand strong { display: block; font: 400 1.35rem/1.15 var(--display); }
.brand small { display: block; font-size: .75rem; color: var(--muted); line-height: 1.3; }
.nav { display: none; gap: 24px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--red); }
.menu-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; background: none; border: 0; cursor: pointer; }
.menu-toggle span { width: 24px; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav.open {
  display: flex; flex-direction: column; gap: 0;
  position: absolute; inset-inline: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.nav.open a { padding: 14px 20px; border-top: 1px solid var(--line); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding-top: 36px;
  background:
    radial-gradient(520px 420px at 22% 60%, rgba(130, 140, 190, .10), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .025), rgba(255, 255, 255, .025)) 80px 80px / 160px 160px no-repeat,
    linear-gradient(rgba(255, 255, 255, .03), rgba(255, 255, 255, .03)) 480px 400px / 80px 80px no-repeat,
    linear-gradient(rgba(255, 255, 255, .02), rgba(255, 255, 255, .02)) 720px 0 / 160px 80px no-repeat,
    linear-gradient(rgba(255, 255, 255, .025), rgba(255, 255, 255, .025)) 960px 480px / 160px 160px no-repeat,
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(255, 255, 255, .03) 79px 80px),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255, 255, 255, .03) 79px 80px),
    var(--bg);
}
.hero-grid { display: grid; gap: 28px; }
.hero-side p { color: var(--muted); font-size: .95rem; line-height: 1.7; max-width: 22em; margin: 0 0 12px; }
.tag-line { display: block; width: 32px; height: 3px; background: var(--red); }
.hero h1 { font-size: clamp(3rem, 13vw, 5rem); line-height: 1.22; margin-bottom: .35em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-mini { display: flex; align-items: center; gap: 14px; }
.hero-mini img { width: 64px; height: 64px; }
.hero-mini b { display: block; font: 400 2.4rem/1 var(--display); }
.hero-mini span { display: block; color: var(--muted); font-size: .88rem; line-height: 1.45; margin-top: 4px; }

.hero-visual { position: relative; isolation: isolate; max-width: 460px; margin-inline: auto; width: 100%; padding-top: 24px; }
.hero-visual::before {
  content: ""; position: absolute; z-index: 0; inset-inline: 0; top: 16%; bottom: 0;
  background:
    radial-gradient(75% 45% at 50% 22%, rgba(150, 160, 205, .18), transparent 70%),
    linear-gradient(180deg, #27273a, #181826 75%);
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
}
.hero-visual::after {
  content: ""; position: absolute; z-index: 0; top: 4%; inset-inline-start: -14%; width: 38%; aspect-ratio: 1;
  background: rgba(255, 255, 255, .035);
}
.hero-photo { position: relative; z-index: 1; }
.hero-photo img { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45)); }
.hero-card {
  position: absolute; z-index: 2; inset-inline-end: 8px; bottom: 12%;
  width: 150px; min-height: 150px; padding: 12px 14px;
  display: flex; flex-direction: column;
  background: #151522; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
}
.hero-card-kicker { font: 700 1.9rem/1.2 var(--script); color: var(--red); }
.hero-card strong { display: block; font-size: 1.05rem; font-weight: 900; line-height: 1.5; margin-top: 4px; }
.hero-card a { margin-top: auto; padding-top: 12px; font-size: .88rem; font-weight: 700; color: var(--text); text-decoration: none; }
.hero-card a:hover { color: var(--red); }

/* Sections */
.section { padding: 64px 0; }
.section-panel { background: var(--panel); }
.section-head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.section-head h2 { font-size: clamp(2.2rem, 8vw, 3.6rem); }
.section-cta { display: flex; justify-content: center; margin-top: 32px; }
.section-head p { color: var(--muted); margin: 0; }

/* Why */
.why { background: var(--panel); clip-path: polygon(0 0, 100% 2.2vw, 100% 100%, 0 calc(100% - 2.2vw)); padding-block: calc(64px + 2.2vw); margin-block: -1px; }
.why-grid { display: grid; gap: 28px; align-items: center; }
.why-text h2 { font-size: clamp(2.4rem, 9vw, 4rem); }
.why-text p { color: var(--muted); max-width: 26em; margin: 0; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
.stats li { display: flex; align-items: flex-end; gap: 10px; min-width: 0; }
.stats b { font: 400 clamp(2.4rem, 10vw, 3.4rem)/1 var(--display); flex: none; }
.stats span { color: var(--muted); font-size: .9rem; line-height: 1.45; padding-bottom: 4px; }

/* Services */
.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
.card {
  display: flex; flex-direction: column; min-width: 0; padding: 14px;
  background: var(--panel); border: 1px solid var(--line); color: inherit; text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(245, 48, 46, .6); transform: translateY(-4px); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 16px 4px 6px; }
.card h3 { font: 400 1.7rem/1.25 var(--display); margin-bottom: .3em; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* About / client centered */
.about { background: var(--panel); overflow: hidden; }
.about-grid { display: grid; }
.about-text {
  padding: 56px 16px;
  background:
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(255, 255, 255, .035) 79px 80px),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255, 255, 255, .035) 79px 80px),
    var(--panel);
}
.about-text h2 { font-size: clamp(2.4rem, 9vw, 4rem); background: linear-gradient(180deg, #fff 20%, #a9abbe); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-intro { color: var(--muted); max-width: 32em; }
.points { list-style: none; margin: 24px 0 28px; padding: 0; max-width: 34em; }
.points li { display: grid; grid-template-columns: 44px 1fr; gap: 0 10px; padding: 16px 0; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.pt-num { color: var(--red); font: 400 1.5rem/1.2 var(--display); font-variant-numeric: tabular-nums; }
.points h3 { font-size: 1.15rem; margin: 0 0 .1em; }
.points p { color: var(--muted); margin: 0; font-size: .96rem; }
.about-photo { min-height: 360px; position: relative; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: saturate(.7) contrast(1.05); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
.steps li { background: var(--panel); border: 1px solid var(--line); padding: 26px 22px; }
.step-num { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 14px; background: var(--red); color: #fff; font: 400 1.7rem/1 var(--display); }
.steps h3 { font-size: 1.25rem; }
.steps p { color: var(--muted); margin: 0; }

/* FAQ */
.faq details { background: var(--bg); border: 1px solid var(--line); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.6rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; gap: 24px; }
.wa-form, .contact-info { background: var(--panel); border: 1px solid var(--line); padding: 24px 20px; min-width: 0; }
.wa-form label { display: block; font-weight: 700; margin: 0 0 4px; }
.wa-form input, .wa-form select, .wa-form textarea {
  width: 100%; margin-bottom: 16px; padding: 12px 14px; border-radius: 2px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text);
  font: inherit; font-size: 1rem;
}
.wa-form input::placeholder, .wa-form textarea::placeholder { color: #6d7084; }
.wa-form input.invalid { border-color: var(--red); box-shadow: 0 0 0 2px rgba(245, 48, 46, .3); }
.form-note { margin: 12px 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
.info-list { list-style: none; padding: 0; margin: 0 0 18px; }
.info-list li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.info-list li:last-child { border-bottom: 0; }
.info-label { color: var(--red); font-weight: 700; font-size: .9rem; }
.info-list a { text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.info-list small { color: var(--muted); }
.map { margin-bottom: 14px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 240px; border: 0; display: block; filter: grayscale(.85) invert(.92) contrast(.9); }
.rating { display: block; text-align: center; margin-top: 14px; text-decoration: none; color: var(--muted); font-size: .95rem; }
.stars { color: var(--red); letter-spacing: 2px; }

/* Footer */
.site-footer { background: #0d0e16; border-top: 1px solid var(--line); color: var(--muted); padding: 36px 0 90px; text-align: center; font-size: .92rem; }
.footer-inner { display: grid; gap: 8px; justify-items: center; }
.footer-inner img { width: 96px; height: 96px; }
.footer-inner p { margin: 0; }
.footer-inner strong { color: var(--text); }
.disclaimer { max-width: 640px; font-size: .82rem; line-height: 1.8; opacity: .8; }
.copy { font-size: .82rem; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; inset-block-end: 18px; inset-inline-start: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; box-shadow: 0 8px 22px rgba(0, 0, 0, .5); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .hero { padding-top: 56px; }
  .hero-grid {
    grid-template-columns: 190px minmax(0, 1fr) minmax(0, .95fr);
    grid-template-rows: 1fr auto;
    grid-template-areas: "side main visual" "mini main visual";
    gap: 0 44px;
  }
  .hero-side { grid-area: side; padding-top: 24px; }
  .hero-main { grid-area: main; align-self: center; padding-bottom: 40px; }
  .hero-mini { grid-area: mini; align-self: end; margin-bottom: 64px; }
  .hero-visual { grid-area: visual; align-self: end; }
  .hero-card { inset-inline-end: -28px; width: 176px; min-height: 190px; padding: 16px 18px 14px; }
  .section { padding: 88px 0; }
  .why { padding-block: calc(88px + 2.2vw); }
  .why-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr 1fr; min-height: 640px; }
  .about-text { padding: 88px 56px 88px 40px; padding-inline-start: max(16px, calc((100vw - 1108px) / 2)); }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .wa-form, .contact-info { padding: 30px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
