/* Deep Of Art — shared design tokens (Dark / Light + Gold) */
:root,
[data-theme="dark"] {
  --ink: #070605;
  --ink-elevated: #12100e;
  --ink-soft: #1c1814;
  --gold: #c9a227;
  --gold-bright: #e8c45a;
  --gold-deep: #8a6f1a;
  --sand: #efe6d6;
  --sand-muted: #a89980;
  --line: rgba(232, 220, 200, 0.14);
  --smoke: rgba(232, 220, 200, 0.06);
  --ok: #6f9f7a;
  --danger: #c45c4a;
  --header-bg: rgba(7, 6, 5, 0.35);
  --header-bg-scrolled: rgba(7, 6, 5, 0.78);
  --logo-filter: none;
  --client-logo: #d7d0c4;
  --client-logo-hover: #e8c45a;
  --page-bg:
    radial-gradient(1000px 620px at 90% -15%, rgba(201, 162, 39, 0.16), transparent 55%),
    radial-gradient(800px 500px at -15% 40%, rgba(90, 60, 20, 0.25), transparent 50%),
    linear-gradient(165deg, #14110e 0%, var(--ink) 45%, #0a0908 100%);
  --font-display: "Kufam", "IBM Plex Sans Arabic", sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
  --wa: #25d366;
  --wa-dark: #1ebe57;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
  --header-h: 5.5rem;
  color-scheme: dark;
}

[data-theme="light"] {
  --ink: #f7f6f3;
  --ink-elevated: #ffffff;
  --ink-soft: #eceae4;
  --gold: #8a6b12;
  --gold-bright: #a07d18;
  --gold-deep: #6b5410;
  --sand: #12100e;
  --sand-muted: #3f3a34;
  --line: rgba(18, 16, 14, 0.16);
  --smoke: rgba(18, 16, 14, 0.05);
  --header-bg: rgba(247, 246, 243, 0.72);
  --header-bg-scrolled: rgba(255, 255, 255, 0.92);
  --logo-filter: invert(1);
  --client-logo: #2a2621;
  --client-logo-hover: #8a6b12;
  --page-bg:
    radial-gradient(900px 520px at 85% -10%, rgba(138, 107, 18, 0.1), transparent 55%),
    linear-gradient(180deg, #faf9f7 0%, #f4f2ec 50%, #efede6 100%);
  color-scheme: light;
}

[data-theme="light"] .btn-ghost {
  color: var(--sand);
  border-color: rgba(18, 16, 14, 0.22);
}

[data-theme="light"] .btn-primary {
  color: #fffaf0;
}

[data-theme="light"] .home-hero__brand small,
[data-theme="light"] .home-hero__line {
  color: rgba(239, 230, 214, 0.92);
  -webkit-text-fill-color: rgba(239, 230, 214, 0.92);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--sand);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.75;
  background: var(--page-bg);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.5rem 0.9rem;
  background: var(--gold);
  color: var(--ink);
}

.skip:focus {
  top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.85rem 1.45rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: var(--ink);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  filter: brightness(1.06);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--sand);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.section {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding: 5rem 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.section-head p {
  margin: 0;
  color: var(--sand-muted);
}

.page-stub {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 4rem) 0 5rem;
}

.page-stub h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0 0 0.75rem;
}

.page-stub p {
  color: var(--sand-muted);
  max-width: 36rem;
}

/* Floating WhatsApp — shared widget */
.wa-fab {
  position: fixed;
  inset-inline-end: 1.15rem;
  bottom: 1.15rem;
  z-index: 90;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.wa-fab:hover,
.wa-fab:focus-visible {
  transform: translateY(-3px) scale(1.04);
  background: var(--wa-dark);
  outline: none;
}

.wa-fab svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: currentColor;
}

.wa-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa);
  z-index: -1;
  animation: waPulse 2.2s ease-out infinite;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  70% {
    transform: scale(1.55);
    opacity: 0;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .wa-fab {
    width: 3.25rem;
    height: 3.25rem;
    inset-inline-end: 0.9rem;
    bottom: 0.9rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .section-head {
    margin-bottom: 1.5rem;
  }

  .btn {
    width: 100%;
  }
}
