:root {
  --bg: #07070d;
  --bg-2: #0f0f18;
  --panel: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f5f7;
  --muted: #b8b8c6;
  --neo: #8b5cf6;
  --neo-2: #a855f7;
  --ybs: #f59e0b;
  --ybs-2: #fbbf24;
  --grad: linear-gradient(90deg, #8b5cf6 0%, #f59e0b 100%);
  --shadow-neo: 0 0 40px rgba(139, 92, 246, 0.35);
  --shadow-ybs: 0 0 40px rgba(245, 158, 11, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.cards-landing {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Kufi Arabic", "Tajawal", Arial, sans-serif;
  overflow-x: hidden;
}

body.cards-landing .navbar,
body.cards-landing .preloader,
body.cards-landing .w-nav-overlay,
body.cards-landing .w-nav-button { display: none !important; }

.cards-site {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 20%, rgba(139, 92, 246, 0.14), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.12), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(139, 92, 246, 0.08), transparent 40%),
    var(--bg);
  position: relative;
}

.cards-site::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: radial-gradient(rgba(255, 255, 255, 0.55) 0.8px, transparent 0.8px);
  background-size: 18px 18px;
  mask-image: radial-gradient(circle at 28% 38%, #000 0%, transparent 58%);
}

.cards-shell {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.cards-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  overflow: visible;
  position: relative;
  z-index: 5;
}

.cards-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  overflow: visible;
  flex-shrink: 0;
  line-height: 0;
}

.cards-brand img,
.cards-brand-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transform: scale(2.85);
  transform-origin: right center;
  position: relative;
  z-index: 2;
}

.cards-brand span {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.cards-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.cards-nav a {
  color: #ececf3;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.cards-nav a:hover { color: var(--ybs); }

.cards-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cards-lang {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.cards-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.25);
}

.cards-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding: 56px 0 34px;
  min-height: 560px;
  position: relative;
}

.cards-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.55), rgba(139, 92, 246, 0.55), transparent);
  opacity: 0.8;
}

.cards-hero-visual {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cards-hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 8% 8%;
  background:
    radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 58%),
    radial-gradient(circle at 70% 70%, rgba(245, 158, 11, 0.18), transparent 52%);
  filter: blur(8px);
}

.cards-hero-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  width: 72%;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.55), transparent 70%);
  filter: blur(10px);
}

.cards-stack {
  position: relative;
  width: min(420px, 100%);
  height: 280px;
}

.pay-card {
  position: absolute;
  width: 300px;
  height: 188px;
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.pay-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 42%);
  pointer-events: none;
}

