:root {
  --bg: #0c0a08;
  --bg-2: #14110d;
  --bg-3: #1c1712;
  --sand: #e6d3b3;
  --gold: #c9a227;
  --gold-2: #e8c56b;
  --ink: #f7f1e8;
  --muted: #a89880;
  --line: rgba(232, 197, 107, 0.22);
  --shadow: rgba(0, 0, 0, 0.45);
  --font-display: "Cormorant Garamond", "Noto Naskh Arabic", serif;
  --font-body: "Outfit", "IBM Plex Sans Arabic", sans-serif;
  --header-h: 4.25rem;
}

html[lang="ar"] {
  --font-display: "IBM Plex Sans Arabic", "Cormorant Garamond", sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Outfit", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip {
  position: absolute;
  inset-inline-start: -999px;
  top: 0;
}

.skip:focus {
  inset-inline-start: 1rem;
  top: 1rem;
  z-index: 40;
  background: var(--gold);
  color: var(--bg);
  padding: 0.5rem 0.8rem;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-inline: 1.25rem;
  background: rgba(12, 10, 8, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.brand-mark {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-2), var(--gold));
  box-shadow: 0 0 16px rgba(232, 197, 107, 0.45);
  align-self: center;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-ar {
  color: var(--gold-2);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 1.15rem;
  margin-inline-start: auto;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-toggle {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--sand);
  font: inherit;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}

.lang-toggle:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

.menu-btn {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 0.4rem;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 1px;
  margin: 6px 6px;
  background: var(--sand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.7rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a1408;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--sand);
  background: rgba(255, 255, 255, 0.03);
}

.btn-header {
  min-height: 2.35rem;
  padding-inline: 0.95rem;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  filter: saturate(0.85) contrast(1.05);
}

.hero-scrim {
  background:
    linear-gradient(180deg, rgba(12, 10, 8, 0.2) 0%, rgba(12, 10, 8, 0.55) 45%, rgba(12, 10, 8, 0.96) 100%),
    linear-gradient(90deg, rgba(12, 10, 8, 0.72), transparent 55%);
}

.hero-copy {
  position: relative;
  padding: 5rem 0 3.5rem;
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 500;
}

html[lang="ar"] .kicker {
  letter-spacing: 0.08em;
  text-transform: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.1rem);
  max-width: 12ch;
}

html[lang="ar"] h1 {
  max-width: none;
  line-height: 1.28;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

h3 {
  font-size: 1.25rem;
}

.lede,
.section-head p,
.card p,
.steps p,
.cover p,
.faq-list p,
.contact-card p,
.footer-grid p {
  color: var(--muted);
}

.lede {
  max-width: 38rem;
  font-size: 1.08rem;
  margin: 1.1rem 0 1.6rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 11rem));
  gap: 1.2rem;
  margin: 2.4rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.hero-stats dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-stats dd {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--sand);
}

.panel {
  padding: 5rem 0;
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin-bottom: 0.7rem;
}

.proof {
  background: var(--bg-2);
}

.ba {
  position: relative;
  overflow: hidden;
  border-radius: 0.7rem;
  aspect-ratio: 4 / 3;
  background: #1a1612;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
  box-shadow: 0 24px 60px var(--shadow);
}

.ba-hero {
  aspect-ratio: 16 / 10;
}

.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba .ba-after {
  z-index: 1;
}

.ba .ba-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 3;
  width: 2px;
  background: var(--gold-2);
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.4rem;
  height: 2.4rem;
  border: 2px solid var(--gold-2);
  border-radius: 50%;
  background: rgba(12, 10, 8, 0.72);
  transform: translate(-50%, -50%);
}

.ba-label {
  position: absolute;
  top: 0.8rem;
  z-index: 4;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(12, 10, 8, 0.7);
  color: var(--sand);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ba-label.before {
  left: 0.8rem;
}

.ba-label.after {
  right: 0.8rem;
}

.card-grid,
.gallery-grid {
  display: grid;
  gap: 1rem;
}

.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  padding: 1.4rem 1.35rem 1.5rem;
  border-radius: 0.85rem;
}

.card-num {
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  margin-bottom: 0.7rem;
}

.card h3 {
  margin-bottom: 0.45rem;
}

.gallery {
  background: var(--bg);
}

.gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-grid figure {
  margin: 0;
}

.gallery-grid figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.process {
  background:
    radial-gradient(1200px 400px at 10% 0%, rgba(201, 162, 39, 0.08), transparent 50%),
    var(--bg-2);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.cover-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.cover-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  overflow: hidden;
}

.cover-list li {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-3);
}

.cover-list li:last-child {
  border-bottom: 0;
}

.faq-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
}

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-list summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.1rem;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.contact {
  padding-bottom: 6rem;
}

.contact-card {
  background:
    linear-gradient(180deg, rgba(201, 162, 39, 0.08), transparent 40%),
    var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: clamp(1.6rem, 4vw, 3rem);
}

.contact-card h2 {
  max-width: 16ch;
  margin-bottom: 0.8rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.js-phone-label {
  unicode-bidi: isolate;
  direction: ltr;
}

.fineprint {
  display: none;
  margin-top: 1rem;
  font-size: 0.82rem;
}

.fineprint.show {
  display: block;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 5.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 1rem;
  align-items: start;
}

.footer-grid a {
  display: block;
  color: var(--sand);
}

body.no-wa .wa-float,
body.no-wa .btn-header.js-whatsapp {
  display: none;
}

.wa-float {
  position: fixed;
  inset-inline-end: 1rem;
  bottom: 1rem;
  z-index: 18;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #062;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.wa-float svg {
  width: 1.7rem;
  height: 1.7rem;
}

@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    inset-inline: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0;
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 1.25rem;
  }

  .menu-btn {
    display: block;
  }

  .btn-header {
    display: none;
  }

  h1 {
    max-width: none;
  }

  .hero-stats,
  .card-grid,
  .gallery-grid,
  .process-grid,
  .cover-grid,
  .faq-wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ba-hero {
    aspect-ratio: 4 / 3;
  }
}
