/* =====================================================================
   MOSTAFA AMOUSH — Voice Over Artist | Personal Brand Concept
   Premium dark theme · Bilingual AR/EN · RTL + LTR
   ---------------------------------------------------------------------
   COLORS / الألوان  → edit the variables in :root below
   FONTS  → Tajawal (Arabic) · Inter (body) · Sora (display headings)
   ===================================================================== */

/* ----------------------------- TOKENS ----------------------------- */
:root {
  /* Brand colors — change these to re-skin the whole site */
  --bg:        #0a0908;   /* page background */
  --bg-2:      #0f0d0b;   /* alternating sections */
  --surface:   #16130e;   /* cards */
  --surface-2: #1d1913;   /* raised cards / inputs */
  --border:    rgba(214, 178, 110, 0.14);
  --border-2:  rgba(214, 178, 110, 0.32);

  --gold:      #d8b46e;   /* primary accent */
  --gold-2:    #b8862f;   /* deep gold */
  --gold-soft: #f0dcab;   /* light gold */
  --grad-gold: linear-gradient(135deg, #f6e6bd 0%, #d8b46e 46%, #b07d24 100%);
  --grad-gold-text: linear-gradient(115deg, #fbeec6 0%, #e3c987 40%, #c79a3f 100%);

  --text:      #f6f1e7;   /* main text */
  --muted:     #ada392;   /* secondary text */
  --muted-2:   #756f5f;   /* faint text */

  --radius:    20px;
  --radius-sm: 13px;
  --radius-lg: 28px;

  --shadow:    0 30px 70px -34px rgba(0,0,0,.9);
  --shadow-gold: 0 22px 56px -22px rgba(216,180,110,.40);

  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --font-ar: 'Tajawal', 'Cairo', system-ui, sans-serif;
  --font-en: 'Inter', system-ui, sans-serif;
  --font-display-en: 'Sora', 'Inter', sans-serif;
}

/* --------------------------- BASE / RESET ------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  background:
    radial-gradient(1100px 620px at 80% -8%, rgba(216,180,110,.08), transparent 60%),
    radial-gradient(900px 600px at -10% 12%, rgba(216,180,110,.05), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-ar);
  line-height: 1.78;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Font per language */
html[lang="ar"] body { font-family: var(--font-ar); }
html[lang="en"] body { font-family: var(--font-en); line-height: 1.7; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3,
html[lang="en"] .brand-name, html[lang="en"] .stat-num,
html[lang="en"] .calc-result-value, html[lang="en"] .about-chip-num { font-family: var(--font-display-en); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--gold); color: #1a1206; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 0%;
  background: var(--grad-gold); z-index: 200;
  box-shadow: 0 0 12px rgba(216,180,110,.6);
  transition: width .1s linear;
}

/* --------------------------- LAYOUT ------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.container-narrow { max-width: 840px; }

.section { padding: 110px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }

.section-head { max-width: 740px; margin: 0 auto 60px; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-en);
  font-size: .76rem; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
html[lang="ar"] .eyebrow { letter-spacing: .1em; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px rgba(216,180,110,.16); }

.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  font-weight: 800; line-height: 1.22; letter-spacing: -.015em;
  background: var(--grad-gold-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  color: var(--gold-soft);
}

.section-sub { margin-top: 20px; font-size: 1.06rem; color: var(--muted); line-height: 1.85; }
.lead { font-size: 1.14rem; }

/* ---------------------------- BUTTONS ----------------------------- */
.btn {
  --pad: 15px 28px;
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: var(--pad);
  font-size: .98rem; font-weight: 700; border-radius: 999px;
  border: 1px solid transparent; isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.99); }
.btn-ic { font-size: .8em; }

.btn-gold { background: var(--grad-gold); color: #2a1d05; box-shadow: var(--shadow-gold); }
/* shimmer sweep */
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .7s var(--ease);
}
.btn-gold:hover { box-shadow: 0 26px 64px -20px rgba(216,180,110,.6); }
.btn-gold:hover::after { transform: translateX(130%); }

.btn-ghost { background: rgba(255,255,255,.03); border-color: var(--border-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(216,180,110,.08); color: var(--gold-soft); }

.btn-outline { background: transparent; border-color: var(--gold); color: var(--gold-soft); }
.btn-outline:hover { background: rgba(216,180,110,.1); }

.btn-dark { background: #0c0a07; border-color: var(--border-2); color: var(--gold-soft); }
.btn-dark:hover { border-color: var(--gold); background: #100d09; }

.btn-sm { --pad: 11px 19px; font-size: .88rem; }
.btn-lg { --pad: 18px 36px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ============================ HEADER ============================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease), height .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10,9,8,.78);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
  box-shadow: 0 14px 40px -26px rgba(0,0,0,.95);
}
.header-inner { display: flex; align-items: center; gap: 22px; height: 78px; }

.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--grad-gold); color: #2a1d05;
  font-family: var(--font-en); font-weight: 800; font-size: .98rem; letter-spacing: .02em; flex: none;
  box-shadow: 0 8px 22px -10px rgba(216,180,110,.55);
}
.brand-name { font-size: 1.14rem; letter-spacing: .01em; }

