/* ============================================================
   BLACKBIRDO — DESIGN SYSTEM
   Brand: #f5a73d (amber/orange) + #0a0a0a (black) + #ffffff
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Clash+Display:wght@400;500;600;700&family=Syne:wght@400;600;700;800&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

/* ============================================================ VARIABLES */
:root {
  --amber: #f5a73d;
  --amber-dark: #d4871a;
  --amber-glow: rgba(245, 167, 61, 0.15);
  --amber-glow-strong: rgba(245, 167, 61, 0.25);
  --black: #060608;
  --black-2: #0e0e12;
  --black-3: #161619;
  --black-4: #1e1e24;
  --white: #ffffff;
  --white-60: rgba(255,255,255,0.6);
  --white-20: rgba(255,255,255,0.12);
  --white-10: rgba(255,255,255,0.06);
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-ar: 'Tajawal', sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================ RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body { font-family: var(--font-ar); }
[dir="rtl"] * { font-family: var(--font-ar); letter-spacing: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ============================================================ UTILITIES */
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; }
.section--sm { padding: 70px 0; }
.text-center { text-align: center; }
.text-amber { color: var(--amber); }

.section-label {
  display: inline-block;
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
  position: relative;
  padding-left: 28px;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 2px;
  background: var(--amber);
}
[dir="rtl"] .section-label { padding-left: 0; padding-right: 28px; }
[dir="rtl"] .section-label::before { left: auto; right: 0; }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
[dir="rtl"] .section-title { font-family: var(--font-ar); letter-spacing: 0; }

/* ============================================================ BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s var(--ease);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: var(--black);
}
.btn-primary:hover {
  background: #ffc063;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px var(--amber-glow-strong);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white-20);
}
.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
}
.btn svg { flex-shrink: 0; }

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

/* ============================================================ HEADER / NAV */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(6, 6, 8, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--white-10);
  transition: all 0.3s var(--ease);
}
.header.scrolled {
  background: rgba(6, 6, 8, 0.97);
  border-color: var(--white-20);
}
.navbar__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.navbar__logo { display: flex; align-items: center; }
.navbar__logo img { height: 38px; width: auto; }
.navbar__logo svg { height: 38px; width: auto; }

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
}
.navbar__link {
  color: var(--white-60);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.2s;
}
.navbar__link:hover, .navbar__link.active {
  color: var(--white);
  background: var(--white-10);
}
.navbar__link.active { color: var(--amber); }

.navbar__actions { display: flex; align-items: center; gap: 12px; }

.lang-btn {
  background: var(--white-10);
  border: 1px solid var(--white-20);
  color: var(--white-60);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.2s;
}
.lang-btn:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.nav-cta {
  background: var(--amber);
  color: var(--black) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: #ffc063;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: all 0.3s var(--ease);
  display: block;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================ MOBILE MENU */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 998;
}
.mobile-overlay.open { display: block; }

.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: min(360px, 90vw);
  height: 100vh;
  background: var(--black-2);
  border-left: 1px solid var(--white-10);
  padding: 88px 32px 48px;
  z-index: 999;
  transition: right 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
[dir="rtl"] .mobile-menu { right: auto; left: -100%; border-left: none; border-right: 1px solid var(--white-10); transition: left 0.35s var(--ease); }
.mobile-menu.open { right: 0; }
[dir="rtl"] .mobile-menu.open { right: auto; left: 0; }
.mobile-menu__link {
  display: block;
  padding: 14px 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white-60);
  border-bottom: 1px solid var(--white-10);
  transition: color 0.2s;
}
.mobile-menu__link:hover { color: var(--amber); }
.mobile-menu__actions { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }

