/* =========================================================
   Iraq View - Digital Marketing Agency
   Elegant, responsive, bilingual (AR/EN) stylesheet
   Uses CSS logical properties so RTL/LTR flip automatically
   ========================================================= */

:root {
  /* Palette - black + warm gold, premium & elegant
     (var names kept as navy-* for stability; values are now black tones) */
  --navy-900: #000000;
  --navy-800: #0c0c0c;
  --navy-700: #141414;
  --navy: #1a1a1a;
  --navy-600: #2a2a2a;
  --ink: #f2f0ea;
  --slate: #ada9a1;
  --muted: #7e7b74;
  --line: rgba(255,255,255,0.09);

  --gold: #fc00bd;
  --gold-bright: #ff4dd6;
  --gold-soft: rgba(252,0,189,0.14);

  --cream: #100e0b;
  --paper: #0c0c0f;
  --paper-2: #15151b;
  --surface: #1b1b22;

  --white: #ffffff;

  /* Effects */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.07);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.20);
  --ring: 0 0 0 4px rgba(252, 0, 189, 0.22);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 64px);

  /* Type */
  --font-ar: "Tajawal", system-ui, sans-serif;
  --font-en-head: "Poppins", system-ui, sans-serif;
  --font-en-body: "Inter", system-ui, sans-serif;
}

