:root {
  --bg: #08090c;
  --bg-elevated: #0f1118;
  --bg-card: #13161f;
  --text: #f2f0ec;
  --text-muted: #8b919e;
  --accent: #c9a04a;
  --accent-bright: #e8c878;
  --accent-dim: rgba(201, 160, 74, 0.12);
  --accent-glow: rgba(201, 160, 74, 0.22);
  --wa: #3d9a6b;
  --wa-dim: rgba(61, 154, 107, 0.15);
  --border: rgba(255, 255, 255, 0.07);
  --radius: 16px;
  --radius-pill: 999px;
  --font-display: "Syne", system-ui, sans-serif;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "Noto Sans Arabic", "Outfit", system-ui, sans-serif;
  --max: 76rem;
  --header-h: 4.5rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --scrollbar-size: 5px;
  --scrollbar-inset: 3px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 160, 74, 0.5) transparent;
}

/* Minimal floating gold scrollbar */
*::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(232, 200, 120, 0.95) 0%,
    rgba(201, 160, 74, 0.75) 100%
  );
  border-radius: 999px;
  border: var(--scrollbar-inset) solid transparent;
  background-clip: content-box;
  box-shadow: 0 0 10px rgba(201, 160, 74, 0.2);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(240, 208, 120, 1) 0%,
    rgba(212, 168, 83, 0.9) 100%
  );
  background-clip: content-box;
  box-shadow: 0 0 14px rgba(201, 160, 74, 0.35);
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}

html[lang="ar"] body {
  font-family: var(--font-ar);
  direction: rtl;
}

/* Grain + ambient */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-drift 18s var(--ease-out) infinite alternate;
}

.ambient-orb--1 {
  width: 55vw;
  height: 55vw;
  max-width: 520px;
  max-height: 520px;
  top: -12%;
  inset-inline-start: -8%;
  background: radial-gradient(circle, rgba(201, 160, 74, 0.14) 0%, transparent 70%);
}

.ambient-orb--2 {
  width: 40vw;
  height: 40vw;
  max-width: 380px;
  max-height: 380px;
  bottom: 10%;
  inset-inline-end: -6%;
  background: radial-gradient(circle, rgba(120, 90, 50, 0.1) 0%, transparent 70%);
  animation-delay: -6s;
  animation-duration: 22s;
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(3%, 4%) scale(1.06); }
}

main, .site-header, .site-footer, .wa-float {
  position: relative;
  z-index: 1;
}

a { color: var(--accent-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(100% - 3rem, var(--max));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 4rem, var(--max));
  }
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding-inline: clamp(1.35rem, 4.5vw, 2.25rem);
  transition: height 0.35s var(--ease-out), background 0.35s;
}

.site-header .container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
}

.site-header.is-scrolled {
  height: 3.75rem;
  background: rgba(8, 9, 12, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
}

.brand:hover { text-decoration: none; }

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text);
}

.brand-tag {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--bg-elevated);
}

.lang-toggle button {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.38rem 0.65rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-toggle button[aria-pressed="true"] {
  background: var(--accent-dim);
  color: var(--accent-bright);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), background 0.25s, border-color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}

.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(145deg, var(--accent-bright) 0%, var(--accent) 55%, #9a7428 100%);
  color: #1a1204;
  box-shadow: 0 4px 24px rgba(201, 160, 74, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(201, 160, 74, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: rgba(201, 160, 74, 0.4);
  background: var(--accent-dim);
}

.btn-outline-gold {
  background: transparent;
  color: var(--accent-bright);
  border-color: rgba(201, 160, 74, 0.45);
}

.btn-outline-gold:hover {
  background: var(--accent-dim);
}

.btn-lg {
  padding: 0.9rem 1.55rem;
  font-size: 1rem;
}

.nav-desktop {
  display: none;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.nav-desktop a {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  inset-inline: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-out);
}

.nav-desktop a:hover { color: var(--text); text-decoration: none; }
.nav-desktop a:hover::after { transform: scaleX(1); }

.nav-desktop a[aria-current="page"] {
  color: var(--accent-bright);
}

.nav-desktop a[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--accent);
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .header-cta-text { display: inline; }
}

@media (max-width: 767px) {
  .header-cta-text { display: none; }
  .btn-header-cta { padding-inline: 0.7rem; }
}

/* ── Hero ── */
.hero {
  padding: 4rem 0 3.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(201, 160, 74, 0.25);
  border-radius: var(--radius-pill);
  background: var(--accent-dim);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 6vw, 3.75rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero h1 .highlight {
  background: linear-gradient(120deg, var(--accent-bright) 0%, #f5e6c0 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 40ch;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 540px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  padding: 1rem 0.75rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.stat:hover {
  border-color: rgba(201, 160, 74, 0.3);
  transform: translateY(-3px);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-bright);
  line-height: 1.15;
}

.stat span {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
  letter-spacing: 0.02em;
}

/* Phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mock {
  width: min(100%, 280px);
  aspect-ratio: 9/18;
  background: linear-gradient(165deg, #1c1f28 0%, #0d0f14 100%);
  border-radius: 2.25rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 0.65rem;
  animation: phone-float 5s var(--ease-out) infinite alternate;
}

@keyframes phone-float {
  from { transform: translateY(0) rotate(-1deg); }
  to { transform: translateY(-10px) rotate(1deg); }
}

.phone-screen {
  height: 100%;
  border-radius: 1.75rem;
  background: linear-gradient(180deg, #1a1510 0%, #0f0d0a 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 36%;
  height: 5px;
  background: #2a2a30;
  border-radius: 99px;
  margin: 0.5rem auto 0;
}

.phone-content {
  flex: 1;
  padding: 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.phone-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(201, 160, 74, 0.35);
  width: 55%;
  animation: shimmer 2.5s ease-in-out infinite;
}

.phone-bar:nth-child(2) { width: 80%; animation-delay: 0.2s; background: rgba(255,255,255,0.08); }
.phone-bar:nth-child(3) { width: 65%; animation-delay: 0.4s; background: rgba(255,255,255,0.06); }
.phone-bar:nth-child(4) { width: 90%; animation-delay: 0.6s; background: rgba(255,255,255,0.05); margin-top: auto; }

.phone-wa-dot {
  align-self: flex-end;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--wa);
  margin-top: 0.5rem;
  box-shadow: 0 4px 16px var(--wa-dim);
  animation: pulse-wa 2.5s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes pulse-wa {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 16px var(--wa-dim); }
  50% { transform: scale(1.06); box-shadow: 0 6px 24px rgba(61, 154, 107, 0.35); }
}

.phone-glow {
  position: absolute;
  inset: 20% -10%;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 65%);
  z-index: -1;
  filter: blur(20px);
}

/* ── Sections ── */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 44rem;
  margin-bottom: 3rem;
}

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ── Packages (Kayo-style) ── */
.packages-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .packages-grid { grid-template-columns: repeat(3, 1fr); }
}

