@import url("fonts.css");

/* ============================================================================
   Sham Digital · site stylesheet
   The Editorial identity (flyer design C) translated to screen.
   Cream ground · ink content · vermilion as the only saturated colour.
   No gradients, no shadows, hairline rules, generous whitespace.
   ========================================================================== */

:root {
  /* palette, brand-assets-styles */
  --cream:       #F4F1EA;
  --cream-deep:  #EDE8DD;   /* section banding, hover ground */
  --ink:         #1C1B18;
  --vermilion:   #D64B2A;
  --vermilion-d: #B93C1E;   /* hover only, never as a brand fill */
  --muted:       #6E6759;
  --muted-light: #8A8578;
  --sand:        #B4AC9C;
  --hairline:    #D8D2C4;
  --white:       #FFFFFF;

  /* type */
  --f-body:    'almarai', 'Segoe UI', Tahoma, Arial, sans-serif;
  --f-display: 'Noto Kufi Arabic', 'almarai', Tahoma, sans-serif;
  --f-num:     'Changa', 'almarai', Tahoma, sans-serif;
  --f-accent:  'Lalezar', 'almarai', cursive;
  --f-logo:    'Arslan Wessam B', 'Noto Kufi Arabic', Tahoma, sans-serif;

  /* rhythm */
  --wrap:   1120px;
  --gutter: clamp(18px, 4.5vw, 40px);
  --sec-y:  clamp(56px, 9vw, 104px);
  --r:      10px;   /* small radii only */
  --r-lg:   14px;
}

/* ---------- reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(15.5px, 1.05vw, 16.5px);
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--vermilion); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--vermilion); color: var(--cream); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: var(--sec-y); scroll-margin-top: 84px; }
.band { background: var(--cream-deep); border-block: 1px solid var(--hairline); }

/* the rotated Latin strap down the page edge, flyer signature */
.side-latin {
  position: fixed;
  left: 14px;
  top: 50%;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left center;
  font-family: var(--f-num);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .55em;
  color: var(--sand);
  direction: ltr;
  white-space: nowrap;
  pointer-events: none;
  z-index: 5;
}
@media (max-width: 1280px) { .side-latin { display: none; } }

/* ---------- logotype ---------- */
.logotype { display: inline-flex; align-items: center; gap: 7px; --logo-h: 35px; }
.logotype .mark { width: calc(var(--logo-h) * 1.38); height: var(--logo-h); flex: 0 0 auto; }
.logotype .mark svg { width: 100%; height: 100%; }
.logotype .name {
  font-family: var(--f-logo);
  font-weight: 400;
  font-size: calc(var(--logo-h) * .95);
  line-height: 1;
  color: var(--ink);
  margin-top: calc(var(--logo-h) * -.09);
}
.logotype .dd {
  font-size: 1.18em;
  position: relative;
  top: -.16em;
  display: inline-block;
  margin-inline-end: -.05em;
}

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--hairline);
  transition: border-color .2s;
}
.site-head[data-stuck] { border-bottom-color: var(--ink); }
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 34px);
  min-height: 68px;
}
.nav { display: flex; gap: clamp(14px, 2vw, 26px); margin-inline: auto; }
.nav a {
  font-weight: 700;
  font-size: 15px;
  padding-block: 4px;
  border-bottom: 1.5px solid transparent;
  transition: border-color .18s, color .18s;
}
.nav a:hover { color: var(--vermilion); border-bottom-color: var(--vermilion); }
.head-phone {
  direction: ltr;
  font-family: var(--f-num);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .04em;
  white-space: nowrap;
}
.head-phone b { color: var(--vermilion); font-weight: 800; }
.head-cta { margin-inline-start: 4px; }

