:root {
  --green: #1E3B33;
  --green-2: #2F6B5A;
  --pistachio: #B7CFA4;
  --rose: #EBC2B6;
  --gold: #C9A24A;
  --ivory: #FBF6EE;
  --sand: #EFE6D8;
  --muted: #56675F;
  --line: #E3DACB;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--green);
  font-family: 'Tajawal', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 800; }
p { margin: 0; }
.ruqaa { font-family: 'Aref Ruqaa', serif; font-weight: 700; }
.accent { color: var(--green-2); }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.btn-dark { background: var(--green); color: var(--ivory); }
.btn-dark:hover { background: var(--green-2); }
.btn-line { box-shadow: inset 0 0 0 2px var(--green); color: var(--green); background: transparent; }
.btn-line:hover { background: var(--white); }
.btn-gold { background: var(--gold); color: var(--green); }
.btn-gold:hover { background: #D6B25E; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px;
}

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(251, 246, 238, .92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .ruqaa { font-size: 32px; line-height: 1; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; }
.nav a:hover { background: var(--white); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--green); cursor: pointer; align-items: center; justify-content: center; }

/* Hero */
.hero { padding: 48px 0 80px; }
.hero-in { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-text { flex: 1 1 460px; display: flex; flex-direction: column; gap: 22px; }
.pill { align-self: flex-start; padding: 6px 16px; border-radius: 999px; background: var(--pistachio); font-size: 15px; font-weight: 700; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.lead { font-size: 20px; color: var(--muted); max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { flex: 1 1 360px; display: flex; justify-content: center; }
.arch {
  position: relative; width: min(400px, 100%); aspect-ratio: 4 / 5;
  border-radius: 999px 999px 32px 32px; background: var(--green); padding: 34px 20px 20px;
}
.arch::before { content: ""; position: absolute; top: -26px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--gold); }
.arch::after { content: ""; position: absolute; bottom: 0; right: 0; width: 64px; height: 64px; background: var(--gold); clip-path: polygon(100% 0, 0 100%, 100% 100%); border-radius: 0 0 32px 0; }
.mock {
  height: 100%; border-radius: 999px 999px 18px 18px; background: var(--ivory); overflow: hidden;
  display: flex; flex-direction: column; gap: 10px; padding: 84px 16px 16px; font-size: 13px; line-height: 1.4;
}
.mock-bar { display: flex; align-items: center; gap: 8px; padding-inline: 14px; }
.mock-logo { width: 26px; height: 26px; border-radius: 50%; background: var(--rose); }
.mock-name { font-weight: 800; font-size: 15px; flex-grow: 1; }
.mock-cart { position: relative; width: 32px; height: 32px; border-radius: 10px; background: var(--white); display: grid; place-items: center; }
.mock-cart svg { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linejoin: round; }
.mock-cart i { position: absolute; top: -5px; inset-inline-end: -5px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); font-style: normal; font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.mock-chips { display: flex; gap: 6px; }
.mock-chips span { padding: 4px 10px; border-radius: 999px; background: var(--white); font-weight: 700; font-size: 12px; }
.mock-chips .on { background: var(--green); color: var(--ivory); }
.mock-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; flex-grow: 1; }
.mock-item { background: var(--white); border-radius: 14px; padding: 6px 6px 8px; display: flex; flex-direction: column; gap: 2px; }
.mock-item span { color: var(--muted); font-size: 12px; }
.mock-pic { flex-grow: 1; min-height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 4px; }
.mock-pic.rose { background: var(--rose); }
.mock-pic.pist { background: var(--pistachio); }
.mock-pic svg { width: 44px; height: 44px; fill: var(--ivory); stroke: var(--green); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.mock-pay { min-height: 38px; border-radius: 12px; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; font-size: 14px; }
.mock-pay svg { width: 16px; height: 16px; fill: #fff; }
.note {
  position: absolute; left: -56px; top: 34%; width: 240px; padding: 14px 18px; border-radius: 18px;
  background: var(--white); display: flex; flex-direction: column; box-shadow: 0 16px 36px rgba(30, 59, 51, .22);
}
.note-k { font-size: 14px; font-weight: 700; color: var(--green-2); }
.note-v { font-weight: 700; }

/* Sections */
.section { padding: 88px 0; }
.soft { background: var(--sand); }
.head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 40px; max-width: 46rem; }
.kicker { font-size: 15px; font-weight: 700; color: var(--green-2); }
.kicker.light { color: var(--pistachio); }
.head h2, .contact h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.sub { color: var(--muted); }

/* Work */
.work { display: flex; flex-direction: column; gap: 32px; }
.case { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding: 32px; border-radius: 32px; background: var(--white); }
.phones { flex: 1 1 380px; display: flex; gap: 16px; justify-content: center; }
.phones img { width: min(220px, 48%); aspect-ratio: 1 / 2; object-fit: cover; object-position: top; border-radius: 28px; border: 6px solid var(--green); }
.case-text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 14px; }
.case-text h3 { font-size: 30px; }
.tag { font-size: 14px; font-weight: 700; color: var(--green-2); }
.link { font-weight: 700; color: var(--green-2); text-decoration: none; align-self: flex-start; padding: 10px 0; }
.link:hover { text-decoration: underline; }

.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ticks li { position: relative; padding-inline-start: 28px; }
.ticks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--pistachio) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E3B33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Features */
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--white); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-size: 21px; }
.card p { color: var(--muted); }
.ico { width: 48px; height: 48px; border-radius: 14px; background: var(--green); display: grid; place-items: center; margin-bottom: 6px; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--ivory); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px; border-radius: 28px; background: var(--white); border: 1px solid var(--line); }
.plan h3 { font-size: 24px; }
.plan-for { color: var(--muted); }
.price { font-size: 18px; margin-top: 6px; }
.price b { font-size: 44px; line-height: 1; }
.from { font-size: 15px; color: var(--muted); }
.monthly { font-size: 15px; color: var(--muted); }
.plan .ticks { flex-grow: 1; margin: 6px 0 10px; }
.plan .btn { width: 100%; }
.featured { background: var(--green); color: var(--ivory); border-color: var(--green); }
.featured .plan-for, .featured .monthly, .featured .from { color: #D5E2CB; }
.badge { position: absolute; top: 22px; inset-inline-end: 22px; padding: 4px 14px; border-radius: 999px; background: var(--gold); color: var(--green); font-size: 14px; font-weight: 800; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--white); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(s, arabic-indic); width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--gold); display: grid; place-items: center; font-weight: 800; margin-bottom: 6px; }
.steps b { font-size: 20px; }
.steps span { color: var(--muted); }

