/* جرّب ستوديو: one-page site. Mobile first; values from reference/design.dc.html. */

@font-face {
  font-family: "Thmanyah";
  src: url("../assets/fonts/thmanyah-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah";
  src: url("../assets/fonts/thmanyah-medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #121111;
  --paper: #EEEBE5;
  --red: #F0352B;
  --shade: #B8231B;
  --muted: #9C9893;
  --body: #C9C4BD;
  --card: #1E1D1C;
  --line: #2E2C2B;
  --line-strong: #3A3836;
  --on-red: #FFE1DE;
  --phone-border: #2A2827;
  --shot-ground: #0D0F12;
  --white: #FFFFFF;

  --font-display: "Thmanyah", serif;
  --font-body: "IBM Plex Sans Arabic", system-ui, sans-serif;

  --gutter: 20px;
  --max: 1280px;
}

@media (min-width: 768px) {
  :root { --gutter: 40px; }
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
}

h1, h2, h3, p, ul, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 4px;
}
#contact :focus-visible { outline-color: var(--ink); }

/* Layout: .wrap owns max width and inline gutter; sections only set block padding. */

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.band { border-top: 1px solid var(--line); }

.display { font-family: var(--font-display); font-weight: 700; }
.accent { color: var(--red); }

/* Lockup */

.lockup { display: flex; align-items: center; gap: 14px; }
.lockup__logo { width: 112px; height: 46px; display: block; }
.lockup__divider { width: 1px; height: 30px; background: var(--line-strong); }
.lockup__word {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  color: var(--muted);
}
.lockup--small { gap: 12px; }
.lockup--small .lockup__logo { width: 80px; height: 33px; }
.lockup--small .lockup__divider { height: 22px; }
.lockup--small .lockup__word { font-size: 18px; }

/* Header */

.site-header { border-bottom: 1px solid var(--line); }
.site-header__inner {
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  font-size: 16px;
}
.site-nav__link:hover { color: var(--red); }

/* Pills (buttons as links) */

.pill {
  display: inline-block;
  border-radius: 999px;
  font-weight: 600;
}
.pill--red { background: var(--red); color: var(--ink); padding: 12px 22px; }
.pill--red:hover { background: var(--paper); }
.pill--paper { background: var(--paper); color: var(--ink); padding: 18px 30px; font-size: 18px; }
.pill--paper:hover { background: var(--red); }

/* Hero */

.hero {
  padding-block: 48px 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px 64px;
}
.hero__copy {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero__kicker {
  font-size: 15px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}
.hero__title { font-size: clamp(56px, 7.4vw, 112px); line-height: 1.1; }
.hero__sub { font-size: 18px; line-height: 1.8; color: var(--body); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.hero__link {
  color: var(--body);
  font-size: 17px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
}
.hero__link:hover { color: var(--red); }

.hero__stage {
  flex: 1 1 360px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

@media (min-width: 768px) {
  .hero { padding-block: 64px 88px; }
  .hero__copy { gap: 28px; }
  .hero__sub { font-size: 21px; }
}

/* Phone */

.phone {
  width: 260px;
  height: 462px;
  border-radius: 36px;
  border: 8px solid var(--phone-border);
  background: var(--paper);
  overflow: hidden;
  position: relative;
}
.phone__screen { position: absolute; inset: 0; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }

.slide-brand {
  position: absolute;
  inset: 0;
  background: var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}
.slide-brand__label { font-size: 14px; color: var(--ink); }
.slide-brand__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.15;
  color: var(--white);
}

/* Press button */

.press-col { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.press {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  width: 150px;
}
.press-art { width: 150px; height: 79px; display: block; }
.press-hint { font-size: 14px; color: var(--muted); }

.dots { display: flex; gap: 6px; }
.dot { width: 18px; height: 4px; border-radius: 2px; background: var(--line-strong); }
.dot.is-active { background: var(--red); }

@media (prefers-reduced-motion: no-preference) {
  .press { transition: transform .12s cubic-bezier(.2, .8, .2, 1); }
  .press:hover { transform: translateY(-4px); }
  .press-art { transition: transform .1s; }
  .press.is-down .press-art { transform: translateY(8px) scaleY(.94); }
}

/* Numbers strip */

.numbers {
  padding-block: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 40px;
}
.numbers__lead {
  flex: 1 1 260px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.4;
  color: var(--body);
}
.numbers__lead-strong { color: var(--paper); }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__value { font-size: clamp(64px, 18vw, 84px); line-height: 1; }
.stat__label { font-size: 17px; color: var(--body); }

@media (min-width: 768px) {
  .numbers { padding-block: 56px; }
}

/* Section heads (proof, packages) */

.section {
  padding-block: 64px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.section-head__title { font-size: clamp(40px, 5vw, 68px); line-height: 1.12; }
.section-head__note { font-size: 17px; line-height: 1.8; color: var(--body); }
.proof .section-head__note { max-width: 380px; }

@media (min-width: 768px) {
  .section { padding-block: 96px; gap: 48px; }
}

/* Proof */

.proof__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
  align-items: start;
}
.shot { display: flex; flex-direction: column; gap: 16px; }
.shot__frame {
  border-radius: 28px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--shot-ground);
}
.shot__frame--tall { max-height: 640px; }
.shot__frame img { width: 100%; }
.shot__caption { display: flex; flex-direction: column; gap: 4px; }
.shot__title { font-size: 30px; }
.shot__text { font-size: 16px; color: var(--body); }

/* Services */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 16px;
}
.card {
  border-radius: 26px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card__num { font-size: 56px; line-height: 1; color: var(--red); }
.card__title { font-size: 30px; }
.card__text { font-size: 16px; line-height: 1.7; }

.card-paper { background: var(--paper); color: var(--ink); }
.card-paper .card__text { color: var(--line-strong); }

.card-red { background: var(--red); color: var(--ink); }
.card-red .card__num { color: var(--ink); }
.card-red .card__title { color: var(--white); }
.card-red .card__text { color: var(--ink); }

.card-dark { background: var(--card); border: 1px solid var(--line); }
.card-dark .card__text { color: var(--body); }

/* Who */

.who {
  padding-block: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 40px;
  align-items: center;
}
.who__title { flex: 1 1 300px; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.15; }
.who__list {
  flex: 2 1 520px;
  min-width: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 17px;
}
.who__list li { border: 1px solid var(--line-strong); border-radius: 999px; padding: 12px 20px; }

@media (min-width: 768px) {
  .who { padding-block: 88px; }
  .who__list { font-size: 19px; }
  .who__list li { padding: 14px 24px; }
}

/* Contact (red ground: decision A, small text in ink) */

#contact { background: var(--red); color: var(--ink); }
.contact {
  padding-block: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.contact__icon { width: 140px; height: 74px; }
#contact .contact__title {
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 1.1;
  color: var(--white);
}
#contact .contact__text { font-size: 19px; line-height: 1.8; color: var(--ink); }
#contact .contact__mail {
  background: var(--ink);
  color: var(--paper);
  padding: 18px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 18px;
  max-width: 100%;
}
#contact .contact__mail:hover { background: var(--ink); color: var(--red); }
#contact .contact__follow { margin-top: 24px; font-size: 15px; color: var(--ink); }

.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
#contact .platform {
  color: var(--ink);
  border: 1px solid rgb(18 17 17 / .45);
  border-radius: 999px;
  padding: 12px 20px;
  display: flex;
  gap: 10px;
  font-size: 16px;
}
#contact .platform:hover { border-color: var(--ink); }
.platform__name { font-weight: 600; }

@media (min-width: 768px) {
  .contact { padding-block: 104px; }
  #contact .contact__mail { padding: 22px 40px; font-size: 22px; }
}

/* Footer */

.site-footer {
  padding-block: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.footer-nav a:hover { color: var(--paper); }