/* mobile drawer, CSS only, but the checkbox stays focusable for keyboards */
.nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nav-open { display: none; }
.nav-toggle:focus-visible ~ .wrap .nav-open { outline: 2px solid var(--vermilion); outline-offset: 3px; }
@media (max-width: 900px) {
  .nav-open {
    display: grid;
    place-items: center;
    margin-inline-start: auto;
    width: 42px; height: 42px;
    border: 1.5px solid var(--ink);
    border-radius: var(--r);
    cursor: pointer;
  }
  .nav-open span, .nav-open span::before, .nav-open span::after {
    content: ""; display: block;
    width: 18px; height: 1.8px;
    background: var(--ink);
    transition: transform .22s;
  }
  .nav-open span::before { transform: translateY(-6px); }
  .nav-open span::after  { transform: translateY(4.2px); }
  /* scoped to .site-head so it outranks the later `.btn { display: inline-flex }` */
  .site-head .head-phone, .site-head .head-cta { display: none; }

  .nav {
    position: fixed;
    inset: 68px 0 auto;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1.5px solid var(--ink);
    padding: 6px var(--gutter) 18px;
    margin: 0;
    display: none;
  }
  .nav a { border-bottom: 1px solid var(--hairline); padding-block: 13px; font-size: 16.5px; }
  .nav-toggle:checked ~ .wrap .nav { display: flex; }
  .nav-toggle:checked ~ .wrap .nav-open span { background: transparent; }
  .nav-toggle:checked ~ .wrap .nav-open span::before { transform: rotate(45deg); }
  .nav-toggle:checked ~ .wrap .nav-open span::after  { transform: rotate(-45deg) translateY(0); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.2;
  padding: 13px 24px;
  border-radius: var(--r);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn--accent { background: var(--vermilion); color: var(--cream); }
.btn--accent:hover { background: var(--vermilion-d); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: #000; }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--sm { padding: 9px 16px; font-size: 14px; }

/* ---------- section furniture ---------- */
/* Latin kicker, wide tracking is a Latin device only */
.kicker {
  font-family: var(--f-num);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--sand);
  direction: ltr;
}
/* Arabic eyebrow, Arabic is cursive; never letter-space it */
.eyebrow {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 14.5px;
  letter-spacing: .02em;
  color: var(--muted-light);
}
.sec-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 46px); }
.sec-head h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(23px, 3.5vw, 33px);
  line-height: 1.45;
  letter-spacing: -.01em;
  margin-top: 10px;
}
.sec-head h2 .dot { color: var(--vermilion); }
.sec-head p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.rule { border: 0; border-top: 1px solid var(--hairline); }
.rule--ink { border-top: 1.5px solid var(--ink); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 74px) clamp(48px, 7vw, 88px); }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(30px, 5.6vw, 55px);
  line-height: 1.36;
  letter-spacing: -.015em;
  margin-top: 14px;
}
.hero h1 .dot { color: var(--vermilion); }
.hero .lede {
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.95;
  margin-top: 18px;
  max-width: 52ch;
}
.gets { margin-top: 26px; display: grid; gap: 2px; max-width: 46ch; }
.get { display: flex; align-items: baseline; gap: 14px; padding-block: 9px; border-bottom: 1px solid var(--hairline); }
.get:first-child { border-top: 1px solid var(--hairline); }
.get .n {
  font-family: var(--f-num);
  font-weight: 800;
  font-size: 14px;
  color: var(--vermilion);
  direction: ltr;
  flex: 0 0 16px;
}
.get .t { font-weight: 700; font-size: 15.5px; }
.get .t small { display: block; font-weight: 400; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--muted); }
.hero-note b { color: var(--ink); }

/* phone illustration */
.device { justify-self: center; width: min(100%, 340px); }
.device svg { width: 100%; height: auto; }

/* ---------- services ---------- */
/* two columns, like the flyer's list, 10 services fill 5 even rows */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 6vw, 72px);
  border-top: 1.5px solid var(--ink);
}
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 6px;
  border-bottom: 1px solid var(--hairline);
  transition: padding-inline .2s;
}
.svc:hover { padding-inline-start: 12px; }
.svc .ico { width: 26px; height: 26px; flex: 0 0 auto; margin-top: 2px; }
.svc .ico svg { width: 100%; height: 100%; }
.svc h3 { font-size: 16px; font-weight: 700; line-height: 1.55; }
.svc p { font-size: 13.5px; color: var(--muted); line-height: 1.75; margin-top: 2px; }

