@font-face {
  font-family: Wafaa Kufi;
  src: url(brand-kufi.woff) format("woff");
  font-display: swap;
  font-weight: 700;
}

@font-face {
  font-family: Wafaa Naskh;
  src: url(naskh.woff) format("woff");
  font-display: swap;
  font-weight: 700;
}

@font-face {
  font-family: Wafaa Sans;
  src: url(arabic.woff) format("woff");
  font-display: swap;
  font-weight: 400;
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-089F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF;
}

@font-face {
  font-family: Wafaa Sans;
  src: url(arabic-bold.woff) format("woff");
  font-display: swap;
  font-weight: 700;
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-089F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF;
}

:root {
  --night: #081a16;
  --dark: #0c241e;
  --ivory: #fcf8ed;
  --paper: #f6f3e9;
  --ink: #102f26;
  --muted: #4c5f55;
  --mint: #9ce8c3;
  --gold: #f4d389;
  --ochre: #755018;
  --line: #dcded0;
  --serif: "Wafaa Naskh", Georgia, serif;
  --sans: "Wafaa Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.75;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; }
p, h1, h2, h3, figure { margin: 0; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #2baa7e;
  outline-offset: 4px;
}

.wrap {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}

.skip {
  position: fixed;
  z-index: 12;
  inset-inline-start: 16px;
  top: 16px;
  transform: translateY(-200%);
  padding: .55rem 1rem;
  border-radius: 8px;
  background: var(--ivory);
}

.skip:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 9;
  top: 0;
  padding-block: 12px 6px;
  color: var(--ivory);
  background: linear-gradient(#081a16f5, #081a1600);
}

.header-inner {
  min-height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 8px 15px;
  border: 1px solid #8bddbd37;
  border-radius: 19px;
  background: #0c281fe8;
  box-shadow: 0 10px 40px #020a0840, inset 0 1px #b3f5d312;
  backdrop-filter: blur(16px);
}

.brand, .header-actions, nav, .actions {
  display: flex;
  align-items: center;
}

.brand { justify-self: start; gap: 10px; white-space: nowrap; }
.brand-mark { width: 43px; height: 43px; flex: none; }
.brand strong {
  display: block;
  font: 700 1.18rem/1.4 "Wafaa Kufi", var(--sans);
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--gold);
  font-size: .64rem;
  letter-spacing: .11em;
  line-height: 1.35;
}

nav {
  justify-self: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid #a0f0ca26;
  border-radius: 99px;
  background: #03141178;
}

nav a, .language {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  padding: .2rem .8rem;
  border-radius: 99px;
  white-space: nowrap;
  font-size: .88rem;
  transition: color .18s, background .18s, box-shadow .18s;
}