/* Font switching per language */
html[lang="ar"] { font-family: var(--font-ar); }
html[lang="en"] { font-family: var(--font-en-body); }
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] .display,
html[lang="en"] .logo-text { font-family: var(--font-en-head); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }
body {
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* Accessibility: skip-to-content link, visible only on keyboard focus */
.skip-link {
  position: fixed;
  inset-block-start: -100px;
  inset-inline-start: 16px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: var(--ring);
  transition: inset-block-start 0.2s ease;
}
.skip-link:focus { inset-block-start: 16px; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.bg-soft { background: var(--paper-2); }
.bg-cream { background: var(--cream); }
.center { text-align: center; }

/* ---------- Typography ---------- */
h1, h2, h3 { line-height: 1.2; color: var(--ink); font-weight: 800; }
.display {
  font-size: clamp(2.2rem, 6vw, 4.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.h-sm { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--slate); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 0.95rem; }
.text-gold { color: var(--gold); }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head .lead { margin-top: 16px; }
.section-head h2 { margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--navy-900);
  box-shadow: 0 12px 30px rgba(252, 0, 189, 0.35);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(252, 0, 189, 0.45); }
.btn--dark { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.btn--dark:hover { background: var(--gold); color: var(--navy-900); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(252,0,189,0.3); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--light { background: rgba(255,255,255,0.1); color: var(--white); border: 1.5px solid rgba(255,255,255,0.25); }
.btn--light:hover { background: rgba(255,255,255,0.18); transform: translateY(-3px); }
.btn--lg { padding: 17px 36px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.arrow-i { transition: transform .25s ease; }
html[lang="ar"] .arrow-i { transform: scaleX(-1); }
.btn:hover .arrow-i { transform: translateX(4px); }
html[lang="ar"] .btn:hover .arrow-i { transform: scaleX(-1) translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  background: rgba(12, 12, 16, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-900));
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  flex: none;
}
.logo-mark svg { width: 24px; height: 24px; }
.logo-text { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.05; color: var(--ink); }
.logo-text span { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; }
html[lang="ar"] .logo-text span { letter-spacing: 0.05em; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 10px 16px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  inset-inline: 16px;
  inset-block-end: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta-mobile { display: none; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold); }
.lang-toggle svg { width: 17px; height: 17px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  place-items: center;
}
.nav-toggle span {
  position: relative;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: background .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; inset-inline: 0;
  height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s ease;
}
.nav-toggle span::before { inset-block-start: -6px; }
.nav-toggle span::after { inset-block-start: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(252,0,189,0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(20,20,20,0.06), transparent 55%),
    linear-gradient(180deg, var(--cream), var(--paper));
  overflow: hidden;
  padding-block: clamp(56px, 10vw, 110px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.hero-copy .display { margin-block: 18px; }
.hero-copy .lead { max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-block-start: 32px; }
/* Hero visual */
.hero-visual { position: relative; }
.hero-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px;
  border: 1px solid var(--line);
}
.hero-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.hero-card-dot { display: flex; gap: 6px; }
.hero-card-dot i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.hero-card-dot i:first-child { background: var(--gold); }
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.metric {
  background: var(--paper-2);
  border-radius: var(--radius-sm);
  padding: 16px;
  border: 1px solid var(--line);
}
.metric .m-label { font-size: 0.78rem; color: var(--slate); }
.metric .m-val { font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.metric .m-trend { font-size: 0.78rem; font-weight: 700; color: #2f9e6b; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding-top: 6px; }
.bars i {
  flex: 1;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border-radius: 8px 8px 4px 4px;
  display: block;
  opacity: 0.9;
  animation: barRise 1s ease both;
}
.bars i:nth-child(2){ background: linear-gradient(180deg, #3a3a46, #26262e); animation-delay:.08s;}
.bars i:nth-child(3){ animation-delay:.16s;}
.bars i:nth-child(4){ background: linear-gradient(180deg, #3a3a46, #26262e); animation-delay:.24s;}
.bars i:nth-child(5){ animation-delay:.32s;}
@keyframes barRise { from { transform: scaleY(0); transform-origin: bottom; opacity: 0; } }
.hero-float {
  position: absolute;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.92rem;
}
.hero-float .fi {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; flex: none;
  background: var(--gold-soft); color: var(--gold);
}
.hero-float .fi svg { width: 20px; height: 20px; }
.hero-float--1 { inset-block-start: -22px; inset-inline-start: -26px; animation: floaty 5s ease-in-out infinite; }
.hero-float--2 { inset-block-end: -24px; inset-inline-end: -20px; animation: floaty 6s ease-in-out infinite reverse; }
@keyframes floaty { 50% { transform: translateY(-12px); } }

/* ---------- Trust / Logos strip ---------- */
.trust { padding-block: 40px; border-block-end: 1px solid var(--line); }
.trust p { text-align: center; color: var(--muted); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 22px; }
html[lang="ar"] .trust p { text-transform: none; letter-spacing: 0; }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px, 6vw, 64px); }
.trust-row span { font-weight: 800; font-size: 1.25rem; color: var(--muted); opacity: 0.65; letter-spacing: -0.01em; transition: opacity .2s, color .2s; }
.trust-row span:hover { opacity: 1; color: var(--gold); }

/* ---------- Services grid ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 22px;
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset-block-start: 0; inset-inline-start: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: inset-inline-start;
  transition: transform .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1c1c24, #232029);
  display: grid; place-items: center;
  margin-bottom: 22px;
  color: var(--gold);
  transition: background .3s ease, color .3s ease;
}
.card:hover .card-icon { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: var(--navy-900); }
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 0.98rem; }
.card .card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.card .card-tags span {
  font-size: 0.78rem; font-weight: 600; color: var(--slate);
  background: var(--paper-2); border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 100px;
}
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; font-weight: 700; color: var(--gold);
  font-size: 0.95rem;
}
.card-link svg { width: 16px; height: 16px; }

/* ---------- Feature / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #161616, #000000);
  border: 1px solid rgba(252,0,189,0.16);
  aspect-ratio: 4 / 3.2;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.split-media .glow {
  position: absolute; inset: 0;
  background: radial-gradient(420px 320px at 70% 20%, rgba(252,0,189,0.32), transparent 60%);
}
.split-media .badge-stat {
  position: absolute;
  inset-block-end: 26px; inset-inline-start: 26px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 18px 22px;
  color: var(--white);
}
.split-media .badge-stat .bs-num { font-size: 2.2rem; font-weight: 800; color: var(--gold-bright); }
.split-media .badge-stat .bs-label { font-size: 0.88rem; opacity: 0.85; }
.split-media .float-tag {
  position: absolute;
  inset-block-start: 26px; inset-inline-end: 26px;
  background: var(--surface);
  border-radius: 12px; padding: 10px 16px;
  font-weight: 700; font-size: 0.9rem;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 8px;
}
.float-tag .dot { width: 9px; height: 9px; border-radius: 50%; background: #2f9e6b; }

.feature-list { display: grid; gap: 18px; margin-top: 26px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-item .fi-check {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold);
  display: grid; place-items: center;
}
.feature-item .fi-check svg { width: 16px; height: 16px; }
.feature-item h4 { font-size: 1.05rem; margin-bottom: 2px; }
.feature-item p { color: var(--slate); font-size: 0.95rem; }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.step .step-num {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--gold-bright);
  font-weight: 800; font-size: 1.15rem;
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,330px),1fr)); gap: 22px; }
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 18px;
}
.quote .stars { color: var(--gold); display: flex; gap: 3px; }
.quote .stars svg { width: 18px; height: 18px; }
.quote p { color: var(--ink); font-size: 1.05rem; line-height: 1.7; }
.quote-author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote-author .avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-900));
  color: var(--gold-bright); display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem;
}
.quote-author .qa-name { font-weight: 700; }
.quote-author .qa-role { font-size: 0.86rem; color: var(--slate); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 360px at 15% 120%, rgba(252,0,189,0.22), transparent 60%),
    linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(252,0,189,0.18);
  padding: clamp(44px, 7vw, 80px);
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 560px; margin: 16px auto 0; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(900px 480px at 80% -20%, rgba(252,0,189,0.16), transparent 60%),
    linear-gradient(180deg, var(--cream), var(--paper));
  padding-block: clamp(60px, 9vw, 110px) clamp(40px, 6vw, 64px);
  text-align: center;
}
.page-hero .display { margin-top: 14px; }
.page-hero .lead { max-width: 620px; margin: 18px auto 0; }
.crumbs { display: flex; justify-content: center; gap: 8px; font-size: 0.9rem; color: var(--muted); }
.crumbs a:hover { color: var(--gold); }

/* ---------- About specifics ---------- */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,260px),1fr)); gap: 22px; }
.value {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
}
.value .v-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--gold-soft); color: var(--gold);
  display: grid; place-items: center; margin-bottom: 18px;
}
.value .v-icon svg { width: 26px; height: 26px; }
.value h3 { font-size: 1.15rem; margin-bottom: 8px; }
.value p { color: var(--slate); font-size: 0.96rem; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,240px),1fr)); gap: 22px; }
.member { text-align: center; }
.member .m-photo {
  aspect-ratio: 1; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy-600), var(--navy-900));
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--gold-bright); font-weight: 800; font-size: 2.4rem;
  margin-bottom: 16px;
}
.member h3 { font-size: 1.1rem; }
.member .m-role { color: var(--gold); font-weight: 600; font-size: 0.92rem; }