.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav-link {
  position: relative; padding: 9px 13px; font-size: .94rem; font-weight: 600; color: var(--muted);
  border-radius: 9px; transition: color .25s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; inset-inline: 13px; bottom: 3px; height: 2px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: center;
  transition: transform .35s var(--ease-out); border-radius: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; margin-inline-start: 6px; }

/* Language switch */
.lang-switch {
  display: inline-flex; padding: 4px; gap: 2px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px;
}
.lang-btn {
  border: none; background: transparent; color: var(--muted);
  padding: 7px 14px; font-size: .82rem; font-weight: 700; border-radius: 999px;
  font-family: var(--font-en); transition: all .3s var(--ease);
}
.lang-btn.active { background: var(--grad-gold); color: #2a1d05; box-shadow: 0 6px 16px -8px rgba(216,180,110,.6); }
.lang-btn:not(.active):hover { color: var(--text); }

/* Mobile menu toggle */
.menu-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px;
  align-items: center; justify-content: center; }
.menu-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .35s var(--ease); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================= HERO ============================== */
.hero { padding-top: 168px; padding-bottom: 80px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -14%; inset-inline-end: -6%;
  width: 680px; height: 680px; max-width: 84vw;
  background: radial-gradient(circle, rgba(216,180,110,.2), transparent 64%);
  filter: blur(26px); pointer-events: none; z-index: 0;
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  background-image:
    linear-gradient(to right, rgba(216,180,110,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(216,180,110,.05) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 60px; align-items: center;
}
.hero-title {
  font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 800; line-height: 1.18;
  letter-spacing: -.02em; margin: 16px 0 24px;
}
html[lang="en"] .hero-title { font-family: var(--font-display-en); }
.hero-text { color: var(--muted); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 28px; }

.trust-badge {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 12px 20px; border-radius: 999px;
  background: linear-gradient(120deg, rgba(216,180,110,.1), rgba(216,180,110,.03));
  border: 1px solid var(--border); font-size: .9rem; color: var(--gold-soft); line-height: 1.5;
}
.trust-badge svg { width: 18px; height: 18px; fill: var(--gold); flex: none; }

/* Hero profile card */
.hero-card { position: relative; perspective: 1200px; }
.hero-card-inner {
  position: relative; z-index: 1;
  background: linear-gradient(165deg, var(--surface-2), var(--surface) 70%);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 18px; box-shadow: var(--shadow);
  transition: transform .6s var(--ease-out);
}
.hero-card:hover .hero-card-inner { transform: translateY(-8px) rotateX(2deg); }
.hero-card-inner::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); padding: 1px;
  background: linear-gradient(160deg, rgba(216,180,110,.5), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.hero-card-photo { position: relative; }
.hero-card-photo img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--radius); background: var(--surface);
}
.card-tag {
  position: absolute; z-index: 3; top: 30px; inset-inline-start: 30px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-en); font-size: .66rem; font-weight: 700; letter-spacing: .22em;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(10,9,8,.62); border: 1px solid var(--border-2); color: var(--gold-soft);
  backdrop-filter: blur(8px);
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #45e07a;
  box-shadow: 0 0 0 0 rgba(69,224,122,.6); animation: livePulse 1.8s infinite; }
@keyframes livePulse { 0%{box-shadow:0 0 0 0 rgba(69,224,122,.55);} 70%{box-shadow:0 0 0 7px rgba(69,224,122,0);} 100%{box-shadow:0 0 0 0 rgba(69,224,122,0);} }