nav a[aria-current], nav a:hover {
  color: #dbffed;
  background: radial-gradient(ellipse at 50% 0, #3eb98a60, #25584680 65%);
  box-shadow: inset 0 1px #a4f9ce5e;
}

.header-actions { justify-self: end; gap: 8px; }
.language {
  min-width: 44px;
  padding-inline: .45rem;
  border: 1px solid #93dcba40;
  background: #0c211b;
  color: var(--ivory);
}

.language:hover { color: var(--mint); background: #164033; }

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .55rem 1.34rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  transition: transform .2s, background-color .2s, box-shadow .2s, border-color .2s;
}

.button.small {
  min-height: 42px;
  padding-inline: .92rem;
  color: #f9e6ac;
  background: #e0bc6910;
  border-color: #f2d48e59;
  font-size: .88rem;
  white-space: nowrap;
}

.button.gold {
  color: #192d23;
  border-color: #ffe3a6;
  background: radial-gradient(ellipse at var(--light-x, 50%) var(--light-y, 0%), #fff4d3, transparent 86%),
    linear-gradient(115deg, #f6d992, #e7b965);
  box-shadow: 0 8px 24px #f9ca5736, inset 0 1px #fff6dd;
}

.button.ghost {
  color: var(--ivory);
  border-color: #b2ebd060;
  background: #b6f8d30c;
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button.gold:hover { box-shadow: 0 9px 26px #f9ca5759, inset 0 1px #fff6dd; }
.button.small:hover, .button.ghost:hover { border-color: var(--mint); background: #b6f8d319; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--ivory);
  background:
    radial-gradient(ellipse at 15% 22%, #13574182, transparent 42%),
    radial-gradient(ellipse at 87% 71%, #27654b70, transparent 47%),
    var(--night);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, #c2f8e06b 1px, transparent 1.3px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 50% 52%, #0000 21%, #000 89%);
  opacity: .28;
}

.hero-inner {
  position: relative;
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1.01fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding-block: 45px 71px;
}

.hero-copy { position: relative; z-index: 1; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ochre);
  font-size: .9rem;
  line-height: 1.55;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

.hero .eyebrow, .contact .eyebrow { color: var(--mint); }
html[lang="en"] .eyebrow { letter-spacing: .13em; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  text-wrap: balance;
  line-height: 1.23;
}

html[lang="en"] :is(h1, h2, h3) {
  font-family: Georgia, serif;
  line-height: 1.12;
  letter-spacing: -.03em;
}

h1 {
  margin-block: 19px 16px;
  font-size: clamp(2.8rem, 4.8vw, 4.7rem);
}

h1 span, h1 em { display: block; }

h1 em {
  color: var(--gold);
  font-size: .9em;
  font-style: normal;
}

html[lang="en"] h1 { font-size: clamp(2.55rem, 4.5vw, 4.5rem); }

.intro {
  max-width: 33rem;
  color: #d2e7dc;
  font-size: clamp(1rem, 1.34vw, 1.17rem);
  line-height: 1.9;
  text-wrap: pretty;
}

.actions { flex-wrap: wrap; gap: 11px; margin-top: 27px; }

.hero-visual {
  position: relative;
  z-index: 0;
  padding: 8px;
  border-radius: 26px;
  background: linear-gradient(145deg, #5aaf9177, #183b3199 28%, #1c3c30 67%, #e5bb6670);
  box-shadow: 0 24px 72px #020a07ac, inset 0 1px #b5f2d657;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -14px;
  border: 1px solid #a5f5cb3d;
  border-radius: 36px;
  box-shadow: 0 0 52px #46d7a347, inset 0 0 28px #46d7a31a;
  pointer-events: none;
}

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 19px;
  background: #243e32;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 55px #061c1555;
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: auto;
  max-height: 480px;
  aspect-ratio: 1.21;
  object-fit: cover;
  object-position: 50% 54%;
}

.hero-inner::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #7ad1ad85 50%, transparent);
}

.section { padding-block: 78px; }

.work {
  background: radial-gradient(ellipse at 12% 0, #e3f5eb, transparent 41%), var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: end;
  gap: 28px;
  margin-block-end: 29px;
}

.section-heading p:not(.eyebrow) {
  max-width: 28rem;
  justify-self: end;
  color: var(--muted);
  text-wrap: pretty;
}

h2 { margin-top: 9px; font-size: clamp(2.18rem, 4.2vw, 3.65rem); }
h3 { font-size: 1.61rem; }

.cards, .plan-grid, .steps {
  display: grid;
  gap: 19px;
}

.cards, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  padding: 6px;
  overflow: hidden;
  border: 1px solid #d1ddce;
  border-radius: 21px;
  background: #fffdf6;
  box-shadow: 0 12px 28px #153e2311;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.card:hover, .card:focus-within {
  border-color: #55a887;
  box-shadow: 0 14px 36px #245c3526;
}

.card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  background: radial-gradient(210px circle at var(--light-x, 50%) var(--light-y, 50%), #4ada9e40, transparent 80%);
  opacity: 0;
  transition: opacity .25s;
}

.card:focus-within::after { opacity: .5; }

.card-media {
  overflow: hidden;
  border-radius: 15px;
  background: #203c32;
}

.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.94;
  object-fit: cover;
  transition: transform .45s;
}

.card-copy {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
  padding: 17px 16px 15px;
}

.card p, .plan-description, .steps p, .about p:not(.eyebrow), .faq details p {
  color: var(--muted);
  text-wrap: pretty;
}

.text-link, .plan-link {
  position: relative;
  z-index: 1;
  width: fit-content;
  align-self: end;
  color: #16543e;
  font-weight: 700;
  text-underline-offset: 4px;
  text-decoration: underline;
  text-decoration-color: #a38446;
}

.text-link:hover, .plan-link:hover { color: var(--ochre); }

@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); }
  .card:hover img { transform: scale(1.045); }
  .card:hover::after { opacity: 1; }
}

.art-note { margin-block-start: 14px; color: var(--muted); font-size: .88rem; }

.about { padding-block: 0 70px; background: var(--paper); }

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 76px);
  align-items: center;
}

