:root {
  --paper: #f4ecdf;
  --paper-deep: #e9dbc6;
  --white: #fffaf3;
  --cocoa: #3c281b;
  --brown: #755039;
  --gold: #b98a49;
  --gold-light: #d8b77f;
  --ink: #34271f;
  --muted: #76685d;
  --line: rgba(93, 60, 38, 0.18);
  --whatsapp: #25d366;
}

* { box-sizing: border-box; }
html { min-height: 100%; overflow-x: hidden; direction: ltr; background: var(--paper); }
body { min-width: 320px; min-height: 100vh; margin: 0; overflow-x: hidden; direction: ltr; color: var(--ink); background: var(--paper); font-family: "Noto Kufi Arabic", Tahoma, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.site-shell { position: relative; isolation: isolate; width: 100vw; max-width: 100vw; min-height: 100svh; overflow: hidden; direction: rtl; padding: 0 clamp(24px, 7vw, 108px) 25px; background: radial-gradient(circle at 84% 7%, rgba(185, 138, 73, 0.14), transparent 19rem), linear-gradient(125deg, var(--paper) 0%, #f8f0e4 49%, var(--paper-deep) 100%); }
.corner-pattern { position: absolute; z-index: -1; width: 280px; height: 280px; opacity: 0.13; background-image: linear-gradient(30deg, transparent 46%, var(--brown) 47%, var(--brown) 53%, transparent 54%), linear-gradient(150deg, transparent 46%, var(--brown) 47%, var(--brown) 53%, transparent 54%); background-size: 50px 87px; mask-image: radial-gradient(circle, black 0 38%, transparent 72%); }
.top-pattern { top: -114px; left: -82px; transform: rotate(-20deg); }
.bottom-pattern { right: -94px; bottom: -140px; transform: rotate(25deg); }

.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.topbar p { margin: 0; }
.top-whatsapp { display: inline-flex; align-items: center; gap: 7px; color: #208f4a; font-weight: 600; }
.wa-mini { display: grid; width: 18px; height: 18px; place-items: center; color: #fff; border-radius: 50%; background: var(--whatsapp); font-size: 12px; line-height: 1; }

main { width: min(1120px, 100%); margin: 0 auto; }
.hero { display: flex; align-items: center; justify-content: center; gap: clamp(58px, 10vw, 154px); padding: clamp(65px, 10vh, 120px) 0 clamp(70px, 9vh, 108px); }
.logo-scan { position: relative; flex: 0 0 304px; padding: 14px; border: 1px solid rgba(117, 80, 57, 0.22); border-radius: 2px; background: #fffdf9; box-shadow: 18px 20px 0 rgba(185, 138, 73, 0.14), 0 13px 30px rgba(73, 47, 30, 0.1); }
.logo-scan::before { position: absolute; top: -8px; right: -8px; width: 33px; height: 33px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); content: ""; }
.scan-label { display: flex; align-items: center; gap: 7px; margin: 1px 4px 10px; color: var(--gold); font-size: 9px; font-weight: 600; }
.scan-label span { width: 19px; height: 1px; background: currentColor; }
.logo-scan img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: transparent; filter: none; }

.hero-copy { max-width: 565px; }
.kicker { margin: 0 0 15px; color: var(--gold); font-size: 11px; font-weight: 600; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 19px; color: var(--cocoa); font-family: "Noto Naskh Arabic", serif; font-size: clamp(54px, 5.7vw, 82px); font-weight: 600; line-height: 1.03; letter-spacing: -0.055em; }
h1 em { color: var(--gold); font-style: normal; }
.intro { max-width: 500px; margin-bottom: 28px; color: var(--muted); font-size: 15px; line-height: 2; }

.whatsapp-button { display: inline-flex; align-items: center; gap: 12px; min-width: 275px; padding: 8px 10px 8px 15px; border: 1px solid rgba(37, 211, 102, 0.46); border-radius: 9px; background: rgba(255, 255, 255, 0.65); box-shadow: 0 8px 19px rgba(37, 136, 78, 0.11); transition: transform 180ms ease, box-shadow 180ms ease; }
.whatsapp-button:hover { transform: translateY(-2px); box-shadow: 0 12px 23px rgba(37, 136, 78, 0.18); }
.whatsapp-logo { flex: 0 0 42px; width: 42px; height: 42px; }
.whatsapp-button span { display: grid; gap: 1px; flex: 1; }
.whatsapp-button strong { color: #237947; font-size: 11px; font-weight: 700; }
.whatsapp-button small { color: var(--muted); font-family: Arial, sans-serif; font-size: 11px; }
.button-arrow { color: #20904a; font-size: 18px; font-weight: 400; }

.services { padding: 53px 0 66px; border-top: 1px solid var(--line); }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-intro p, .contact-copy p { margin: 0 0 6px; color: var(--gold); font-size: 10px; font-weight: 600; }
h2 { margin: 0; color: var(--cocoa); font-family: "Noto Naskh Arabic", serif; font-size: clamp(29px, 3.2vw, 42px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.2; }
.services-list { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.services-list article { display: flex; flex: 1 1 33.333%; align-items: start; gap: 13px; min-height: 112px; padding: 22px 19px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); background: rgba(255, 251, 244, 0.32); }
.services-list article:last-child { flex-basis: 100%; min-height: auto; }
.services-list span { color: var(--gold); font-family: Georgia, serif; font-size: 16px; }
h3 { margin: 0; color: var(--ink); font-family: "Noto Naskh Arabic", serif; font-size: 21px; font-weight: 600; line-height: 1.34; letter-spacing: -0.02em; }

.contact { display: flex; align-items: center; justify-content: space-between; gap: 38px; margin-bottom: 48px; padding: 27px 30px; border-right: 4px solid var(--gold); background: var(--cocoa); color: var(--paper); }
.contact-copy { flex: 0 0 180px; }
.contact-copy h2 { color: #fff9f0; }
.contact-copy p { color: var(--gold-light); }
.contact-actions { display: flex; flex: 1; justify-content: flex-start; gap: clamp(22px, 5vw, 64px); }
.contact-actions a { display: inline-flex; align-items: center; gap: 11px; transition: color 160ms ease; }
.contact-actions a:hover { color: var(--gold-light); }
.contact-icon { display: grid; width: 35px; height: 35px; flex: 0 0 35px; place-items: center; color: var(--gold-light); border: 1px solid rgba(216, 183, 127, 0.48); border-radius: 50%; font-size: 18px; }
.contact-actions a > span:last-child { display: grid; gap: 4px; }
.contact-actions small { color: rgba(245, 236, 223, 0.65); font-size: 9px; }
.contact-actions strong { color: #fff8ec; font-family: "Noto Naskh Arabic", serif; font-size: 17px; font-weight: 600; line-height: 1.25; }

footer { display: flex; align-items: center; justify-content: space-between; padding-top: 2px; color: var(--muted); font-size: 9px; }

@media (max-width: 820px) {
  .site-shell { padding: 0 18px 18px; }
  .topbar { min-height: 54px; }
  .hero { flex-direction: column; align-items: stretch; gap: 47px; padding: 55px 0 61px; }
  .logo-scan { align-self: center; flex-basis: auto; width: min(304px, 87vw); }
  .logo-scan img { height: auto; }
  .hero-copy { max-width: none; text-align: center; }
  .kicker { font-size: 10px; }
  h1 { font-size: clamp(52px, 15.5vw, 67px); }
  .intro { margin-right: auto; margin-left: auto; font-size: 14px; }
  .whatsapp-button { justify-content: flex-start; min-width: min(100%, 280px); text-align: right; }
  .services { padding: 42px 0 54px; }
  .section-intro { display: block; }
  .section-intro h2 { margin-top: 8px; }
  .services-list { display: block; border-left: 1px solid var(--line); }
  .services-list article, .services-list article:last-child { min-height: auto; padding: 17px 15px; border-left: 0; }
  h3 { font-size: 20px; }
  .contact { align-items: stretch; flex-direction: column; gap: 24px; margin-bottom: 31px; padding: 25px 19px; }
  .contact-copy { flex: initial; }
  .contact-actions { flex-direction: column; gap: 19px; }
  .contact-actions strong { font-size: 17px; }
  footer { gap: 13px; font-size: 8px; }
}