/* FAQ */
details { background: var(--white); border-radius: 20px; padding: 4px 22px; margin-bottom: 12px; }
summary { cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--green-2); }
details[open] summary::after { content: "−"; }
details p { padding-bottom: 18px; color: var(--muted); }

/* Contact */
.contact { background: var(--green); color: var(--ivory); }
.contact-in { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.contact-in > div { flex: 1 1 380px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.lead.light { color: #D5E2CB; }
.form { flex: 1 1 360px; background: var(--ivory); color: var(--green); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; }
.form input, .form select { font: inherit; font-weight: 500; min-height: 48px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); color: var(--green); }

/* Footer */
.foot { background: #16302A; color: #D5E2CB; padding: 36px 0; }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; }
.foot .brand { color: var(--ivory); }
.foot .brand .ruqaa { font-size: 28px; }
.foot .en { font-family: 'DM Serif Display', serif; font-size: 18px; }
.small { font-size: 14px; }

@media (max-width: 860px) {
  .note { left: -6px; top: auto; bottom: 74px; width: 220px; }
  .menu-btn { display: inline-flex; }
  .top .btn-sm { margin-inline-start: auto; }
  .nav {
    display: none; position: absolute; top: 72px; inset-inline: 0; flex-direction: column;
    background: var(--ivory); padding: 8px 16px 16px; border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .case { padding: 22px; gap: 24px; }
  .section { padding: 64px 0; }
  .hero { padding-top: 24px; }
}
@media (max-width: 420px) {
  .top .btn-sm { display: none; }
  .menu-btn { margin-inline-start: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

.reach { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.reach a { color: #D5E2CB; text-decoration: none; font-weight: 500; padding: 6px 0; }
.reach a:hover { color: var(--ivory); text-decoration: underline; }
.foot a { color: inherit; }