.about-panel {
  padding: clamp(23px, 4.5vw, 55px);
  border: 1px solid #c0dccb;
  border-radius: 24px;
  background: radial-gradient(ellipse at 90% 20%, #ccf0de, transparent 73%), #f1f7ee;
}

.about .text-link { display: inline-block; margin-top: 9px; }

.plans {
  background: #fffdf6;
  border-block: 1px solid #e5e4d9;
}

.plan-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.plan-grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  padding: 23px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(155deg, #f5f9f0, #fffef9);
}

.price {
  color: var(--ochre);
  font: 700 clamp(1.45rem, 2.7vw, 2.45rem)/1.2 var(--serif);
}

.price small { font: 700 .85rem var(--sans); white-space: nowrap; }
.plan-link { margin-top: auto; align-self: flex-start; padding-top: 6px; }

.plan-grid .plan-gold {
  color: var(--ivory);
  border-color: #ae8e4f;
  background: radial-gradient(ellipse at 100% 0, #278363, transparent 69%), #10372b;
  box-shadow: 0 12px 26px #173d2c30;
}

.plan-gold .price, .plan-gold .plan-link { color: var(--gold); }
.plan-gold .plan-description { color: #d6ebdf; }
.plan-gold .plan-link:hover { color: #fff4cf; }

.process { background: #fffdf6; }

.steps {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding: 19px 18px;
  border: 1px solid #dce3d6;
  border-top: 2px solid #70af92;
  border-radius: 15px;
  counter-increment: step;
  background: #f6f9f1;
}

.steps h3 { margin-bottom: 7px; }

.steps h3::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-inline-end: 9px;
  border-radius: 50%;
  color: #185a43;
  background: #dcefe4;
  font: 700 .85rem var(--sans);
  vertical-align: middle;
}

.faq { background: var(--paper); }
details { border-block-end: 1px solid #cfdacf; padding: 13px 0; }
summary { cursor: pointer; font-weight: 700; }
details p { margin-block-start: 7px; }

.contact {
  color: var(--ivory);
  background: radial-gradient(ellipse at 80% 100%, #14765b70, transparent 56%), var(--night);
}

.contact-panel {
  padding: clamp(22px, 4.5vw, 52px);
  border: 1px solid #8ce2bb55;
  border-radius: 24px;
  background: radial-gradient(ellipse at 100% 0%, #2a825d56, transparent 78%), #0c241ec7;
  box-shadow: inset 0 1px #d1ffe72a;
}

.contact p:not(.eyebrow) { color: #d6eae0; margin-block-start: 7px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; }
.email { flex-basis: 100%; color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
html[dir="rtl"] .email { text-align: right; }

footer { color: #d2e7dc; font-size: .87rem; border-top: 1px solid #8fe6c032; }
.footer-inner { display: flex; justify-content: space-between; gap: 14px; padding-block: 17px; }
.footer-inner a { white-space: nowrap; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero-inner { min-height: 495px; }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 810px) {
  html { scroll-padding-top: 133px; }
  .wrap { width: calc(100% - 38px); }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; padding: 7px 10px; gap: 7px 10px; }
  nav { grid-row: 2; grid-column: 1 / -1; justify-self: stretch; justify-content: space-between; min-width: 0; }
  .header-actions { grid-column: 2; grid-row: 1; }
  nav a { padding-inline: .55rem; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; gap: 30px; padding-block: 33px 43px; }
  .hero-image img { aspect-ratio: 1.42; max-height: 415px; }
  .hero-visual::before { inset: -7px; border-radius: 30px; }
  .section { padding-block: 49px; }
  .about { padding-block-start: 0; }
  .section-heading, .about-inner { grid-template-columns: 1fr; gap: 12px; }
  .section-heading p:not(.eyebrow) { justify-self: start; }
  .cards, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
}

@media (max-width: 505px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { padding-top: 7px; }
  .brand { gap: 6px; }
  .brand strong { font-size: .99rem; }
  .brand-mark { width: 35px; height: 35px; }
  .brand small { font-size: .54rem; letter-spacing: .065em; }
  .header-actions { gap: 4px; }
  .button.small { padding-inline: .45rem; font-size: .78rem; }
  nav a { min-height: 36px; font-size: .8rem; }
  h1, html[lang="en"] h1 { margin-block: 13px 10px; font-size: clamp(1.94rem, 8.3vw, 2.8rem); }
  .actions { margin-top: 18px; gap: 8px; }
  .actions .button { padding-inline: .74rem; }
  .hero-visual { padding: 5px; border-radius: 20px; }
  .hero-image { border-radius: 16px; }
  .hero-visual::before { border-radius: 24px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .plan-grid { gap: 8px; }
  .plan-grid article { padding: 13px 11px; font-size: .92rem; }
  .plan-grid h3 { font-size: 1.28rem; }
  .footer-inner { align-items: start; }
}

@media (max-width: 355px) {
  .header-inner { padding-inline: 7px; column-gap: 3px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand { gap: 4px; }
  .brand small { font-size: .51rem; letter-spacing: .025em; }
  nav a { padding-inline: .28rem; }
  .language { min-width: 38px; }
  .header-contact { padding-inline: .32rem; }
  .email { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .button:hover, .card:hover, .card:hover img { transform: none; }
}

.footer-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 16px; }
.privacy-settings { padding: 0; color: inherit; background: none; border: 0; white-space: nowrap; }
.footer-links a:hover, .privacy-settings:hover { color: var(--mint); }
.analytics-notice {
  position: fixed;
  inset-inline: 16px;
  bottom: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  width: min(880px, calc(100% - 32px));
  margin-inline: auto;
  padding: 14px 17px;
  border: 1px solid #8ac8ab70;
  border-radius: 15px;
  color: var(--ivory);
  background: #0d2d24;
  box-shadow: 0 10px 35px #06130ea0;
}
.analytics-notice[hidden], .privacy-settings[hidden] { display: none; }
.analytics-notice p { color: #d1e7da; font-size: .9rem; }
.analytics-actions { display: flex; gap: 8px; flex-wrap: wrap; flex: none; }
.analytics-actions .button { min-height: 42px; padding: .45rem .7rem; font-size: .85rem; }
.privacy-page { background: var(--paper); padding: 40px 0; }
.privacy-page .wrap { max-width: 790px; }
.privacy-page p { margin-block: 9px; }
.privacy-page section + section { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 26px; }
@media (max-width: 600px) {
  .analytics-notice { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-wrap: wrap; }
}