/* ---------- packages ---------- */
.packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
  align-items: start;
}
@media (max-width: 900px) { .packages { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.pack {
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pack--featured { background: var(--ink); color: var(--cream); }
.pack--featured .who, .pack--featured .feat li, .pack--featured .renew { color: #C9C3B5; }
.pack--featured .feat li { border-bottom-color: #38352F; }
.pack--featured .price-box { background: #262420; border-color: #38352F; }
.pack--featured .price { color: var(--cream); }
.badge {
  position: absolute;
  top: -13px;
  inset-inline-start: 22px;
  background: var(--vermilion);
  color: var(--cream);
  font-size: 12.5px;
  font-weight: 700;
  padding: 2px 14px;
  border-radius: 999px;
}
.pack h3 { font-family: var(--f-display); font-weight: 800; font-size: 21px; line-height: 1.5; }
.pack .who { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.feat { margin: 18px 0 20px; flex: 1; }
.feat li {
  position: relative;
  padding: 8px 22px 8px 0;
  font-size: 14.5px;
  line-height: 1.75;
  border-bottom: 1px solid var(--hairline);
}
.feat li:last-child { border-bottom: 0; }
.feat li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 17px;
  width: 9px; height: 9px;
  border-inline-start: 1.6px solid var(--vermilion);
  border-bottom: 1.6px solid var(--vermilion);
  transform: rotate(-45deg);
}
.price-box {
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  padding: 14px 16px;
  text-align: center;
  margin-bottom: 16px;
}
.price {
  font-family: var(--f-num);
  font-weight: 800;
  font-size: 34px;
  line-height: 1.2;
  direction: ltr;
}
.price small { font-family: var(--f-body); font-weight: 400; font-size: 13px; color: var(--muted); }
/* shown instead of a figure while prices are not published */
.ask { font-weight: 700; font-size: 17px; line-height: 1.5; }
.pack--featured .ask { color: var(--cream); }
.renew { font-size: 13px; color: var(--muted); margin-top: 4px; }
.renew b { color: var(--vermilion); font-family: var(--f-num); font-weight: 800; direction: ltr; unicode-bidi: embed; }
.pack .btn { width: 100%; }
.pack-demo {
  display: block;
  text-align: center;
  margin-top: 11px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--vermilion);
}
.pack-demo:hover { text-decoration: underline; }
.pack--featured .pack-demo { color: #E9A48D; }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(28px, 4vw, 44px); border: 1.5px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr; } }
.trust div { padding: 16px 20px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.trust div + div { border-inline-start: 1.5px solid var(--ink); }
@media (max-width: 760px) { .trust div + div { border-inline-start: 0; border-top: 1.5px solid var(--ink); } }
.trust strong { display: block; color: var(--ink); font-size: 15.5px; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 34px); }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 1.5px solid var(--ink); padding-top: 14px; }
.step .n { font-family: var(--f-num); font-weight: 800; font-size: 22px; color: var(--vermilion); direction: ltr; line-height: 1; }
.step h3 { font-size: 16.5px; font-weight: 700; margin-top: 8px; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.8; margin-top: 4px; }

/* ---------- accent quote ---------- */
.quote {
  font-family: var(--f-accent);
  font-size: clamp(22px, 3.4vw, 34px);
  line-height: 1.7;
  text-align: center;
}
.quote span { color: var(--vermilion); }

/* ---------- perks ---------- */
.perks { display: flex; border: 1.5px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; margin-top: clamp(26px, 4vw, 40px); }
@media (max-width: 620px) { .perks { flex-direction: column; } }
.perk { flex: 1; display: flex; align-items: center; gap: 14px; padding: 20px clamp(18px, 3vw, 30px); }
.perk + .perk { border-inline-start: 1.5px solid var(--ink); }
@media (max-width: 620px) { .perk + .perk { border-inline-start: 0; border-top: 1.5px solid var(--ink); } }
.perk .ico { display: block; width: 30px; height: 30px; flex: 0 0 auto; }
.perk .ico svg { width: 100%; height: 100%; }
.perk .t { font-weight: 700; font-size: 16px; }
.perk .t .n { font-family: var(--f-num); font-weight: 800; color: var(--vermilion); direction: ltr; unicode-bidi: embed; }
.perk .s { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---------- demo strip ---------- */
.demo {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4.5vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
}
@media (max-width: 780px) { .demo { grid-template-columns: 1fr; } }
.demo .kicker { color: var(--sand); }
.demo h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(21px, 3vw, 30px); line-height: 1.5; margin-top: 10px; }
.demo p { color: #C9C3B5; font-size: 15.5px; margin-top: 12px; max-width: 58ch; }
.demo .btn--accent:hover { background: var(--cream); color: var(--ink); }
.demo-picks { display: grid; gap: 12px; min-width: min(100%, 330px); }
.demo-pick {
  display: flex; align-items: flex-start; gap: 12px;
  border: 1px solid #38352F;
  border-radius: var(--r);
  padding: 14px 16px;
  transition: border-color .2s, background .2s;
}
.demo-pick:hover { border-color: var(--vermilion); background: #221F1B; }
.demo-pick .ico { width: 24px; height: 24px; flex: 0 0 auto; color: var(--cream); margin-top: 3px; }
.demo-pick .ico svg { width: 100%; height: 100%; }
.demo-pick b { display: block; font-size: 16px; }
.demo-pick small { display: block; color: #A9A296; font-size: 13px; line-height: 1.65; margin-top: 2px; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(26px, 5vw, 60px);
  align-items: center;
  border-top: 1.5px solid var(--ink);
  padding-top: clamp(28px, 4vw, 44px);
}
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.c-call { color: var(--muted); font-weight: 700; font-size: 15px; }
.c-phone {
  direction: ltr;
  text-align: start;
  font-family: var(--f-num);
  font-weight: 800;
  font-size: clamp(38px, 7vw, 62px);
  line-height: 1.15;
  letter-spacing: .03em;
  margin-top: 6px;
  display: inline-block;
}
.c-phone b { color: var(--vermilion); font-weight: 800; }
.c-note { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.qr-box { text-align: center; }
.qr-tile {
  width: 148px; height: 148px;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-inline: auto;
}
.qr-tile svg { width: 108px; height: 108px; }
.qr-cap { margin-top: 10px; font-weight: 700; font-size: 12.5px; color: var(--vermilion); }
@media (max-width: 760px) { .qr-box { display: none; } }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--hairline); padding-block: 30px 40px; margin-top: clamp(40px, 6vw, 70px); }
.site-foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-latin { font-family: var(--f-num); font-weight: 600; font-size: 10.5px; letter-spacing: .34em; color: var(--sand); direction: ltr; text-transform: uppercase; }
.foot-links { display: flex; gap: 18px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.foot-links a:hover { color: var(--vermilion); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- print ---------- */
@media print {
  .site-head, .side-latin, .demo, .nav-open { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}