/* ============================================================ HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__ambient-1 {
  position: absolute;
  top: -30%;
  left: -15%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(245, 167, 61, 0.08) 0%, transparent 65%);
}
.hero__ambient-2 {
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(245, 167, 61, 0.05) 0%, transparent 65%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--white-10) 1px, transparent 1px),
    linear-gradient(90deg, var(--white-10) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 80%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero__content {}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--amber-glow);
  border: 1px solid rgba(245, 167, 61, 0.25);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}
.hero__eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--amber);
  border-radius: 50%;
  animation: breathe 2s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
[dir="rtl"] .hero__title { font-family: var(--font-ar); letter-spacing: 0; line-height: 1.3; }
.hero__title em {
  font-style: normal;
  color: var(--amber);
  position: relative;
}
.hero__desc {
  font-size: 1.15rem;
  color: var(--white-60);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 14px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}
.hero__stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero__stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 4px;
}
[dir="rtl"] .hero__stat-num { font-family: var(--font-ar); }
.hero__stat-num span { font-size: 1.4rem; }
.hero__stat-label {
  font-size: 0.82rem;
  color: var(--white-60);
  font-weight: 500;
}

/* Hero visual */
.hero__visual {
  position: relative;
}
.hero__card-stack {
  position: relative;
  height: 460px;
}
.hero__card {
  position: absolute;
  background: var(--black-3);
  border: 1px solid var(--white-20);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(10px);
}
.hero__card--main {
  left: 0; top: 40px;
  right: 0;
  padding: 36px;
}
.hero__card--stat {
  bottom: 0; left: 0;
  width: 180px;
  background: var(--amber);
  border-color: var(--amber);
  color: var(--black);
  animation: float-1 4s ease-in-out infinite;
}
.hero__card--stat2 {
  top: 0; right: -20px;
  width: 200px;
  animation: float-2 5s ease-in-out infinite;
}
@keyframes float-1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes float-2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
.hero__card--main h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--white-60);
  font-weight: 500;
}
.skill-row { margin-bottom: 14px; }
.skill-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 6px;
  font-weight: 500;
}
.skill-info span { color: var(--amber); }
.skill-track {
  height: 4px;
  background: var(--white-10);
  border-radius: 4px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber-dark), var(--amber));
  border-radius: 4px;
  width: 0;
  transition: width 1.4s var(--ease);
}
.skill-fill.animated { width: var(--w); }

.hero__card--stat .stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--black);
}
.hero__card--stat .stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(0,0,0,0.6);
  margin-top: 4px;
}
.hero__card--stat2 .fc-label {
  font-size: 0.75rem;
  color: var(--white-60);
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero__card--stat2 .fc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fc-tag {
  background: var(--amber-glow);
  border: 1px solid rgba(245,167,61,0.2);
  color: var(--amber);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.73rem;
  font-weight: 600;
}

/* ============================================================ ABOUT */
.about { background: var(--black-2); }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__text {}
.about__text .section-title { margin-bottom: 20px; }
.about__text .section-title em { font-style: normal; color: var(--amber); }
.about__desc {
  color: var(--white-60);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 36px;
}
.about__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pillar {
  background: var(--black-3);
  border: 1px solid var(--white-10);
  border-radius: var(--radius);
  padding: 20px;
  transition: all 0.3s var(--ease);
}
.pillar:hover {
  border-color: rgba(245,167,61,0.3);
  transform: translateY(-3px);
}
.pillar-icon { font-size: 1.6rem; margin-bottom: 10px; }
.pillar h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}
[dir="rtl"] .pillar h4 { font-family: var(--font-ar); }
.pillar p { font-size: 0.82rem; color: var(--white-60); line-height: 1.6; }

.about__visual {
  position: relative;
}
.about__visual-img {
  width: 100%;
  height: 460px;
  background: var(--black-3);
  border-radius: 24px;
  border: 1px solid var(--white-10);
  overflow: hidden;
  position: relative;
}
.about__visual-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--amber-glow) 0%, transparent 50%);
  z-index: 1;
}
.about__visual-accent {
  position: absolute;
  bottom: -24px; right: -24px;
  width: 160px; height: 160px;
  background: var(--amber);
  border-radius: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--black);
}
.about__visual-accent strong {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}
.about__visual-accent span { font-size: 0.78rem; font-weight: 700; text-align: center; }