.rating-chip {
  position: absolute; z-index: 3; inset-inline-end: 30px; bottom: 18px;
  display: flex; flex-direction: column; gap: 1px; align-items: flex-start;
  padding: 9px 15px; border-radius: 14px;
  background: rgba(10,9,8,.72); border: 1px solid var(--border-2); backdrop-filter: blur(8px);
  font-size: .82rem; color: var(--text);
}
.rating-stars { color: var(--gold); letter-spacing: 2px; font-size: .74rem; }
.rating-chip strong { font-family: var(--font-en); }

.hero-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 8px 6px; }
.hero-card-foot strong { display: block; font-family: var(--font-en); font-size: 1.12rem; }
.hero-card-foot > div span { color: var(--muted); font-size: .9rem; }
.hero-card-glow {
  position: absolute; inset: 16px; z-index: 0; border-radius: var(--radius-lg);
  background: var(--grad-gold); filter: blur(54px); opacity: .24;
}

/* Animated waveform */
.waveform { display: flex; align-items: center; gap: 3px; height: 34px; }
.waveform span {
  width: 3px; border-radius: 3px; background: var(--grad-gold);
  height: 30%; animation: wave 1.1s var(--ease) infinite alternate;
}
@keyframes wave { from { height: 18%; opacity: .55; } to { height: 100%; opacity: 1; } }
.cta-wave { height: 56px; justify-content: center; margin: 0 auto 26px; gap: 4px; opacity: .9; }
.cta-wave span { width: 4px; }