/* ---------- Portfolio ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter-bar button {
  padding: 9px 20px; border-radius: 100px;
  border: 1.5px solid var(--line); font-weight: 600; font-size: 0.92rem;
  color: var(--slate); transition: all .2s ease;
}
.filter-bar button:hover { border-color: var(--gold); color: var(--gold); }
.filter-bar button.active { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: var(--navy-900); border-color: transparent; }

.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,340px),1fr)); gap: 22px; }
.work-item {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  transition: transform .3s ease, box-shadow .3s ease;
}
.work-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-thumb {
  aspect-ratio: 16/11; position: relative;
  display: grid; place-items: center;
  color: var(--white);
}
.work-thumb svg { width: 64px; height: 64px; opacity: 0.9; }
.work-thumb.c1 { background: linear-gradient(140deg, #2c2c2c, #000000); }
.work-thumb.c2 { background: linear-gradient(140deg, #6e0353, #ff4dd6); }
.work-thumb.c3 { background: linear-gradient(140deg, #1a1a1a, #4a0338); }
.work-thumb.c4 { background: linear-gradient(140deg, #3a3a3a, #0a0a0a); }
.work-thumb.c5 { background: linear-gradient(140deg, #3a0a2c, #fc00bd); }
.work-thumb.c6 { background: linear-gradient(140deg, #1a1a1a, #8a0a68); }
.work-body { padding: 24px; }
.work-body .w-cat { font-size: 0.8rem; font-weight: 700; color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase; }
html[lang="ar"] .work-body .w-cat { text-transform: none; letter-spacing: 0; }
.work-body h3 { font-size: 1.2rem; margin: 6px 0 8px; }
.work-body p { color: var(--slate); font-size: 0.94rem; }
.work-metrics { display: flex; gap: 22px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.work-metrics .wm-num { font-weight: 800; color: var(--ink); font-size: 1.2rem; }
.work-metrics .wm-label { font-size: 0.8rem; color: var(--slate); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.contact-info { display: grid; gap: 22px; }
.info-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  position: relative;
}
/* whole card is clickable via the inner link (stretched link) */
.info-card a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.info-card .ic-icon {
  flex: none; width: 48px; height: 48px; border-radius: 12px;
  background: var(--gold-soft); color: var(--gold);
  display: grid; place-items: center;
}
.info-card .ic-icon svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 1.02rem; margin-bottom: 3px; }
.info-card p, .info-card a { color: var(--slate); font-size: 0.95rem; }
.info-card a:hover { color: var(--gold); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
  background: var(--paper-2);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  background: var(--surface);
  box-shadow: var(--ring);
  outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.form-success {
  display: none;
  background: rgba(47,158,107,0.12); border: 1px solid rgba(47,158,107,0.45); color: #6fe0a6;
  border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 18px;
  font-weight: 600;
}
.form-success.show { display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.faq-q {
  width: 100%; text-align: start;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px; font-weight: 700; font-size: 1.05rem;
}
.faq-q .faq-ico { flex: none; transition: transform .3s ease; color: var(--gold); }
.faq-item.open .faq-q .faq-ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 26px 24px; color: var(--slate); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.72); padding-block: clamp(56px, 7vw, 80px) 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { margin-top: 18px; max-width: 320px; font-size: 0.95rem; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,0.07); display: grid; place-items: center;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.footer-social a:hover { background: var(--gold); color: var(--navy-900); transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 0.95rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; margin-bottom: 12px; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--gold); margin-top: 3px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center;
  padding-top: 26px; font-size: 0.88rem;
}
.footer-bottom a:hover { color: var(--gold-bright); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px) scale(.97);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: grid; }
  .nav-quote-desktop { display: none; }
  .nav-links {
    position: fixed;
    inset-block-start: 76px;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--surface);
    padding: 16px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  body.nav-open .nav-links { transform: translateY(0); }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .nav-links a:hover, .nav-links a.active { background: var(--paper-2); }
  .nav-links a.active::after { display: none; }
  .nav-cta-mobile { margin-top: 8px; }
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-float { display: none; }
  .btn--lg { padding: 15px 26px; }
}