/* ============================================================ SERVICES */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--black-2);
  border: 1px solid var(--white-10);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease);
  cursor: pointer;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--amber-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}
.service-card:hover {
  border-color: rgba(245,167,61,0.4);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}
.service-card:hover::after { opacity: 1; }
.service-card__num {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white-10);
  line-height: 1;
  z-index: 0;
}
[dir="rtl"] .service-card__num { right: auto; left: 24px; }
.service-card__icon {
  width: 52px; height: 52px;
  background: var(--amber-glow);
  border: 1px solid rgba(245,167,61,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}
.service-card:hover .service-card__icon {
  background: var(--amber);
  color: var(--black);
  border-color: var(--amber);
}
.service-card__title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
[dir="rtl"] .service-card__title { font-family: var(--font-ar); }
.service-card__desc {
  color: var(--white-60);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.service-card__features {
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.service-card__features li {
  padding: 5px 0;
  font-size: 0.85rem;
  color: var(--white-60);
  padding-left: 18px;
  position: relative;
}
.service-card__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
}
[dir="rtl"] .service-card__features li { padding-left: 0; padding-right: 18px; }
[dir="rtl"] .service-card__features li::before { left: auto; right: 0; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  font-size: 0.875rem;
  font-weight: 600;
  transition: gap 0.2s;
  position: relative;
  z-index: 1;
}
.service-card:hover .service-card__link { gap: 14px; }

/* Featured card */
.service-card--featured {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--black);
}
.service-card--featured::after { display: none; }
.service-card--featured:hover { box-shadow: 0 24px 48px rgba(245,167,61,0.3); }
.service-card--featured .service-card__num { color: rgba(0,0,0,0.1); }
.service-card--featured .service-card__icon {
  background: rgba(0,0,0,0.1);
  border-color: rgba(0,0,0,0.15);
  color: var(--black);
}
.service-card--featured:hover .service-card__icon {
  background: var(--black);
  color: var(--amber);
  border-color: var(--black);
}
.service-card--featured .service-card__desc { color: rgba(0,0,0,0.65); }
.service-card--featured .service-card__features li { color: rgba(0,0,0,0.7); }
.service-card--featured .service-card__features li::before { background: var(--black); }
.service-card--featured .service-card__link { color: var(--black); }

/* ============================================================ PORTFOLIO */
.portfolio { background: var(--black-2); }
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--black-3);
  border: 1px solid var(--white-10);
  aspect-ratio: 4/3;
  cursor: pointer;
}
.portfolio-item:nth-child(1) { grid-column: span 2; aspect-ratio: 16/9; }
.portfolio-item:nth-child(5) { grid-column: span 2; aspect-ratio: 16/9; }

.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.portfolio-item:hover img { transform: scale(1.07); }
.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }
.portfolio-item__meta h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin-bottom: 4px;
}
[dir="rtl"] .portfolio-item__meta h3 { font-family: var(--font-ar); }
.portfolio-item__meta span {
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Placeholder bg for missing images */
.portfolio-item--placeholder {
  background: linear-gradient(135deg, var(--black-3), var(--black-4));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

/* ============================================================ CLIENTS */
.clients__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}
.client-card {
  background: var(--black-2);
  border: 1px solid var(--white-10);
  border-radius: var(--radius);
  padding: 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  height: 100px;
  width: 100px;
}
.client-card:hover {
  border-color: rgba(245,167,61,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.client-card img {
  max-height: 100px;
  width: 100px;
  filter: grayscale(100%) brightness(150%) opacity(0.5);
  transition: all 0.3s;
  border-radius: 8px;
}
.client-card:hover img {
  filter: grayscale(0%) brightness(100%) opacity(1);
}
.client-card .emoji-fallback {
  font-size: 2rem;
  opacity: 0.4;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--black-2);
  border: 1px solid var(--white-10);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  transition: all 0.3s var(--ease);
}
.testimonial:hover {
  border-color: rgba(245,167,61,0.25);
  transform: translateY(-4px);
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 20px; right: 24px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--white-10);
  line-height: 1;
}
[dir="rtl"] .testimonial::before { right: auto; left: 24px; }
.testimonial blockquote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--white-60);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial__author strong {
  display: block;
  font-weight: 600;
  margin-bottom: 3px;
}
.testimonial__author span {
  font-size: 0.8rem;
  color: var(--amber);
}