.pay-card.neo-card {
  left: 0;
  top: 26px;
  transform: rotate(-10deg);
  background: linear-gradient(135deg, #7c3aed 0%, #9333ea 55%, #6d28d9 100%);
  box-shadow: var(--shadow-neo);
  z-index: 2;
}

.pay-card.ybs-card {
  right: 0;
  top: 0;
  transform: rotate(8deg);
  background: linear-gradient(145deg, #111 0%, #1a1a1a 45%, #0d0d0d 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: var(--shadow-ybs);
  z-index: 3;
}

.pay-card-chip {
  width: 42px;
  height: 30px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f4d58d, #c89b3c);
  margin-bottom: 28px;
}

.pay-card.ybs-card .pay-card-chip {
  background: linear-gradient(135deg, #d4d4d8, #9ca3af);
}

.pay-card-logo {
  max-width: 120px;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
  position: absolute;
  left: 24px;
  bottom: 58px;
}

.pay-card.neo-card .pay-card-logo { filter: brightness(0) invert(1); }

.pay-card.ybs-card .pay-card-logo {
  max-width: 132px;
  max-height: 52px;
  bottom: 52px;
}

.pay-card-brand-mark {
  position: absolute;
  left: 24px;
  bottom: 22px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.pay-card.neo-card .pay-card-brand-mark {
  color: #fff;
  text-transform: lowercase;
}

.pay-card.ybs-card .pay-card-brand-mark {
  color: var(--ybs);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.pay-card-network {
  position: absolute;
  right: 22px;
  bottom: 18px;
  display: flex;
  gap: 0;
}

.pay-card-network span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  opacity: 0.95;
}

.pay-card-network span:first-child { background: #eb001b; margin-right: -8px; }
.pay-card-network span:last-child { background: #f79e1b; }

.cards-hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.2;
  font-weight: 900;
}

.cards-hero-copy h1 .neo-word { color: var(--neo-2); }
.cards-hero-copy h1 .ybs-word { color: var(--ybs); }

.cards-hero-copy .lead {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.cards-hero-copy .body {
  margin: 0 0 28px;
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.cards-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cards-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cards-btn:hover { transform: translateY(-2px); }

.cards-btn.primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 12px 28px rgba(139, 92, 246, 0.28);
}

.cards-btn.secondary {
  color: #fff;
  border: 1px solid rgba(139, 92, 246, 0.65);
  background: rgba(255, 255, 255, 0.03);
}

.cards-btn .chev {
  display: inline-block;
  transform: scaleX(-1);
  font-size: 16px;
  line-height: 1;
}

.cards-features {
  margin: 8px 0 42px;
  padding: 22px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cards-feature {
  text-align: center;
  padding: 8px 10px;
}

.cards-feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.cards-feature-icon.orange {
  color: var(--ybs);
  box-shadow: inset 0 0 18px rgba(245, 158, 11, 0.12);
}

.cards-feature-icon.purple {
  color: var(--neo-2);
  box-shadow: inset 0 0 18px rgba(139, 92, 246, 0.14);
}

.cards-feature h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
}

.cards-feature p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.cards-products {
  display: grid;
  grid-template-columns: 1fr 1fr 0.95fr;
  gap: 22px;
  padding-bottom: 70px;
}

.cards-section-head {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 4px;
}

.cards-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.45);
  color: var(--neo-2);
  font-size: 12px;
  font-weight: 800;
}

.cards-section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 900;
}

.product-card {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  padding: 24px 22px 22px;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.product-card.neo-product { border-color: rgba(139, 92, 246, 0.45); }
.product-card.ybs-product { border-color: rgba(245, 158, 11, 0.45); }

body.focus-neo .product-card.neo-product,
body.focus-ybs .product-card.ybs-product {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

body.focus-neo .product-card.neo-product {
  border-color: rgba(167, 139, 250, 0.85);
  box-shadow: var(--shadow-neo);
}

body.focus-ybs .product-card.ybs-product {
  border-color: rgba(251, 191, 36, 0.85);
  box-shadow: var(--shadow-ybs);
}

.product-card-visual {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.product-card-visual .mini-card {
  width: 230px;
  height: 142px;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.product-card.neo-product .mini-card {
  background: linear-gradient(135deg, #7c3aed, #9333ea);
}

.product-card.ybs-product .mini-card {
  background: linear-gradient(145deg, #101010, #1d1d1d);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.mini-card img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 120px;
  max-height: 48px;
  object-fit: contain;
}

.product-card.neo-product .mini-card img { filter: brightness(0) invert(1); }

.product-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 900;
}

.product-card.neo-product h3 { color: #ddd6fe; }
.product-card.ybs-product h3 { color: #fde68a; }

.product-card .desc {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.product-list {
  list-style: none;
  margin: 0 0 auto;
  padding: 0;
}

.product-list li {
  position: relative;
  padding: 7px 22px 7px 0;
  font-size: 13px;
  color: #ececf3;
}

.product-list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  top: 7px;
  font-weight: 900;
}

.product-card.neo-product .product-list li::before { color: var(--neo-2); }
.product-card.ybs-product .product-list li::before { color: var(--ybs); }

.product-card .cards-btn {
  margin-top: 18px;
  align-self: flex-start;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.why-panel {
  border-radius: 22px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08), rgba(255, 255, 255, 0.02));
  padding: 24px 20px;
}

.why-panel h3 {
  margin: 0 0 18px;
  text-align: center;
  color: var(--ybs);
  font-size: 24px;
  font-weight: 900;
}

.why-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.why-item:last-child { border-bottom: 0; }

.why-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 18px;
}

.why-item strong {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 2px;
}

.why-item span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.cards-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}

.cards-footer a {
  color: #ddd6fe;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .cards-hero { grid-template-columns: 1fr; min-height: auto; }
  .cards-hero-visual { min-height: 320px; }
  .cards-products { grid-template-columns: 1fr 1fr; }
  .why-panel { grid-column: 1 / -1; }
  .cards-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .cards-topbar { flex-wrap: wrap; justify-content: center; }
  .cards-brand img,
  .cards-brand-logo {
    height: 32px;
    max-width: 180px;
    transform: scale(2.2);
  }
  .cards-nav { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .cards-stack { transform: scale(0.88); }
  .cards-products,
  .cards-features { grid-template-columns: 1fr; }
  .cards-hero-copy .lead { font-size: 18px; }
  .cards-footer { flex-direction: column; text-align: center; }
}

/* YBS company profile page — hero image orange/red gradient theme */
body.ybs-profile {
  --ybs-bg-deep: #0d0d0d;
  --ybs-bg-mid: #141010;
  --ybs-orange: #ff7e21;
  --ybs-orange-light: #ff9a4d;
  --ybs-red: #e3292e;
  --ybs-red-deep: #b91c1c;
  --ybs-gray: #8a8d8f;
  --ybs-mix: #f05a24;
  --ybs-mix-light: #ff9a4d;
  --ybs-logo-gray-light: #e8e8ea;
  --ybs-logo-red-light: #ff4d4d;
  --ybs-logo-red: #e3292e;
  --ybs-logo-orange: #ff7e21;
  --ybs-profile-grad: linear-gradient(90deg, #ff7e21 0%, #e3292e 100%);
  --ybs-profile-grad-soft: linear-gradient(135deg, rgba(255, 126, 33, 0.2), rgba(227, 41, 46, 0.16));
  --ybs-logo-word-grad: linear-gradient(
    90deg,
    #f5f5f7 0%,
    #f5f5f7 28%,
    #ff7e21 42%,
    #ff7e21 58%,
    #e3292e 72%,
    #e3292e 100%
  );
  --ybs-glow: 0 0 40px rgba(255, 126, 33, 0.32), 0 0 64px rgba(227, 41, 46, 0.2);
  --shadow-ybs-mix: var(--ybs-glow);
  --bg: #0d0d0d;
  --bg-2: #141010;
  --line: rgba(255, 126, 33, 0.14);
}

body.ybs-profile.cards-landing {
  background: var(--ybs-bg-deep);
  color: var(--text);
}

body.ybs-profile .cards-site {
  background:
    radial-gradient(ellipse 80% 50% at 10% 20%, rgba(255, 126, 33, 0.22), transparent 55%),
    radial-gradient(ellipse 65% 45% at 90% 8%, rgba(227, 41, 46, 0.18), transparent 52%),
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(227, 41, 46, 0.1), transparent 58%),
    radial-gradient(ellipse 55% 35% at 30% 55%, rgba(255, 126, 33, 0.14), transparent 48%),
    radial-gradient(ellipse 40% 30% at 75% 70%, rgba(255, 126, 33, 0.08), transparent 50%),
    var(--ybs-bg-deep);
}

body.ybs-profile .cards-site::before {
  opacity: 0.1;
  mask-image: radial-gradient(circle at 30% 40%, #000 0%, transparent 62%);
}

body.ybs-profile .cards-topbar {
  border-bottom-color: rgba(255, 126, 33, 0.2);
}

body.ybs-profile .cards-nav a:hover { color: var(--ybs-orange-light); }

body.ybs-profile .cards-lang {
  border-color: rgba(255, 126, 33, 0.3);
  color: #ffc89a;
}

body.ybs-profile .cards-contact-btn {
  background: var(--ybs-profile-grad);
  box-shadow: var(--ybs-glow);
}

body.ybs-profile .cards-btn.primary {
  background: var(--ybs-profile-grad);
  box-shadow: var(--ybs-glow);
}

body.ybs-profile .cards-btn.secondary {
  border-color: rgba(255, 126, 33, 0.55);
  background: linear-gradient(180deg, rgba(255, 126, 33, 0.08), rgba(227, 41, 46, 0.06));
  box-shadow: inset 0 0 20px rgba(255, 126, 33, 0.06);
}

body.ybs-profile .cards-btn.secondary:hover {
  border-color: rgba(255, 154, 77, 0.75);
  box-shadow: 0 0 24px rgba(255, 126, 33, 0.25);
}

body.ybs-profile .ybs-hero::after {
  background: linear-gradient(90deg, transparent, rgba(255, 126, 33, 0.5), rgba(227, 41, 46, 0.45), transparent);
}

body.ybs-profile .hero-banner {
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.05) 0%, rgba(13, 13, 13, 0.2) 28%, rgba(20, 16, 16, 0.72) 52%, rgba(13, 13, 13, 0.94) 70%, var(--ybs-bg-deep) 100%),
    var(--hero-image, none) center left / cover no-repeat,
    radial-gradient(ellipse 70% 60% at 22% 55%, rgba(255, 126, 33, 0.28), transparent 58%),
    radial-gradient(ellipse 50% 40% at 55% 85%, rgba(227, 41, 46, 0.22), transparent 52%),
    radial-gradient(ellipse 40% 30% at 80% 25%, rgba(255, 126, 33, 0.1), transparent 50%),
    var(--ybs-bg-mid);
}

body.ybs-profile .ybs-hero-pay-card {
  background: linear-gradient(145deg, #141414 0%, #1a1210 42%, #0d0d0d 100%);
  border: 1px solid rgba(255, 126, 33, 0.38);
  box-shadow: var(--ybs-glow);
}

body.ybs-profile .ybs-hero-pay-card .pay-card-brand-mark {
  color: var(--ybs-orange);
}

body.ybs-profile .cards-hero-copy h1 .ybs-word,
body.ybs-profile .ybs-word {
  display: inline;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: inherit;
  filter: none;
}

body.ybs-profile .ybs-word .ybs-y {
  color: var(--ybs-logo-gray-light);
}

body.ybs-profile .ybs-word .ybs-b {
  background: linear-gradient(180deg, var(--ybs-logo-orange) 0%, var(--ybs-logo-red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.ybs-profile .ybs-word .ybs-s {
  color: var(--ybs-logo-red);
}

body.ybs-profile .ybs-agent-note .ybs-word {
  background: var(--ybs-logo-word-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.ybs-profile .ybs-badge {
  border-color: rgba(255, 126, 33, 0.45);
  color: #ffd4a8;
  background: rgba(227, 41, 46, 0.1);
}

body.ybs-profile .ybs-section-head h2 {
  background: linear-gradient(180deg, #fff 0%, #ffd4a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.ybs-profile .ybs-service-card {
  border-color: rgba(255, 126, 33, 0.26);
  background: linear-gradient(180deg, rgba(255, 126, 33, 0.1), rgba(20, 16, 16, 0.55));
  backdrop-filter: blur(10px);
}

body.ybs-profile .ybs-service-card:hover {
  border-color: rgba(255, 154, 77, 0.55);
  box-shadow: var(--ybs-glow);
}

body.ybs-profile .ybs-service-icon {
  color: var(--ybs-orange);
  border-color: rgba(255, 126, 33, 0.35);
  background: linear-gradient(135deg, rgba(255, 126, 33, 0.16), rgba(227, 41, 46, 0.08));
  box-shadow: inset 0 0 18px rgba(255, 126, 33, 0.12), 0 0 14px rgba(227, 41, 46, 0.1);
}

body.ybs-profile .ybs-service-card h3 {
  color: #ffd4a8;
}

body.ybs-profile .ybs-project-card {
  border-color: rgba(227, 41, 46, 0.3);
  background: linear-gradient(180deg, rgba(255, 126, 33, 0.08), rgba(20, 16, 16, 0.5));
  backdrop-filter: blur(10px);
}

body.ybs-profile .ybs-project-icon {
  color: var(--ybs-orange);
  border-color: rgba(255, 126, 33, 0.35);
  background: linear-gradient(135deg, rgba(255, 126, 33, 0.16), rgba(227, 41, 46, 0.08));
}

body.ybs-profile .ybs-project-body h3 {
  color: #ffd4a8;
}

body.ybs-profile .ybs-project-list li::before {
  color: var(--ybs-red);
}

body.ybs-profile .cards-feature-strip {
  border-color: rgba(255, 126, 33, 0.26);
  background: linear-gradient(180deg, rgba(255, 126, 33, 0.12), rgba(20, 16, 16, 0.65));
  box-shadow: inset 0 1px 0 rgba(255, 126, 33, 0.1), 0 10px 40px rgba(227, 41, 46, 0.1);
  backdrop-filter: blur(8px);
}

body.ybs-profile .cfs-item {
  border-left-color: rgba(255, 126, 33, 0.2);
}

body.ybs-profile .cfs-icon {
  color: var(--ybs-orange);
  border-color: rgba(255, 126, 33, 0.35);
  background: linear-gradient(135deg, rgba(255, 126, 33, 0.14), rgba(227, 41, 46, 0.08));
  box-shadow: inset 0 0 18px rgba(255, 126, 33, 0.12), 0 0 14px rgba(227, 41, 46, 0.08);
}

body.ybs-profile .cfs-text strong {
  color: #ffd4a8;
}

body.ybs-profile .cards-footer {
  border-top-color: rgba(255, 126, 33, 0.22);
  background: linear-gradient(180deg, transparent, rgba(227, 41, 46, 0.06));
}

body.ybs-profile .ybs-agent-note .neo-word {
  color: var(--ybs-orange-light);
}

body.ybs-profile .cards-footer a {
  color: #ffd4a8;
}

body.ybs-profile .cards-footer a:hover {
  color: var(--ybs-orange-light);
}

body.ybs-profile .ybs-hero-pay-card .pay-card-chip {
  background: var(--ybs-profile-grad);
}

.ybs-hero-card {
  position: relative;
  width: min(360px, 100%);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ybs-hero-pay-card {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  transform: rotate(-4deg);
  width: 320px;
  height: 200px;
}

.ybs-content-section {
  padding: 18px 0 56px;
}

.ybs-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.ybs-badge {
  border-color: rgba(243, 112, 33, 0.42);
  color: var(--ybs-mix-light, #ff9a5a);
}

.ybs-section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 900;
}

.ybs-section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.ybs-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ybs-service-card {
  border-radius: 20px;
  border: 1px solid rgba(243, 112, 33, 0.22);
  background: linear-gradient(180deg, rgba(243, 112, 33, 0.06), rgba(227, 24, 55, 0.04));
  padding: 24px 22px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.ybs-service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 143, 74, 0.55);
  box-shadow: var(--shadow-ybs-mix, 0 0 40px rgba(243, 112, 33, 0.24));
}

.ybs-service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--ybs-mix, #e85220);
  box-shadow: inset 0 0 18px rgba(243, 112, 33, 0.1), inset 0 0 12px rgba(227, 24, 55, 0.08);
}

.ybs-service-icon svg,
.ybs-project-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.ybs-service-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
  color: #ffc89a;
}

.ybs-service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.ybs-projects-section {
  padding-top: 8px;
}

.ybs-project-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  align-items: start;
  border-radius: 22px;
  border: 1px solid rgba(227, 24, 55, 0.28);
  background: linear-gradient(180deg, rgba(243, 112, 33, 0.07), rgba(227, 24, 55, 0.05));
  padding: 28px 26px;
  max-width: 920px;
  margin: 0 auto;
}

.ybs-project-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--ybs-mix, #e85220);
}

.ybs-project-body h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 900;
  color: #ffc89a;
}

.ybs-project-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

@media (max-width: 1100px) {
  .ybs-services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .ybs-services-grid { grid-template-columns: 1fr; }
  .ybs-project-card { grid-template-columns: 1fr; }
  .ybs-hero-card { transform: scale(0.9); }
}

body.ybs-profile-ltr {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
}

body.ybs-profile-ltr .cards-brand img,
body.ybs-profile-ltr .cards-brand-logo {
  transform-origin: left center;
}

body.ybs-profile-ltr .cards-btn .chev {
  transform: none;
}

body.ybs-profile-ltr .cards-hero-copy h1 {
  font-size: clamp(28px, 3.8vw, 44px);
}

body.ybs-profile-ltr .cards-hero-copy .body + .body {
  margin-top: 16px;
}

body.ybs-profile-ltr .ybs-agent-note {
  color: #ececf3;
  font-weight: 600;
}

/* YBS agent page — Arabic / Kurdish Sorani (RTL) variant */
body.ybs-profile-rtl {
  font-family: "Noto Kufi Arabic", "Montserrat", Arial, sans-serif;
}

body.ybs-profile-rtl .cards-hero-copy h1 {
  font-size: clamp(28px, 3.8vw, 44px);
}

body.ybs-profile-rtl .cards-hero-copy .body + .body {
  margin-top: 16px;
}

body.ybs-profile-rtl .ybs-agent-note {
  color: #ececf3;
  font-weight: 600;
}

.ybs-projects-stack {
  display: grid;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}

.ybs-project-list {
  list-style: none;
  margin: 14px 0;
  padding: 0;
}

.ybs-project-list li {
  position: relative;
  padding: 6px 0 6px 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.ybs-project-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.ybs-project-body p + p {
  margin-top: 14px;
}

.neo-advantages-section {
  padding-top: 8px;
  padding-bottom: 70px;
}

/* Neo company profile page — hero image gradient theme */
body.neo-profile {
  --neo-bg-deep: #0b0114;
  --neo-bg-mid: #1a0b2e;
  --neo-purple: #7f00ff;
  --neo-purple-bright: #9d4dff;
  --neo-magenta: #bf00ff;
  --neo-magenta-hot: #e040fb;
  --neo-blue: #4169ff;
  --neo-cyan: #00d4ff;
  --neo-grad: linear-gradient(135deg, #7f00ff 0%, #bf00ff 55%, #e040fb 100%);
  --neo-grad-btn: linear-gradient(90deg, #8a2be2 0%, #7f00ff 45%, #bf00ff 100%);
  --neo-glow: 0 0 40px rgba(191, 0, 255, 0.32), 0 0 64px rgba(127, 0, 255, 0.18);
  --bg: #0b0114;
  --bg-2: #1a0b2e;
  --line: rgba(191, 0, 255, 0.14);
  --shadow-neo: var(--neo-glow);
}

body.neo-profile.cards-landing {
  background: var(--neo-bg-deep);
  color: var(--text);
}

body.neo-profile .cards-site {
  background:
    radial-gradient(ellipse 80% 50% at 12% 18%, rgba(191, 0, 255, 0.2), transparent 55%),
    radial-gradient(ellipse 65% 45% at 88% 8%, rgba(127, 0, 255, 0.16), transparent 52%),
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(65, 105, 255, 0.1), transparent 58%),
    radial-gradient(ellipse 55% 35% at 35% 55%, rgba(191, 0, 255, 0.14), transparent 48%),
    radial-gradient(ellipse 40% 30% at 75% 70%, rgba(0, 212, 255, 0.06), transparent 50%),
    var(--neo-bg-deep);
}

body.neo-profile .cards-site::before {
  opacity: 0.12;
  mask-image: radial-gradient(circle at 30% 40%, #000 0%, transparent 62%);
}

body.neo-profile .cards-topbar {
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom-color: rgba(127, 0, 255, 0.2);
}

body.neo-profile .cards-nav a:hover { color: var(--neo-magenta-hot); }

body.neo-profile .cards-lang {
  border-color: rgba(127, 0, 255, 0.3);
  color: #c4b5fd;
}

body.neo-profile .cards-contact-btn {
  background: var(--neo-grad-btn);
  box-shadow: var(--neo-glow);
}

body.neo-profile .cards-btn.primary {
  background: var(--neo-grad-btn);
  box-shadow: var(--neo-glow);
}

body.neo-profile .cards-btn.secondary {
  border-color: rgba(191, 0, 255, 0.55);
  background: linear-gradient(180deg, rgba(127, 0, 255, 0.1), rgba(26, 11, 46, 0.4));
  box-shadow: inset 0 0 20px rgba(127, 0, 255, 0.08);
}

body.neo-profile .cards-btn.secondary:hover {
  border-color: rgba(224, 64, 251, 0.75);
  box-shadow: 0 0 24px rgba(191, 0, 255, 0.25);
}

body.neo-profile .neo-hero::after {
  background: linear-gradient(90deg, transparent, rgba(127, 0, 255, 0.45), rgba(191, 0, 255, 0.35), transparent);
}

body.neo-profile .hero-banner {
  background:
    linear-gradient(90deg, rgba(11, 1, 20, 0.05) 0%, rgba(11, 1, 20, 0.2) 28%, rgba(26, 11, 46, 0.72) 52%, rgba(11, 1, 20, 0.94) 70%, var(--neo-bg-deep) 100%),
    var(--hero-image, none) center left / cover no-repeat,
    radial-gradient(ellipse 70% 60% at 25% 55%, rgba(191, 0, 255, 0.28), transparent 58%),
    radial-gradient(ellipse 50% 40% at 60% 85%, rgba(127, 0, 255, 0.22), transparent 52%),
    radial-gradient(ellipse 40% 30% at 80% 30%, rgba(0, 212, 255, 0.08), transparent 50%),
    var(--neo-bg-mid);
}

body.neo-profile .cards-hero-copy h1 .neo-word,
body.neo-profile .neo-word {
  background: linear-gradient(135deg, #ff4dff 0%, #e040fb 35%, #bf00ff 70%, #9d4dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(191, 0, 255, 0.55));
}

body.neo-profile .ybs-badge {
  border-color: rgba(191, 0, 255, 0.45);
  color: #e9d5ff;
  background: rgba(127, 0, 255, 0.12);
}

body.neo-profile .ybs-section-head h2 {
  background: linear-gradient(180deg, #fff 0%, #e9d5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.neo-profile .ybs-service-card {
  border-color: rgba(127, 0, 255, 0.28);
  background: linear-gradient(180deg, rgba(127, 0, 255, 0.12), rgba(26, 11, 46, 0.55));
  backdrop-filter: blur(10px);
}

body.neo-profile .ybs-service-card:hover {
  border-color: rgba(224, 64, 251, 0.55);
  box-shadow: var(--neo-glow);
}

body.neo-profile .ybs-service-icon {
  color: var(--neo-magenta-hot);
  border-color: rgba(127, 0, 255, 0.35);
  background: linear-gradient(135deg, rgba(127, 0, 255, 0.18), rgba(191, 0, 255, 0.08));
  box-shadow: inset 0 0 20px rgba(191, 0, 255, 0.14), 0 0 14px rgba(127, 0, 255, 0.15);
}

body.neo-profile .ybs-service-card h3 {
  color: #f3e8ff;
}

body.neo-profile .ybs-project-card {
  border-color: rgba(127, 0, 255, 0.32);
  background: linear-gradient(180deg, rgba(127, 0, 255, 0.1), rgba(26, 11, 46, 0.5));
  backdrop-filter: blur(10px);
}

body.neo-profile .ybs-project-icon {
  color: var(--neo-magenta-hot);
  border-color: rgba(127, 0, 255, 0.35);
  background: linear-gradient(135deg, rgba(127, 0, 255, 0.18), rgba(191, 0, 255, 0.08));
}

body.neo-profile .ybs-project-body h3 {
  color: #f3e8ff;
}

body.neo-profile .ybs-project-list li::before {
  color: var(--neo-magenta);
}

body.neo-profile .cards-feature-strip {
  border-color: rgba(127, 0, 255, 0.28);
  background: linear-gradient(180deg, rgba(127, 0, 255, 0.14), rgba(26, 11, 46, 0.65));
  box-shadow: inset 0 1px 0 rgba(191, 0, 255, 0.12), 0 10px 40px rgba(127, 0, 255, 0.12);
  backdrop-filter: blur(8px);
}

body.neo-profile .cfs-item {
  border-left-color: rgba(127, 0, 255, 0.2);
}

body.neo-profile .cfs-icon {
  color: var(--neo-magenta-hot);
  border-color: rgba(127, 0, 255, 0.35);
  background: linear-gradient(135deg, rgba(127, 0, 255, 0.16), rgba(191, 0, 255, 0.08));
  box-shadow: inset 0 0 18px rgba(191, 0, 255, 0.14), 0 0 14px rgba(127, 0, 255, 0.12);
}

body.neo-profile .cfs-text strong {
  color: #f3e8ff;
}

body.neo-profile .cards-footer {
  border-top-color: rgba(127, 0, 255, 0.22);
  background: linear-gradient(180deg, transparent, rgba(127, 0, 255, 0.06));
}

body.neo-profile .cards-footer a {
  color: #e9d5ff;
}

body.neo-profile .cards-footer a:hover {
  color: var(--neo-magenta-hot);
}

body.neo-profile .neo-brand-logo {
  filter: none;
  height: auto;
  max-height: 68px;
  max-width: 180px;
  transform: none;
}

body.neo-profile .neo-hero-pay-card {
  transform: rotate(-4deg);
}

body.neo-profile-ltr {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
}

body.neo-profile-ltr .cards-brand img,
body.neo-profile-ltr .cards-brand-logo {
  transform-origin: left center;
}

body.neo-profile-ltr .neo-brand-logo {
  transform-origin: left center;
}

body.neo-profile-ltr .cards-btn .chev {
  transform: none;
}

body.neo-profile-ltr .cards-hero-copy h1 {
  font-size: clamp(28px, 3.8vw, 44px);
}

body.neo-profile-ltr .cards-hero-copy .body + .body {
  margin-top: 16px;
}

body.neo-profile-ltr .ybs-agent-note {
  color: #ececf3;
  font-weight: 600;
}

/* Neo agent page — Arabic / Kurdish Sorani (RTL) variant */
body.neo-profile-rtl {
  font-family: "Noto Kufi Arabic", "Montserrat", Arial, sans-serif;
}

body.neo-profile-rtl .cards-hero-copy h1 {
  font-size: clamp(28px, 3.8vw, 44px);
}

body.neo-profile-rtl .cards-hero-copy .body + .body {
  margin-top: 16px;
}

body.neo-profile-rtl .ybs-agent-note {
  color: #ececf3;
  font-weight: 600;
}

/* ============================================================
   Premium hero upgrades — tagline, feature strip, podium glow
   (aligns Neo & YBS agent pages with the reference design)
   ============================================================ */

/* Hero tagline / lead line */
.cards-hero-copy .hero-lead {
  margin: -4px 0 20px;
  font-size: clamp(19px, 2.3vw, 27px);
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}

.cards-hero-copy .hero-lead .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.neo-profile .cards-hero-copy .hero-lead .accent {
  background: linear-gradient(90deg, #a855f7 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.ybs-profile .cards-hero-copy .hero-lead .accent {
  background: var(--ybs-profile-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Podium glow beneath the hero card */
.cards-hero-visual::after {
  width: 74%;
  height: 56px;
  bottom: 4%;
  background: radial-gradient(ellipse at center, rgba(167, 139, 250, 0.5) 0%, rgba(139, 92, 246, 0.14) 54%, transparent 74%);
  box-shadow: 0 0 70px 10px rgba(139, 92, 246, 0.2);
  filter: blur(3px);
}

body.ybs-profile .cards-hero-visual::after {
  background: radial-gradient(ellipse at center, rgba(255, 143, 74, 0.46) 0%, rgba(243, 112, 33, 0.14) 54%, transparent 74%);
  box-shadow: 0 0 70px 10px rgba(243, 112, 33, 0.18);
}

/* Feature strip — 4 highlights below the hero */
.cards-feature-strip {
  margin: 6px 0 4px;
  padding: 22px 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.cfs-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 26px;
  border-left: 1px solid var(--line);
}

.cfs-item:first-child { border-left: 0; }

.cfs-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--neo-2);
  box-shadow: inset 0 0 16px rgba(139, 92, 246, 0.12);
}

.cfs-icon svg { width: 24px; height: 24px; display: block; }

.cfs-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 3px;
}

.cfs-text span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .cards-feature-strip { grid-template-columns: repeat(2, 1fr); gap: 6px 0; }
  .cfs-item:nth-child(3) { border-left: 0; }
}

@media (max-width: 600px) {
  .cards-feature-strip { grid-template-columns: 1fr; }
  .cfs-item { border-left: 0; border-top: 1px solid var(--line); padding: 14px 20px; }
  .cfs-item:first-child { border-top: 0; }
}

/* ============================================================
   Premium hero card v2 — realistic finish replacing the flat
   placeholder card (chip detail, contactless, embossed number,
   sheen, proper Mastercard mark)
   ============================================================ */
.ybs-hero-card {
  width: min(440px, 100%);
  height: 310px;
}

.ybs-hero-pay-card {
  width: 392px;
  height: 250px;
  padding: 24px 26px 22px;
  border-radius: 20px;
  transform: rotate(-6deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.ybs-hero-pay-card .pc-sheen {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(118deg, transparent 33%, rgba(255, 255, 255, 0.18) 47%, rgba(255, 255, 255, 0.03) 53%, transparent 63%);
}

.ybs-hero-pay-card > .pc-row,
.ybs-hero-pay-card > .pc-number {
  position: relative;
  z-index: 2;
}

.pc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* realistic chip */
.ybs-hero-pay-card .pay-card-chip {
  position: relative;
  width: 48px;
  height: 37px;
  margin: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, #fdeeb5 0%, #d8b055 48%, #b3852e 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18), 0 1px 2px rgba(0, 0, 0, 0.25);
}

.ybs-hero-pay-card .pay-card-chip::before {
  content: "";
  position: absolute;
  inset: 7px 5px;
  border-radius: 3px;
  background-image:
    linear-gradient(90deg, transparent 46%, rgba(70,48,8,0.55) 46% 54%, transparent 54%),
    linear-gradient(0deg, transparent 20%, rgba(70,48,8,0.55) 20% 28%, transparent 28% 72%, rgba(70,48,8,0.55) 72% 80%, transparent 80%);
}

body.ybs-profile .ybs-hero-pay-card .pay-card-chip {
  background: linear-gradient(135deg, #eaeaee, #adadb4 55%, #82828a);
}

/* contactless symbol */
.pc-nfc {
  width: 26px;
  height: 26px;
  color: rgba(255, 255, 255, 0.85);
}

body.ybs-profile .pc-nfc { color: rgba(255, 255, 255, 0.68); }

/* embossed card number */
.pc-number {
  font-family: "Montserrat", Menlo, monospace;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}

body.ybs-profile .pc-number { color: rgba(232, 232, 236, 0.9); }

/* brand + logo (static, inside flex flow) */
.ybs-hero-pay-card .pay-card-brand-mark {
  position: static;
  left: auto;
  bottom: auto;
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  text-transform: lowercase;
  letter-spacing: -0.5px;
}

.ybs-hero-pay-card .pay-card-logo {
  position: static;
  left: auto;
  top: auto;
  bottom: auto;
  transform: none;
  max-width: 158px;
  max-height: 46px;
}

/* proper Mastercard mark */
.ybs-hero-pay-card .pay-card-network {
  position: static;
  right: auto;
  bottom: auto;
}

.ybs-hero-pay-card .pay-card-network span {
  width: 30px;
  height: 30px;
}

.ybs-hero-pay-card .pay-card-network span:first-child {
  background: #eb001b;
  margin-right: -11px;
}

.ybs-hero-pay-card .pay-card-network span:last-child {
  background: #f79e1b;
}

/* neo premium surface */
body.neo-profile .neo-hero-pay-card {
  transform: rotate(-6deg);
  background:
    radial-gradient(130% 120% at 16% 6%, rgba(0, 212, 255, 0.2), transparent 42%),
    radial-gradient(100% 80% at 85% 90%, rgba(191, 0, 255, 0.35), transparent 50%),
    linear-gradient(135deg, #1a0b2e 0%, #0b0114 45%, #120820 100%);
  border: 1px solid rgba(127, 0, 255, 0.35);
  box-shadow: 0 32px 70px rgba(127, 0, 255, 0.35), inset 0 0 0 1px rgba(191, 0, 255, 0.12), var(--neo-glow);
}

/* ybs premium surface */
body.ybs-profile .ybs-hero-pay-card {
  transform: rotate(-6deg);
  background:
    radial-gradient(130% 120% at 84% 6%, rgba(255, 126, 33, 0.28), transparent 44%),
    radial-gradient(100% 80% at 10% 90%, rgba(227, 41, 46, 0.2), transparent 50%),
    linear-gradient(140deg, #1a1210 0%, #0d0d0d 52%, #050506 100%);
  border: 1px solid rgba(255, 126, 33, 0.35);
  box-shadow: 0 32px 70px rgba(227, 41, 46, 0.25), inset 0 0 0 1px rgba(255, 126, 33, 0.1), var(--ybs-glow);
}

/* tighter hero heading so it stops dominating */
body.neo-profile-ltr .cards-hero-copy h1,
body.ybs-profile-ltr .cards-hero-copy h1 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.5px;
}

@media (max-width: 720px) {
  .ybs-hero-pay-card { width: 340px; height: 216px; }
  .ybs-hero-card { transform: scale(0.96); }
}

/* ============================================================
   Full-width hero banner (image placeholder) — text on the right
   Swap the image later: set --hero-image on .hero-banner, e.g.
   <section class="... hero-banner" style="--hero-image:url(../../images/hero.png)">
   then delete the .hero-ph-badge element.
   ============================================================ */
.hero-banner {
  position: relative;
  display: flex;
  align-items: center;
  grid-template-columns: none;
  gap: 0;
  width: 100%;
  min-height: 560px;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 7, 13, 0.42) 0%, rgba(7, 7, 13, 0.22) 20%, rgba(7, 7, 13, 0.55) 44%, rgba(7, 7, 13, 0.88) 68%, var(--bg) 100%),
    var(--hero-image, none) center / cover no-repeat,
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 24px),
    radial-gradient(circle at 26% 28%, rgba(139, 92, 246, 0.16), transparent 46%),
    var(--bg-2);
}

.hero-banner.cards-hero {
  display: flex;
  grid-template-columns: unset;
  gap: 0;
  padding: 0;
}

.hero-banner-inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0;
  display: flex;
  justify-content: flex-end;
  direction: ltr;
}

.hero-banner-copy {
  max-width: 600px;
  flex: 0 1 600px;
  text-align: right;
  margin-left: auto;
  margin-right: 0;
}

[dir="rtl"] .hero-banner-copy {
  direction: rtl;
  text-align: right;
  margin-left: auto;
  margin-right: 0;
}

.hero-banner-copy .body {
  margin-left: auto;
  margin-right: 0;
  max-width: 560px;
}

.hero-banner-copy .cards-hero-actions {
  display: flex;
  justify-content: flex-end;
  direction: ltr;
}

[dir="rtl"] .hero-banner-copy .cards-hero-actions {
  direction: ltr;
  justify-content: flex-end;
}

/* placeholder marker on the left (delete when the real image is in) */
.hero-ph-badge {
  position: absolute;
  left: 7%;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 18px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
}

@media (max-width: 980px) {
  .hero-ph-badge { display: none; }
  .hero-banner { min-height: 480px; }
  .hero-banner-copy { max-width: 100%; }
}

/* ── Language switcher (globe + dropdown, like the main site / Delta Solar) ── */
.cards-lang-switch { position: relative; }
.cards-lang-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.cards-lang-toggle img { width: 18px; height: 18px; filter: invert(1); opacity: 0.85; }
.cards-lang-toggle:hover { border-color: var(--neo-2); }
.cards-lang-list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  background: #0b0b12;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  display: none;
  z-index: 60;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5);
}
.cards-lang-switch:hover .cards-lang-list,
.cards-lang-switch:focus-within .cards-lang-list { display: block; }
.cards-lang-item {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: #ececf3;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.cards-lang-item:hover { background: rgba(255, 255, 255, 0.06); }
.cards-lang-item.is-current { color: var(--neo-2); pointer-events: none; }

body.ybs-profile .cards-lang-toggle { border-color: rgba(243, 112, 33, 0.35); }
body.ybs-profile .cards-lang-toggle:hover { border-color: var(--ybs); }
body.ybs-profile .cards-lang-item.is-current { color: #ffc89a; }

body.neo-profile .cards-lang-toggle { border-color: rgba(127, 0, 255, 0.3); }
body.neo-profile .cards-lang-toggle:hover { border-color: var(--neo-magenta-hot); }
body.neo-profile .cards-lang-list { background: #0b0114; border-color: rgba(127, 0, 255, 0.28); }
body.neo-profile .cards-lang-item.is-current { color: #c4b5fd; }

/* ── RTL support for Arabic / Kurdish Sorani microsite pages ── */
[dir="rtl"] .cards-lang-list { right: auto; left: 0; text-align: right; }
[dir="rtl"] .ybs-project-list li { padding: 6px 22px 6px 0; }
[dir="rtl"] .ybs-project-list li::before { left: auto; right: 0; }
[dir="rtl"] .cards-hero-actions,
[dir="rtl"] .cards-top-actions { direction: rtl; }
[dir="rtl"] .chev { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] body,
[dir="rtl"] .cards-hero-copy,
[dir="rtl"] .ybs-service-card,
[dir="rtl"] .ybs-project-body,
[dir="rtl"] .cfs-text { text-align: right; }
[dir="rtl"] body,
[dir="rtl"] .cards-site,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 {
  font-family: "Noto Kufi Arabic", "Montserrat", Arial, sans-serif;
}

/* ── Branches map (Iraq) — shared by YBS & Neo partner pages ── */
body.ybs-profile {
  --map-accent: var(--ybs-orange);
  --map-accent-pulse: rgba(255, 126, 33, 0.22);
  --map-accent-pulse-active: rgba(255, 126, 33, 0.35);
  --map-accent-ring: rgba(255, 126, 33, 0.4);
  --map-accent-glow: rgba(255, 126, 33, 0.65);
}

body.neo-profile {
  --map-accent: var(--neo-magenta-hot);
  --map-accent-pulse: rgba(191, 0, 255, 0.22);
  --map-accent-pulse-active: rgba(191, 0, 255, 0.35);
  --map-accent-ring: rgba(191, 0, 255, 0.4);
  --map-accent-glow: rgba(191, 0, 255, 0.65);
}

.partners-map-section { padding-top: 8px; }

.partners-map-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
}

.partners-map-wrap {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.partners-iraq-leaflet {
  width: 100%;
  height: 420px;
  background: #eef0f3;
}

.partners-iraq-leaflet.leaflet-container {
  font-family: "Montserrat", Arial, sans-serif;
}

.partners-iraq-leaflet .leaflet-control-zoom a {
  background: rgba(255, 255, 255, 0.92);
  color: var(--map-accent);
  border-color: rgba(0, 0, 0, 0.15);
}

.partners-iraq-leaflet .leaflet-control-zoom a:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #000;
}

.partners-iraq-leaflet .leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.75);
  color: rgba(0, 0, 0, 0.55);
  font-size: 10px;
}

.partners-iraq-leaflet .leaflet-control-attribution a {
  color: var(--map-accent);
}

.partners-pin-wrap {
  background: transparent;
  border: none;
}

.partners-pin {
  display: block;
  width: 18px;
  height: 18px;
  margin: 5px;
  border-radius: 50%;
  background: var(--map-accent);
  border: 3px solid #0c0714;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15), 0 4px 14px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partners-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  background: var(--map-accent-pulse);
  animation: partners-pin-pulse 2s ease-out infinite;
  z-index: 1;
}

.partners-pin-wrap.is-active .partners-pin {
  transform: scale(1.2);
  box-shadow: 0 0 0 4px var(--map-accent-ring), 0 0 22px var(--map-accent-glow);
}

.partners-pin-wrap.is-active .partners-pulse {
  animation-duration: 1.2s;
  background: var(--map-accent-pulse-active);
}

@keyframes partners-pin-pulse {
  0% { transform: scale(0.35); opacity: 0.8; }
  70%, 100% { transform: scale(1); opacity: 0; }
}

.partners-map-tooltip {
  background: rgba(8, 8, 8, 0.94) !important;
  border: 1px solid var(--map-accent) !important;
  color: var(--map-accent) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
}

.partners-map-tooltip.leaflet-tooltip-top:before {
  border-top-color: var(--map-accent) !important;
}

.partners-branch-panel {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  padding: 24px 22px;
  display: flex;
  align-items: center;
}

.partners-branch-empty {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.partners-branch-card {
  width: 100%;
  animation: partners-branch-in 0.25s ease both;
}

.partners-branch-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--map-accent);
  font-weight: 800;
}

.partners-branch-card h3 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
}

.partners-branch-row {
  margin-bottom: 14px;
}

.partners-branch-row:last-child {
  margin-bottom: 0;
}

.partners-branch-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 700;
}

.partners-branch-row p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #e8e8e8;
}

.partners-branch-phone {
  margin: 0 0 6px;
}

.partners-branch-phone:last-child {
  margin-bottom: 0;
}

.partners-branch-phone a {
  display: block;
  color: var(--map-accent);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.partners-branch-phone a:hover {
  text-decoration: underline;
}

@keyframes partners-branch-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .partners-map-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .partners-iraq-leaflet { height: 320px; }
}

[dir="rtl"] .partners-branch-kicker,
[dir="rtl"] .partners-branch-label,
[dir="rtl"] .partners-branch-row p,
[dir="rtl"] .partners-branch-empty,
[dir="rtl"] .partners-branch-card h3 {
  text-align: right;
}

/* ============================================================
   Neo + YBS united profile — black & white + Delta orange glimpses
   ============================================================ */

body.neoYbs-profile {
  --neoYbs-bg-deep: #000000;
  --neoYbs-bg-mid: #0a0a0a;
  --neoYbs-orange: #f37021;
  --neoYbs-orange-soft: rgba(243, 112, 33, 0.18);
  --neoYbs-orange-glow: rgba(243, 112, 33, 0.28);
  --neoYbs-grad: #ffffff;
  --neoYbs-grad-btn: #ffffff;
  --neoYbs-glow: none;
  --bg: #000000;
  --bg-2: #0a0a0a;
  --text: #ffffff;
  --muted: #b3b3b3;
  --line: rgba(255, 255, 255, 0.14);
  --map-accent: #f37021;
}

body.neoYbs-profile.cards-landing {
  background: #000;
  color: #fff;
}

body.neoYbs-profile .cards-site {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 55% 40% at 8% 18%, var(--neoYbs-orange-soft), transparent 60%),
    radial-gradient(ellipse 45% 35% at 92% 72%, rgba(243, 112, 33, 0.1), transparent 58%),
    #000;
}

body.neoYbs-profile .cards-site::before {
  opacity: 0.06;
  z-index: 0;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 70%);
  background-image: radial-gradient(rgba(255, 255, 255, 0.7) 0.7px, transparent 0.7px);
}

body.neoYbs-profile .cards-site::after {
  content: none;
}

body.neoYbs-profile .cards-shell,
body.neoYbs-profile .neoYbs-hero,
body.neoYbs-profile .cards-footer {
  position: relative;
  z-index: 1;
}

/* Keep header + language dropdown above the full-bleed hero */
body.neoYbs-profile .cards-site > .cards-shell:first-child {
  z-index: 80;
}

body.neoYbs-profile .cards-topbar {
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  z-index: 80;
  overflow: visible;
}

body.neoYbs-profile .cards-top-actions {
  position: relative;
  z-index: 90;
  overflow: visible;
}

body.neoYbs-profile .cards-lang-switch {
  position: relative;
  z-index: 100;
}

body.neoYbs-profile .cards-lang {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ddd;
}

body.neoYbs-profile .cards-lang:hover,
body.neoYbs-profile .cards-lang-toggle:hover {
  border-color: rgba(255, 255, 255, 0.55);
}

body.neoYbs-profile .cards-lang-toggle {
  border-color: rgba(255, 255, 255, 0.25);
}

body.neoYbs-profile .cards-lang-list {
  top: 100%;
  padding-top: 10px;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 200;
}

body.neoYbs-profile .cards-lang-list::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
  z-index: -1;
}

body.neoYbs-profile .cards-lang-switch:hover .cards-lang-list,
body.neoYbs-profile .cards-lang-switch:focus-within .cards-lang-list,
body.neoYbs-profile .cards-lang-switch.is-open .cards-lang-list {
  display: block;
}

body.neoYbs-profile .cards-lang-item.is-current {
  color: #fff;
}

body.neoYbs-profile .cards-contact-btn {
  background: #fff;
  color: #000;
  box-shadow: none;
}

body.neoYbs-profile .cards-contact-btn:hover {
  background: #e8e8e8;
  color: #000;
}

body.neoYbs-profile .neoYbs-brand {
  gap: 10px;
}

body.neoYbs-profile .neoYbs-brand .cards-brand-logo {
  transform: none;
  height: auto;
  max-height: 52px;
  max-width: 140px;
  filter: none;
}

body.neoYbs-profile .neoYbs-brand .neo-brand-logo {
  max-height: 56px;
  max-width: 150px;
  filter: none;
}

body.neoYbs-profile .cards-nav a:hover { color: #fff; }

body.neoYbs-profile .cards-btn.primary {
  background: var(--neoYbs-orange);
  color: #fff;
  box-shadow: 0 8px 22px rgba(243, 112, 33, 0.28);
}

body.neoYbs-profile .cards-btn.primary:hover {
  background: #ff8338;
  color: #fff;
}

body.neoYbs-profile .cards-btn.secondary {
  border-color: rgba(243, 112, 33, 0.65);
  background: transparent;
  color: #fff;
  box-shadow: none;
}

body.neoYbs-profile .cards-btn.secondary:hover {
  border-color: var(--neoYbs-orange);
  color: var(--neoYbs-orange);
  background: rgba(243, 112, 33, 0.1);
  box-shadow: none;
}

body.neoYbs-profile .neoYbs-hero::after {
  background: linear-gradient(90deg, transparent 0%, var(--neoYbs-orange) 35%, #fff 50%, var(--neoYbs-orange) 65%, transparent 100%);
  opacity: 0.85;
  height: 2px;
}

body.neoYbs-profile .hero-banner {
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.35) 40%,
      rgba(0, 0, 0, 0.78) 62%,
      rgba(0, 0, 0, 0.92) 100%
    ),
    radial-gradient(ellipse 50% 60% at 85% 70%, rgba(243, 112, 33, 0.14), transparent 60%),
    var(--hero-image, none) center left / cover no-repeat,
    #000;
}

body.neoYbs-profile .hero-banner::before {
  content: none;
}

body.neoYbs-profile .hero-banner-inner {
  position: relative;
  z-index: 1;
}

body.neoYbs-profile .cards-hero-copy h1 {
  color: #fff;
}

body.neoYbs-profile .cards-hero-copy h1 .neo-word,
body.neoYbs-profile .neo-word {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #fff;
  filter: none;
}

body.neoYbs-profile .cards-hero-copy h1 .ybs-word,
body.neoYbs-profile .ybs-word {
  display: inline;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #fff;
  filter: none;
}

body.neoYbs-profile .ybs-word .ybs-y,
body.neoYbs-profile .ybs-word .ybs-b,
body.neoYbs-profile .ybs-word .ybs-s {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #fff;
}

body.neoYbs-profile .cards-hero-copy .body {
  color: #cfcfcf;
}

body.neoYbs-profile .ybs-badge {
  border-color: rgba(243, 112, 33, 0.55);
  color: var(--neoYbs-orange);
  background: rgba(243, 112, 33, 0.08);
}

body.neoYbs-profile .ybs-section-head h2 {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #fff;
}

body.neoYbs-profile .ybs-section-lead {
  color: #b3b3b3;
}

body.neoYbs-profile .ybs-service-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

body.neoYbs-profile .ybs-service-card:hover {
  border-color: rgba(243, 112, 33, 0.45);
  box-shadow: 0 0 24px rgba(243, 112, 33, 0.12);
}

body.neoYbs-profile .ybs-service-icon {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

body.neoYbs-profile .ybs-service-card:hover .ybs-service-icon {
  color: var(--neoYbs-orange);
  border-color: rgba(243, 112, 33, 0.45);
  background: rgba(243, 112, 33, 0.1);
}

body.neoYbs-profile .ybs-service-card h3 {
  color: #fff;
}

body.neoYbs-profile .ybs-service-card p {
  color: #b3b3b3;
}

body.neoYbs-profile .ybs-project-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

body.neoYbs-profile .ybs-project-card:hover {
  border-color: rgba(243, 112, 33, 0.4);
  box-shadow: 0 0 24px rgba(243, 112, 33, 0.1);
}

body.neoYbs-profile .ybs-project-icon {
  color: var(--neoYbs-orange);
  border-color: rgba(243, 112, 33, 0.35);
  background: rgba(243, 112, 33, 0.08);
}

body.neoYbs-profile .ybs-project-body h3 {
  color: #fff;
}

body.neoYbs-profile .ybs-project-body p,
body.neoYbs-profile .ybs-project-list {
  color: #b3b3b3;
}

body.neoYbs-profile .ybs-project-list li::before {
  color: var(--neoYbs-orange);
}

body.neoYbs-profile .cards-feature-strip {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(243, 112, 33, 0.12);
  backdrop-filter: blur(8px);
}

body.neoYbs-profile .cfs-item {
  border-left-color: rgba(255, 255, 255, 0.12);
}

body.neoYbs-profile .cfs-icon {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

body.neoYbs-profile .cfs-item:nth-child(odd) .cfs-icon {
  color: var(--neoYbs-orange);
  border-color: rgba(243, 112, 33, 0.35);
  background: rgba(243, 112, 33, 0.08);
}

body.neoYbs-profile .cfs-text strong {
  color: #fff;
}

body.neoYbs-profile .cfs-text span {
  color: #b3b3b3;
}

body.neoYbs-profile .cards-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-image: none;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(243, 112, 33, 0.08), transparent 70%);
  color: #b3b3b3;
}

body.neoYbs-profile .cards-footer a {
  color: #fff;
}

body.neoYbs-profile .cards-footer a:hover {
  color: var(--neoYbs-orange);
}

body.neoYbs-profile .partners-branch-panel,
body.neoYbs-profile .partners-map-wrap {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

body.neoYbs-profile .partners-branch-phone a {
  color: var(--neoYbs-orange);
}

body.neoYbs-profile-ltr {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
}

body.neoYbs-profile-ltr .cards-btn .chev {
  transform: none;
}

body.neoYbs-profile-ltr .cards-hero-copy h1 {
  font-size: clamp(28px, 3.8vw, 44px);
}

body.neoYbs-profile-ltr .cards-hero-copy .body + .body {
  margin-top: 16px;
}

body.neoYbs-profile-rtl {
  font-family: "Noto Kufi Arabic", "Montserrat", Arial, sans-serif;
}

body.neoYbs-profile-rtl .cards-hero-copy h1 {
  font-size: clamp(28px, 3.8vw, 44px);
}

body.neoYbs-profile-rtl .cards-hero-copy .body + .body {
  margin-top: 16px;
}

@media (max-width: 620px) {
  body.neoYbs-profile .neoYbs-brand .cards-brand-logo {
    max-height: 40px;
    max-width: 100px;
  }

  body.neoYbs-profile .neoYbs-brand .neo-brand-logo {
    max-height: 44px;
    max-width: 110px;
  }
}