/* =========================================================
   ENHANCEMENTS - motion & polish
   ========================================================= */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  box-shadow: 0 0 12px rgba(252,0,189,0.6);
  z-index: 200;
  transition: width .12s linear;
}

/* Animated gradient highlight text */
.text-gold {
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold-bright) 25%, #fff2d2 50%, var(--gold-bright) 75%, var(--gold) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: textShine 6s linear infinite;
}
@keyframes textShine { to { background-position: 220% center; } }

/* Floating ambient orbs in hero / page hero / CTA */
.hero, .page-hero, .cta-band { position: relative; }
.hero, .page-hero { overflow: hidden; }
.hero > .container, .page-hero > .container { position: relative; z-index: 1; }
.cta-band > * { position: relative; z-index: 1; }
.hero::before, .hero::after,
.page-hero::before,
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(252,0,189,0.5), transparent 70%);
  inset-block-start: -110px; inset-inline-end: -70px;
  animation: orbFloat 15s ease-in-out infinite;
}
.hero::after {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(20,20,20,0.20), transparent 70%);
  inset-block-end: -130px; inset-inline-start: -60px;
  animation: orbFloat 20s ease-in-out infinite reverse;
}
.page-hero::before {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(252,0,189,0.38), transparent 70%);
  inset-block-start: -140px; inset-inline-end: -40px;
  animation: orbFloat 17s ease-in-out infinite;
}
.cta-band::before {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(252,0,189,0.4), transparent 70%);
  inset-block-end: -120px; inset-inline-start: -50px;
  animation: orbFloat 16s ease-in-out infinite;
  filter: blur(60px);
}
.cta-band::after {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(252,0,189,0.4), transparent 70%);
  inset-block-start: -90px; inset-inline-end: -40px;
  animation: orbFloat 22s ease-in-out infinite reverse;
  filter: blur(60px);
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, 30px) scale(1.08); }
  66% { transform: translate(-20px, 16px) scale(0.95); }
}