/* ============================================================ CONTACT */
.contact { background: var(--black-2); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.contact__info {}
.contact__info .section-title { margin-bottom: 20px; }
.contact__desc { color: var(--white-60); line-height: 1.75; margin-bottom: 40px; }
.contact__items { display: flex; flex-direction: column; gap: 20px; }
.contact__item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact__item-icon {
  width: 48px; height: 48px;
  background: var(--amber-glow);
  border: 1px solid rgba(245,167,61,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  flex-shrink: 0;
}
.contact__item-label {
  font-size: 0.78rem;
  color: var(--white-60);
  margin-bottom: 3px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact__item-value { font-weight: 600; font-size: 0.95rem; }
.contact__item-value a { transition: color 0.2s; }
.contact__item-value a:hover { color: var(--amber); }

.contact__form-wrap {
  background: var(--black-3);
  border: 1px solid var(--white-10);
  border-radius: 24px;
  padding: 44px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.form-group:last-child { margin-bottom: 0; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white-60);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  background: var(--black-2);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-glow);
}
.form-group select { cursor: pointer; appearance: none; }
.form-group select option { background: var(--black-3); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--amber);
  color: var(--black);
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.form-submit:hover {
  background: #ffc063;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px var(--amber-glow-strong);
}
.form-success {
  text-align: center;
  padding: 48px 24px;
  display: none;
}
.form-success__icon {
  font-size: 4rem;
  margin-bottom: 20px;
}
.form-success h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--amber);
  margin-bottom: 12px;
}
.form-success p { color: var(--white-60); }

/* ============================================================ FOOTER */
.footer {
  background: var(--black-2);
  border-top: 1px solid var(--white-10);
  padding: 80px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}
.footer__brand-logo { margin-bottom: 20px; }
.footer__brand-logo img { height: 36px; }
.footer__brand-logo svg { height: 36px; width: auto; }
.footer__brand-desc {
  color: var(--white-60);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 280px;
}
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 40px; height: 40px;
  background: var(--white-10);
  border: 1px solid var(--white-20);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-60);
  transition: all 0.2s;
}
.footer__social a:hover {
  background: var(--amber);
  color: var(--black);
  border-color: var(--amber);
  transform: translateY(-3px);
}
.footer__col-title {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white-60);
  margin-bottom: 20px;
}
[dir="rtl"] .footer__col-title { font-family: var(--font-ar); letter-spacing: 0; }
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  color: var(--white-60);
  font-size: 0.9rem;
  transition: all 0.2s;
  padding-left: 0;
}
.footer__links a:hover {
  color: var(--amber);
  padding-left: 6px;
}
[dir="rtl"] .footer__links a:hover { padding-left: 0; padding-right: 6px; }
.footer__bottom {
  border-top: 1px solid var(--white-10);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy { color: var(--white-60); font-size: 0.85rem; }
.footer__copy strong { color: var(--amber); }

/* ============================================================ FLOATING */
#backToTop {
  position: fixed;
  bottom: 100px; right: 28px;
  width: 48px; height: 48px;
  background: var(--black-3);
  border: 1px solid var(--white-20);
  border-radius: 12px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  z-index: 900;
}
#backToTop.show { opacity: 1; visibility: visible; }
#backToTop:hover {
  background: var(--amber);
  color: var(--black);
  border-color: var(--amber);
  transform: translateY(-3px);
}
[dir="rtl"] #backToTop { right: auto; left: 28px; }

.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s var(--ease);
  z-index: 900;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}
[dir="rtl"] .whatsapp-float { right: auto; left: 28px; }