/* Stats */
.stats {
  margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 26px; box-shadow: var(--shadow);
}
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: ""; position: absolute; inset-inline-end: -9px; top: 14%; height: 72%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-2), transparent);
}
.stat-num {
  display: block; font-family: var(--font-en); font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1;
  background: var(--grad-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { display: block; margin-top: 8px; color: var(--muted); font-size: .9rem; }

/* ============================ SAMPLES ============================ */
.samples-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sample-card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px; box-shadow: var(--shadow);
  transition: transform .45s var(--ease-out), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.sample-card:hover { transform: translateY(-8px); border-color: var(--border-2); box-shadow: 0 38px 80px -34px rgba(0,0,0,.95); }
.sample-card.sample-hidden { display: none; }

.sample-media { position: relative; border-radius: var(--radius-sm); overflow: hidden; }

/* Responsive video + iframe (as requested) */
.sample-card video,
.sample-card iframe {
  width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-sm);
  display: block; background: #0d0d0f; object-fit: cover;
}

.sample-tag {
  position: absolute; z-index: 3; top: 12px; inset-inline-start: 12px;
  font-family: var(--font-en); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(10,9,8,.66); border: 1px solid var(--border-2); color: var(--gold-soft);
  backdrop-filter: blur(8px);
}
.sample-no {
  position: absolute; z-index: 3; top: 12px; inset-inline-end: 12px;
  font-family: var(--font-en); font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  color: var(--gold); background: rgba(10,9,8,.66); border: 1px solid var(--border);
  padding: 5px 9px; border-radius: 9px; backdrop-filter: blur(8px);
}

/* Elegant fallback box */
.sample-fallback {
  display: none; position: absolute; inset: 0;
  align-items: center; justify-content: center; text-align: center; padding: 22px;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, var(--surface-2), #0a0907);
  border: 1px dashed var(--border-2); color: var(--muted); font-size: .92rem;
}
.sample-card.has-error video { display: none; }
.sample-card.has-error .sample-fallback { display: flex; }

.sample-body { padding: 16px 8px 8px; }
.sample-title { font-size: 1.14rem; font-weight: 700; margin-bottom: 6px; }
.sample-desc { color: var(--muted); font-size: .92rem; line-height: 1.62; }

.samples-more { text-align: center; margin-top: 50px; }

/* ============================= ABOUT ============================= */
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.about-chip {
  position: absolute; inset-inline-end: -18px; bottom: -18px;
  display: flex; align-items: center; gap: 13px; max-width: 240px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-2); border-radius: var(--radius);
  padding: 16px 19px; box-shadow: var(--shadow);
}
.about-chip-num {
  font-family: var(--font-en); font-weight: 800; font-size: 2rem; line-height: 1;
  background: var(--grad-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; flex: none;
}
.about-chip span:last-child { font-size: .86rem; color: var(--muted); line-height: 1.45; }
.about-copy .section-title { text-align: start; }
.about-copy .eyebrow { justify-content: flex-start; }

.lang-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.lang-pills li {
  padding: 10px 19px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  background: rgba(216,180,110,.07); border: 1px solid var(--border); color: var(--gold-soft);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.lang-pills li:hover { border-color: var(--gold); transform: translateY(-2px); }

/* ============================ CARD GRIDS ========================= */
.cards-grid { display: grid; gap: 24px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.feature-card, .usage-card {
  position: relative;
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .45s var(--ease-out), border-color .45s var(--ease);
}
.feature-card:hover, .usage-card:hover { transform: translateY(-8px); border-color: var(--border-2); }
.feature-ic {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  font-size: 1.45rem; color: var(--gold);
  background: linear-gradient(160deg, rgba(216,180,110,.16), rgba(216,180,110,.04));
  border: 1px solid var(--border); margin-bottom: 20px;
}
.feature-card h3, .usage-card h3 { font-size: 1.16rem; margin-bottom: 9px; }
.feature-card p { color: var(--muted); font-size: .94rem; line-height: 1.72; }
.usage-card { display: flex; align-items: center; gap: 16px; min-height: 104px; }
.usage-card h3 { margin: 0; font-size: 1.06rem; }
.usage-ic {
  flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-size: 1.25rem; background: rgba(216,180,110,.1); border: 1px solid var(--border);
}

/* ========================= VOICE STYLES ========================= */
.styles-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.style-card {
  text-align: center; padding: 34px 16px; border-radius: var(--radius);
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  transition: transform .45s var(--ease-out), border-color .45s var(--ease), background .45s var(--ease);
}
.style-card:hover { transform: translateY(-8px); border-color: var(--gold); background: linear-gradient(165deg, var(--surface-2), var(--surface)); }
.style-ic {
  display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 16px;
  border-radius: 50%; font-size: 1.55rem;
  background: linear-gradient(160deg, rgba(216,180,110,.16), rgba(216,180,110,.04));
  border: 1px solid var(--border); color: var(--gold);
}
.style-card h3 { font-size: 1.02rem; font-weight: 700; }

/* =========================== SERVICES =========================== */
.service-card {
  text-align: center; padding: 34px 18px; border-radius: var(--radius);
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  transition: transform .45s var(--ease-out), border-color .45s var(--ease);
}
.service-card:hover { transform: translateY(-8px); border-color: var(--border-2); }
.service-ic { font-size: 2rem; display: block; margin-bottom: 15px; }
.service-card h3 { font-size: 1.04rem; font-weight: 700; }

/* ========================== USE CASES =========================== */
.usecase-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.usecase-pill {
  padding: 15px 30px; border-radius: 999px; font-size: 1rem; font-weight: 600;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); color: var(--text);
  transition: transform .4s var(--ease-out), border-color .4s var(--ease), color .4s var(--ease);
}
.usecase-pill:hover { transform: translateY(-5px); border-color: var(--gold); color: var(--gold-soft); }

/* =========================== CLIENTS ============================ */
.marquee { position: relative; overflow: hidden; padding: 12px 0; margin-top: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content;
  animation: marquee 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.client-logo {
  flex: none; display: grid; place-items: center; min-width: 230px;
  font-family: var(--font-display-en); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  letter-spacing: .03em; color: var(--muted);
  padding: 26px 36px; border-radius: var(--radius);
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.client-logo:hover { color: var(--gold-soft); border-color: var(--border-2); }

/* ========================= HOW IT WORKS ========================= */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step-card {
  position: relative; padding: 42px 30px 32px; border-radius: var(--radius);
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); transition: transform .45s var(--ease-out), border-color .45s var(--ease);
}
.step-card:hover { transform: translateY(-8px); border-color: var(--border-2); }
.step-num {
  position: absolute; top: -24px; inset-inline-start: 30px;
  width: 52px; height: 52px; display: grid; place-items: center;
  font-family: var(--font-en); font-weight: 800; font-size: 1.3rem; color: #2a1d05;
  background: var(--grad-gold); border-radius: 16px; box-shadow: var(--shadow-gold);
}
.step-card h3 { font-size: 1.18rem; margin: 12px 0 9px; }
.step-card p { color: var(--muted); font-size: .95rem; }

/* ===================== TURNAROUND / PROCESS ===================== */
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.process-copy .section-title { text-align: start; }
.process-copy .eyebrow { justify-content: flex-start; }
.process-list { display: flex; flex-direction: column; gap: 12px; }
.process-list li {
  display: flex; align-items: center; gap: 16px; counter-increment: step;
  padding: 21px 24px; border-radius: var(--radius-sm);
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); font-size: 1.02rem; font-weight: 600;
  transition: border-color .35s var(--ease), transform .35s var(--ease-out);
}
.process-list li:hover { border-color: var(--border-2); transform: translateY(-3px); }
.process-list .dot {
  width: 13px; height: 13px; border-radius: 50%; flex: none;
  background: var(--grad-gold); box-shadow: 0 0 0 5px rgba(216,180,110,.12);
}

/* ====================== PRICING CALCULATOR ====================== */
.calc-card {
  max-width: 880px; margin: 0 auto;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 0;
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.calc-left { padding: 38px; }
.calc-field { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.calc-field label { font-weight: 700; color: var(--text); font-size: 1.04rem; }
.calc-field input {
  width: 100%; padding: 16px 20px; font-size: 1.5rem; font-weight: 700; font-family: var(--font-en);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.calc-field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(216,180,110,.13); }

/* Range slider (forced LTR for a consistent 0→max scale) */
.calc-range, .calc-range-scale { direction: ltr; }
.calc-range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) var(--pct,10%), rgba(255,255,255,.08) var(--pct,10%));
  outline: none; cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad-gold); border: 3px solid #1a140a; cursor: pointer;
  box-shadow: 0 6px 16px -4px rgba(216,180,110,.7); transition: transform .2s var(--ease);
}
.calc-range::-webkit-slider-thumb:hover { transform: scale(1.12); }
.calc-range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: #e3c987; border: 3px solid #1a140a; cursor: pointer;
}
.calc-range-scale { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--font-en);
  font-size: .72rem; color: var(--muted-2); }