/* Button shine sweep */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn > * { position: relative; z-index: 1; }
.btn::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: -130%;
  width: 60%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  transition: inset-inline-start .65s cubic-bezier(.22,.61,.36,1);
  z-index: 0;
}
.btn:hover::before { inset-inline-start: 150%; }

/* Nav link animated underline */
.nav-links a::before {
  content: "";
  position: absolute;
  inset-block-end: 6px;
  inset-inline: 16px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
}
.nav-links a:hover::before { transform: scaleX(1); }
.nav-links a.active::before { display: none; }

/* Hero 3D tilt support */
.hero-visual { perspective: 1100px; }
.hero-card { transition: transform .25s ease, box-shadow .3s ease; transform-style: preserve-3d; }
.hero-float { transform: translateZ(40px); }

/* Pulsing live dots */
.float-tag .dot {
  animation: pulseGreen 2.2s ease-out infinite;
}
@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(47,158,107,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(47,158,107,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,158,107,0); }
}
.hero-card-dot i:first-child {
  animation: pulseGold 2.2s ease-out infinite;
}
@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(252,0,189,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(252,0,189,0); }
  100% { box-shadow: 0 0 0 0 rgba(252,0,189,0); }
}

/* Logo mark gentle motion on hover */
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.05); }
.logo-mark { transition: transform .35s cubic-bezier(.34,1.56,.64,1); }

/* Hover lifts for content cards */
.quote, .value, .info-card, .step, .work-item {
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease, border-color .35s ease;
}
.quote:hover, .value:hover, .info-card:hover, .step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.v-icon, .ic-icon { transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .35s ease, color .35s ease; }
.value:hover .v-icon, .info-card:hover .ic-icon {
  transform: scale(1.08) rotate(-5deg);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--navy-900);
}
.member .m-photo { transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s ease; }
.member:hover .m-photo { transform: translateY(-6px) scale(1.03); box-shadow: var(--shadow-lg); }
.step .step-num { transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .3s ease; }
.step:hover .step-num { transform: translateY(-3px) rotate(-6deg) scale(1.06); background: linear-gradient(135deg, var(--gold), var(--gold-bright)); color: var(--navy-900); }

/* Quote stars subtle pop in */
.quote .stars { letter-spacing: 2px; }

/* Filter buttons + work thumb icon motion */
.work-item:hover .work-thumb svg { transform: scale(1.12) rotate(4deg); }
.work-thumb svg { transition: transform .45s cubic-bezier(.22,.61,.36,1); }

/* Marquee logos */
.trust.is-marquee-wrap .container {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.trust-row.is-marquee {
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: max-content;
  gap: 0;
  animation: marquee 34s linear infinite;
}
.trust-row.is-marquee span { margin-inline: clamp(16px, 3.2vw, 38px); }
.trust-row.is-marquee:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
html[dir="rtl"] .trust-row.is-marquee { animation-name: marqueeRtl; }
@keyframes marqueeRtl { to { transform: translateX(50%); } }

/* Count-up: avoid layout shift while numbers tick */
.bs-num, .m-val { font-variant-numeric: tabular-nums; }

.section-head.center { will-change: auto; }

@media (max-width: 760px) {
  .nav-links a::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .text-gold {
    -webkit-text-fill-color: var(--gold);
    color: var(--gold);
    background: none;
    animation: none;
  }
  .scroll-progress { display: none; }
}