/* ============================================================ ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: all 0.65s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================ RESPONSIVE */
@media (max-width: 1100px) {
  .hero__inner { gap: 48px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .clients__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .about__inner { grid-template-columns: 1fr; }
  .about__visual { display: none; }
  .contact__inner { grid-template-columns: 1fr; }
  .portfolio__grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item:nth-child(1),
  .portfolio-item:nth-child(5) { grid-column: span 2; }
  .testimonials { grid-template-columns: 1fr; }
  .navbar__menu { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero__title { font-size: 2.4rem; }
  .hero__stats { gap: 20px; }
  .services__grid { grid-template-columns: 1fr; }
  .clients__grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio__grid { grid-template-columns: 1fr; }
  .portfolio-item:nth-child(1),
  .portfolio-item:nth-child(5) { grid-column: span 1; }
  .about__pillars { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact__form-wrap { padding: 28px 20px; }
}


/* ============================================================
   BLACKBIRDO — SERVICE PAGE STYLES
   ============================================================ */

/* BREADCRUMB */
.breadcrumb {
  background: var(--black-2);
  border-bottom: 1px solid var(--white-10);
  padding: 14px 0;
  margin-top: 72px;
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--white-60);
}
.breadcrumb__list a { color: var(--white-60); transition: color 0.2s; }
.breadcrumb__list a:hover { color: var(--amber); }
.breadcrumb__list li:last-child { color: var(--amber); }

/* SVC HERO */
.svc-hero {
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
  background: var(--black);
}
.svc-hero__ambient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(245,167,61,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.svc-hero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.svc-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 16px 0 20px;
}
[dir="rtl"] .svc-hero__title { font-family: var(--font-ar); letter-spacing: 0; line-height: 1.3; }
.svc-hero__title em { font-style: normal; color: var(--amber); }
.svc-hero__desc {
  font-size: 1.1rem;
  color: var(--white-60);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 32px;
}
.svc-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.svc-hero__icon-wrap { flex-shrink: 0; }
.svc-hero__icon-bg {
  width: 160px; height: 160px;
  background: var(--amber-glow);
  border: 1px solid rgba(245,167,61,0.2);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  position: relative;
  overflow: hidden;
}
.svc-hero__icon-bg::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(245,167,61,0.15), transparent);
  border-radius: 32px;
}

/* STATS STRIP */
.stats-strip {
  background: var(--black-3);
  border-top: 1px solid var(--white-10);
  border-bottom: 1px solid var(--white-10);
  padding: 28px 0;
}
.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-strip__item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 6px;
}
[dir="rtl"] .stats-strip__item strong { font-family: var(--font-ar); }
.stats-strip__item span {
  font-size: 0.82rem;
  color: var(--white-60);
  font-weight: 500;
}

/* SVC SECTION HEADER */
.svc-section-header {
  max-width: 600px;
  margin: 0 auto 56px;
  text-align: center;
}
.svc-section-header p {
  color: var(--white-60);
  margin-top: 14px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* SVC DETAIL CARDS */
.svc-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-detail-card {
  background: var(--black-2);
  border: 1px solid var(--white-10);
  border-radius: 18px;
  padding: 28px;
  transition: all 0.3s var(--ease);
}
.svc-detail-card:hover {
  border-color: rgba(245,167,61,0.3);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.svc-detail-card__icon {
  width: 52px; height: 52px;
  background: var(--amber-glow);
  border: 1px solid rgba(245,167,61,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 18px;
  transition: all 0.3s;
}
.svc-detail-card:hover .svc-detail-card__icon {
  background: var(--amber);
  color: var(--black);
}
.svc-detail-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
[dir="rtl"] .svc-detail-card h3 { font-family: var(--font-ar); }
.svc-detail-card p {
  color: var(--white-60);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* PROCESS STEPS */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-glow-strong), transparent);
}
.process-step {
  padding: 0 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-step__num {
  width: 48px; height: 48px;
  background: var(--amber);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 auto 20px;
}
.process-step__content h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
[dir="rtl"] .process-step__content h3 { font-family: var(--font-ar); }
.process-step__content p {
  color: var(--white-60);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* TECH GRID */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.tech-item {
  background: var(--black-2);
  border: 1px solid var(--white-10);
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white-60);
  transition: all 0.2s;
}
.tech-item:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
}

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--black-3);
  border: 1px solid var(--white-10);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(245,167,61,0.3); }