.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}

.package-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.package-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 160, 74, 0.25);
}

.package-card:hover::before { opacity: 1; }

.package-card.is-featured {
  border-color: rgba(201, 160, 74, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(201, 160, 74, 0.1);
}

.package-card.is-featured::before { opacity: 1; }

.package-badge {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--accent-dim);
  color: var(--accent-bright);
}

.package-tier {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.package-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.package-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.25rem;
  line-height: 1;
}

.package-price-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  min-height: 2.5rem;
}

.package-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  line-height: 1.55;
  flex: 1;
}

.package-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.package-list li {
  position: relative;
  padding-inline-start: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.package-list li::before {
  content: "—";
  position: absolute;
  inset-inline-start: 0;
  color: var(--accent);
  font-weight: 700;
}

.package-card .btn { width: 100%; margin-top: auto; }

/* ── Business types ── */
.biz-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
}

.biz-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1rem;
  text-align: center;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}

.biz-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(201, 160, 74, 0.3);
}

.biz-card .icon {
  font-size: 1.65rem;
  margin-bottom: 0.55rem;
  display: block;
  transition: transform 0.35s var(--ease-out);
}

.biz-card:hover .icon { transform: scale(1.15); }

.biz-card strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.biz-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── Quotes ── */
.quotes-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .quotes-grid { grid-template-columns: repeat(3, 1fr); }
}

.quote-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
  transition: border-color 0.3s;
}

.quote-card:hover { border-color: rgba(201, 160, 74, 0.25); }

.quote-card::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 0.8;
  margin-bottom: 0.5rem;
  font-style: normal;
}

#faq .quote-card {
  font-style: normal;
}

#faq .quote-card::before {
  display: none;
}

#faq .quote-card strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

#faq .quote-card p {
  margin: 0;
  font-size: 0.88rem;
}

/* ── Demos ── */
.demo-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
}

.demo-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.35s, transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.demo-card:hover {
  text-decoration: none;
  border-color: rgba(201, 160, 74, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.demo-preview {
  height: 11rem;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.demo-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, transparent 50%);
}

.demo-preview.cafeteria {
  background: linear-gradient(145deg, #3d2914 0%, #1a1208 60%, #0d0a06 100%);
}

.demo-preview.services {
  background:
    radial-gradient(circle at 25% 75%, rgba(124, 58, 237, 0.45), transparent 45%),
    radial-gradient(circle at 75% 25%, rgba(244, 63, 94, 0.4), transparent 40%),
    linear-gradient(145deg, #4c1d95 0%, #1e1b4b 55%, #881337 100%);
}

.demo-preview.grocery {
  background:
    radial-gradient(circle at 20% 80%, rgba(132, 204, 22, 0.45), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.5), transparent 40%),
    linear-gradient(145deg, #14532d 0%, #0f2918 55%, #431407 100%);
}

.demo-preview.repair {
  background:
    repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(255,255,255,0.03) 8px, rgba(255,255,255,0.03) 16px),
    linear-gradient(145deg, #1e293b 0%, #0c1220 50%, #422006 100%);
  box-shadow: inset 0 -40px 60px rgba(245, 158, 11, 0.15);
}

.demo-preview span {
  position: relative;
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.1);
}

.demo-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.demo-body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.demo-body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.demo-body .link-hint {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--accent-bright);
  font-weight: 600;
}

/* ── Process ── */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(5, 1fr); }
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  counter-increment: step;
  transition: transform 0.35s var(--ease-out);
}