.calc-legend {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px;
  border-top: 1px solid var(--border); padding-top: 22px;
}
.calc-legend li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 11px; font-size: .82rem; color: var(--muted);
  background: rgba(255,255,255,.025); border: 1px solid var(--border);
}
.calc-legend li b { color: var(--gold-soft); font-family: var(--font-en); }
.calc-legend-wide { width: 100%; }
.calc-legend-wide span { font-size: .82rem; }

.calc-right {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad-gold); padding: 38px 30px; color: #2a1d05; text-align: center;
}
.calc-result-label { font-size: .94rem; font-weight: 700; opacity: .82; }
.calc-result-value { font-family: var(--font-en); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 800; line-height: 1; }
.calc-tier-pill {
  font-size: .8rem; font-weight: 700; padding: 6px 14px; border-radius: 999px;
  background: rgba(42,29,5,.16); color: #2a1d05; min-height: 1.6em;
}
.calc-cta { margin-top: 14px; }
.calc-note { max-width: 880px; margin: 22px auto 0; text-align: center; color: var(--muted-2); font-size: .9rem; }

/* ========================= QUOTE FORM =========================== */
.quote-form {
  max-width: 860px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 9px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 700; color: var(--gold-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font-size: 1rem; font-family: inherit;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 116px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(216,180,110,.1);
}
.field select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
html[dir="rtl"] .field select { background-position: 20px center, 15px center; }

/* ============================== FAQ ============================= */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: linear-gradient(165deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.faq-item.open { border-color: var(--border-2); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 23px 28px; background: transparent; border: none; color: var(--text);
  font-size: 1.06rem; font-weight: 700; text-align: start;
}
.faq-icon {
  flex: none; width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(216,180,110,.1); border: 1px solid var(--border);
  color: var(--gold); font-size: 1.35rem; line-height: 1; transition: transform .4s var(--ease-out), background .3s var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(135deg); background: var(--grad-gold); color: #2a1d05; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a p { padding: 0 28px 25px; color: var(--muted); line-height: 1.88; }

/* ============================ CONTACT =========================== */
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* =========================== FINAL CTA ========================== */
.final-cta { text-align: center; overflow: hidden; padding: 120px 0; }
.cta-glow {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at 50% 45%, rgba(216,180,110,.18), transparent 58%);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; line-height: 1.28; max-width: 780px;
  margin: 0 auto 32px;
  background: var(--grad-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
html[lang="en"] .cta-title { font-family: var(--font-display-en); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ============================ FOOTER ============================ */
.site-footer { background: #070605; border-top: 1px solid var(--border); }
.footer-grid {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  padding: 58px 26px;
}
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-brand strong { font-family: var(--font-en); font-size: 1.16rem; }
.footer-brand p { color: var(--muted); font-size: .92rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-social a { color: var(--muted); font-size: .92rem; font-weight: 600; transition: color .25s var(--ease); }
.footer-social a:hover { color: var(--gold); }

.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom .container {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 24px; padding-bottom: 24px;
}
.footer-note { color: var(--gold); font-size: .85rem; font-weight: 600; }
.footer-copy { color: var(--muted-2); font-size: .85rem; }

/* ====================== FLOATING WHATSAPP ======================= */
.wa-float {
  position: fixed; z-index: 90; inset-inline-end: 24px; bottom: 24px;
  display: inline-flex; align-items: center; gap: 0; height: 60px; padding: 0; width: 60px;
  border-radius: 999px; overflow: hidden;
  background: linear-gradient(160deg, #34d96b, #1faf54);
  box-shadow: 0 16px 40px -12px rgba(37,211,102,.6);
  transition: width .4s var(--ease-out), transform .3s var(--ease), padding .4s var(--ease-out);
}
.wa-float svg { width: 32px; height: 32px; fill: #fff; flex: none; margin: 0 14px; }
.wa-label { color: #fff; font-weight: 700; font-size: .92rem; white-space: nowrap; opacity: 0;
  max-width: 0; transition: opacity .3s var(--ease), max-width .4s var(--ease-out); }
.wa-float:hover { width: auto; padding-inline-end: 20px; transform: translateY(-2px); }
.wa-float:hover .wa-label { opacity: 1; max-width: 220px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; width: 60px; height: 60px; border-radius: 50%;
  border: 2px solid rgba(52,217,107,.5); animation: waPulse 2.4s var(--ease) infinite; pointer-events: none;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

/* ======================= SCROLL REVEAL ========================== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease-out) var(--rd,0s), transform .8s var(--ease-out) var(--rd,0s); will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: none; }

/* ========================= RESPONSIVE =========================== */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-card { max-width: 430px; margin-inline: auto; width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 64px; }
  .about-media { max-width: 430px; }
  .process-grid { grid-template-columns: 1fr; gap: 34px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .styles-grid { grid-template-columns: repeat(3, 1fr); }
  .samples-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  /* Mobile nav */
  .nav {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(10,9,8,.98); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border); padding: 14px 26px 24px; margin: 0;
    transform: translateY(-135%); transition: transform .45s var(--ease-out); z-index: 99;
  }
  .nav.open { transform: translateY(0); }
  .nav-link { width: 100%; padding: 15px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .nav-link::after { display: none; }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  .header-actions { margin-inline-start: auto; }
  .calc-card { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .section { padding: 78px 0; }
  .container { padding: 0 18px; }
  .hero { padding-top: 130px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; padding: 28px 18px; }
  .stat:nth-child(2)::after { display: none; }
  .stat:not(:last-child)::after { top: auto; bottom: -14px; inset-inline-end: 0; inset-inline-start: 0; height: 1px; width: 100%; background: var(--border); }
  .stat:nth-child(3)::after, .stat:nth-child(4)::after { display: none; }
  .samples-grid { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr; }
  .styles-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .calc-left { padding: 26px; }
  .calc-right { padding: 32px 24px; }
  .quote-form { grid-template-columns: 1fr; padding: 26px; }
  .about-chip { inset-inline-end: 50%; transform: translateX(50%); }
  html[dir="rtl"] .about-chip { transform: translateX(-50%); }
  .footer-grid { flex-direction: column; align-items: flex-start; text-align: start; }
  .wa-float { height: 54px; width: 54px; inset-inline-end: 16px; bottom: 16px; }
  .wa-float svg { width: 28px; height: 28px; margin: 0 13px; }
  .wa-float::after { width: 54px; height: 54px; }
  .client-logo { min-width: 170px; padding: 22px 28px; }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float::after, .waveform span, .marquee-track, .live-dot { animation: none; }
  .btn:hover, .sample-card:hover, .feature-card:hover, .style-card:hover, .service-card:hover, .step-card:hover { transform: none; }
}