.faq-item summary {
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--amber);
  font-size: 1.4rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  color: var(--white-60);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-top: 16px;
}

/* CTA SECTION */
.svc-cta {
  background: linear-gradient(135deg, var(--black-2) 0%, var(--black-3) 100%);
  border-top: 1px solid var(--white-10);
  border-bottom: 1px solid var(--white-10);
  padding: 80px 0;
}
.svc-cta__inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.svc-cta__inner h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}
[dir="rtl"] .svc-cta__inner h2 { font-family: var(--font-ar); }
.svc-cta__inner p {
  color: var(--white-60);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* OTHER SERVICES */
.other-services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.other-svc-card {
  background: var(--black-2);
  border: 1px solid var(--white-10);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.other-svc-card:hover {
  border-color: rgba(245,167,61,0.35);
  transform: translateY(-5px);
}
.other-svc-card__icon { font-size: 2rem; }
.other-svc-card h3 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}
[dir="rtl"] .other-svc-card h3 { font-family: var(--font-ar); }
.other-svc-card__arrow {
  color: var(--amber);
  font-size: 1.2rem;
  transition: transform 0.2s;
}
.other-svc-card:hover .other-svc-card__arrow { transform: translateX(4px); }
[dir="rtl"] .other-svc-card:hover .other-svc-card__arrow { transform: translateX(-4px); }

/* BENEFITS LIST */
.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--black-2);
  border: 1px solid var(--white-10);
  border-radius: 14px;
  padding: 20px;
}
.benefit-item__check {
  width: 28px; height: 28px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 700;
}
.benefit-item strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.benefit-item p { font-size: 0.82rem; color: var(--white-60); line-height: 1.6; margin: 0; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .svc-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps::before { display: none; }
  .other-services-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-strip__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .svc-hero__inner { grid-template-columns: 1fr; }
  .svc-hero__icon-wrap { display: none; }
  .svc-cards-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .other-services-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .other-services-grid { grid-template-columns: 1fr; }
  .stats-strip__grid { grid-template-columns: 1fr 1fr; }
}


/* ====================== FOOTER ====================== */
.footer {
  background: #0a0a0a;
  border-top: 1px solid #1f1f1f;
  padding: 90px 0 40px;
  color: #aaa;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 70px;
}

.footer__col-title {
  color: #f5a73d;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 22px;
}

.footer__links a {
  display: block;
  color: #aaa;
  font-size: 0.96rem;
  line-height: 2.1;
  transition: all 0.3s ease;
}

.footer__links a:hover {
  color: #f5a73d;
  padding-right: 8px;
}

.footer__brand-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 310px;
  margin: 18px 0 28px;
  color: #888;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 46px;
  height: 46px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  transition: all 0.3s ease;
}

.footer__social a:hover {
  background: #f5a73d;
  color: #000;
  transform: translateY(-4px);
  border-color: #f5a73d;
}

.footer__bottom {
  border-top: 1px solid #222;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.9rem;
  color: #666;
}

.footer__copy strong {
  color: #f5a73d;
}

/* Responsive */
@media (max-width: 992px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer {
    padding: 70px 0 30px;
  }
}


/* ====================== TECH GRID IMPROVED ====================== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px 30px;
}

.tech-category {
  background: var(--black-2);
  border: 1px solid var(--white-10);
  border-radius: 18px;
  padding: 28px 24px;
  transition: all 0.3s ease;
}

.tech-category:hover {
  border-color: rgba(245, 167, 61, 0.3);
  transform: translateY(-4px);
}

.tech-category-title {
  color: var(--amber);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-align: center;
  letter-spacing: 0.5px;
}

.tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tech-item {
  background: var(--black-3);
  border: 1px solid var(--white-10);
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white-60);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.tech-item:hover {
  background: rgba(245, 167, 61, 0.1);
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
}