.step:hover { transform: translateY(-3px); }

.step::before {
  content: counter(step, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--accent-dim);
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.step strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.step p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── About ── */
.about-card {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.about-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 85% 120% at 100% 0%,
    rgba(201, 160, 74, 0.16) 0%,
    rgba(201, 160, 74, 0.06) 42%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 0;
}

.about-card > * {
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .about-card { grid-template-columns: auto 1fr; }
}

.about-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  transform: rotate(-1deg);
  box-shadow: 0 12px 32px rgba(201, 160, 74, 0.25);
}

.about-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.about-name {
  background: linear-gradient(
    120deg,
    var(--accent-bright) 0%,
    #f5e6c0 42%,
    var(--accent) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.about-links {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.88rem;
}

/* ── CTA band ── */
.cta-band {
  text-align: center;
  max-width: 38rem;
  margin-inline: auto;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  margin: 0 0 0.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-band p {
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  font-size: 1.02rem;
}

/* ── Footer ── */
.site-footer {
  padding: 2.5rem 0 5.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-links a { color: var(--text-muted); }

/* ── Floating WhatsApp (subtle) ── */
.wa-float {
  position: fixed;
  bottom: 1.25rem;
  inset-inline-end: 1.25rem;
  z-index: 200;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid rgba(61, 154, 107, 0.4);
  color: var(--wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
  text-decoration: none;
}

.wa-float:hover {
  text-decoration: none;
  transform: scale(1.08);
  border-color: var(--wa);
}

.wa-float svg { width: 1.45rem; height: 1.45rem; fill: currentColor; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── i18n ── */
html[lang="en"] .inline-en,
html[lang="ar"] .inline-ar { display: inline; }

html[lang="en"] .inline-ar,
html[lang="ar"] .inline-en { display: none; }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  body.splash-lock { overflow: hidden; }
  .splash-mark img {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* ── Startup splash ── */
@font-face {
  font-family: "Integral CF";
  src: url("/fonts/IntegralCF-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

body.splash-lock {
  overflow: hidden;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #08090c;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.55s;
}

.splash.is-exiting {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash.is-done {
  display: none;
}

.splash-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 6rem;
}

.splash-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.splash-mark img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0;
  transform: translateY(52vh) scale(0.4);
  animation: splash-mark-fly 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

@keyframes splash-mark-fly {
  0% {
    opacity: 0;
    transform: translateY(52vh) scale(0.35);
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.splash-wordmark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  margin: 0;
  font-family: "Integral CF", system-ui, sans-serif;
  font-size: clamp(1.65rem, 7vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
  text-indent: 0.14em;
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.splash.is-text-visible .splash-mark {
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
}

.splash.is-text-visible .splash-wordmark {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.splash-reduced .splash-mark {
  display: none;
}

.splash-reduced.splash.is-text-visible .splash-wordmark {
  transition-duration: 0.25s;
}

/* ── Portfolio page ── */
.portfolio-hero {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.portfolio-hero .section-head {
  max-width: 42rem;
}

.portfolio-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .portfolio-grid:not(.portfolio-grid--planning) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.portfolio-card {
  --portfolio-accent: var(--accent);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.35rem 1.35rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--portfolio-accent), color-mix(in srgb, var(--portfolio-accent) 40%, transparent));
}

.portfolio-card.is-planning {
  opacity: 0.82;
  background: color-mix(in srgb, var(--bg-card) 92%, var(--bg));
}

.portfolio-role {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.portfolio-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.portfolio-card-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.15;
}

.portfolio-status {
  flex-shrink: 0;
  padding: 0.2rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
}

.portfolio-status.is-live {
  color: #34d399;
  border-color: color-mix(in srgb, #34d399 35%, transparent);
  background: color-mix(in srgb, #34d399 12%, var(--bg));
}

.portfolio-status.is-active {
  color: var(--accent-bright);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, var(--bg));
}

.portfolio-status.is-dev {
  color: #38bdf8;
  border-color: color-mix(in srgb, #38bdf8 35%, transparent);
  background: color-mix(in srgb, #38bdf8 10%, var(--bg));
}

.portfolio-status.is-planning {
  color: var(--text-muted);
}

.portfolio-headline {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.portfolio-highlights {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

html[lang="ar"] .portfolio-highlights {
  padding-left: 0;
  padding-right: 1.1rem;
}

.portfolio-highlights li + li {
  margin-top: 0.35rem;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.portfolio-tags span {
  padding: 0.18rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.portfolio-cta {
  margin-top: auto;
}

.portfolio-cta.is-disabled {
  pointer-events: none;
  opacity: 0.65;
  cursor: default;
}

.portfolio-grid--planning {
  max-width: 52rem;
}

@media (min-width: 768px) {
  .portfolio-grid--planning {
    grid-template-columns: repeat(2, 1fr);
  }
}

