/* =====================================================================
   Bayan Labs — Softconic-style dark agency theme on Bootstrap 5 (RTL),
   recoloured to the brand identity: violet (#8B5CF6/#6D28D9) as the
   ambient brand hue (glows, chips, depth) and amber (#F59E0B) as the
   signature action colour (CTAs, links, highlights) on a violet-cast
   near-black canvas. Hairline borders, flat card surfaces and giant
   outlined ghost headings behind section titles. Bootstrap keeps
   layout/components; this file owns colour, depth, type and motion.
   ===================================================================== */

:root {
  /* Brand core — violet + amber sampled from the Bayan Labs logo. */
  --bg: #0f0e14;
  --bg-band: #131118;
  --bg-card: #17141f;
  --bg-panel: #1b1826;
  --bg-input: #100e16;

  --accent: #f59e0b;
  --accent-soft: #fbbf24;
  --accent-dim: rgba(245, 158, 11, .1);
  --on-accent: #1c1206;

  --violet: #8b5cf6;
  --violet-soft: #a78bfa;
  --violet-deep: #6d28d9;
  --violet-dim: rgba(139, 92, 246, .12);

  --heading: #ffffff;
  --ink: #d3cede;
  --muted: #b1abc0;
  --faint: #7f7891;

  --line: #232030;
  --line-strong: #2e2a3d;

  --grad-accent: linear-gradient(100deg, #f59e0b 0%, #fbbf24 100%);
  --grad-brand: linear-gradient(120deg, #8b5cf6 0%, #6d28d9 100%);
  --grad-aurora: linear-gradient(90deg, #8b5cf6 0%, #a78bfa 40%, #fbbf24 100%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --fs-body: 1rem;
  --fs-lead: 1.09rem;

  --shadow-md: 0 16px 44px rgba(4, 2, 10, .45);
  --shadow-lg: 0 30px 80px rgba(4, 2, 10, .55);
  --glow-accent: 0 14px 44px rgba(245, 158, 11, .24);
  --glow-violet: 0 16px 44px rgba(139, 92, 246, .28);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --font-display: "Open Sans", "Noto Kufi Arabic", "Droid Arabic Kufi", "Droid Sans", Arial, sans-serif;

  /* Bootstrap overrides — recolour the framework to the dark brand. */
  --bs-primary: #f59e0b;
  --bs-primary-rgb: 245, 158, 11;
  --bs-link-color: #fbbf24;
  --bs-link-color-rgb: 251, 191, 36;
  --bs-link-hover-color: #fcd34d;
  --bs-body-color: #b1abc0;
  --bs-body-bg: #0f0e14;
  --bs-body-font-family: "Open Sans", "Noto Kufi Arabic", "Droid Arabic Kufi", "Droid Sans", Arial, sans-serif;
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.85;
  --bs-emphasis-color: #ffffff;
  --bs-border-color: #232030;
  --bs-secondary-color: #b1abc0;
  --bs-tertiary-bg: #17141f;
  --bs-code-color: #a78bfa;
}

/* ---------- Base ---------- */
* {
  font-family: "Open Sans", "Noto Kufi Arabic", "Droid Arabic Kufi", "Droid Sans", Arial, sans-serif;
}
/* Keep everything on the regular (400) face — no real or synthetic bold. */
body { font-synthesis: none; }
b, strong { font-weight: 400; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body { overflow-x: clip; color: var(--muted); text-align: right; background: var(--bg); }
img, svg { max-width: 100%; }
main, section, .container, .row > * { min-width: 0; }
p { color: var(--muted); font-size: var(--fs-body); }
h1, h2, h3 { color: var(--heading); font-family: var(--font-display); line-height: 1.34; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 1.2rem; font-weight: 400; }
h3 { font-size: 1.3rem; font-weight: 400; }
strong { color: #e9e9e9; }
::selection { color: var(--on-accent); background: var(--accent); }

@supports (scrollbar-width: thin) {
  html { scrollbar-width: thin; scrollbar-color: #333 var(--bg); }
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.skip-link { position: fixed; top: 10px; right: 18px; z-index: 1200; transform: translateY(-180%); padding: 9px 16px; color: var(--on-accent); font-weight: 400; background: var(--accent); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); transition: transform .2s var(--ease-out); }
.skip-link:focus { transform: translateY(0); }

.section { position: relative; padding: clamp(84px, 9vw, 128px) 0; scroll-margin-top: 92px; }

/* ---------- Ghost headings — giant outlined text behind titles ---------- */
.ghost-text { position: absolute; top: clamp(20px, 4vw, 44px); inset-inline: 0; z-index: 0; overflow: hidden; color: transparent; font-family: var(--font-display); font-size: clamp(3.4rem, 11vw, 8.5rem); font-weight: 400; line-height: 1; text-align: center; white-space: nowrap; letter-spacing: .02em; -webkit-text-stroke: 1px rgba(255, 255, 255, .07); pointer-events: none; user-select: none; }
@supports not (-webkit-text-stroke: 1px black) {
  .ghost-text { color: rgba(255, 255, 255, .04); }
}
.section > .container { position: relative; z-index: 1; }

/* ---------- Section headings ---------- */
.section-heading { max-width: 640px; margin-bottom: 48px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading > p:last-child { margin-bottom: 0; font-size: var(--fs-lead); line-height: 1.95; }

/* Kicker — label flanked by short accent rules, like the theme. */
.section-kicker, .eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--accent); font-weight: 400; font-size: .92rem; letter-spacing: .05em; }
.section-kicker::before, .section-kicker::after, .eyebrow::before, .eyebrow::after { content: ""; width: 26px; height: 1px; background: var(--accent); opacity: .85; }
.section-heading:not(.centered) .section-kicker::after { display: none; }

/* ---------- Buttons ---------- */
.btn { border-radius: var(--radius-sm); font-weight: 400; letter-spacing: .01em; transition: transform .22s var(--ease-spring), box-shadow .25s var(--ease-out), color .2s ease, border-color .2s ease, background-color .2s ease; }
.btn-lg { padding: 13px 28px; font-size: 1rem; }
.btn span { display: inline-block; direction: ltr; transition: transform .22s var(--ease-spring); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:hover span { transform: translateX(-4px); }

.btn-primary, .btn-accent { --bs-btn-color: var(--on-accent); --bs-btn-hover-color: var(--on-accent); --bs-btn-active-color: var(--on-accent); --bs-btn-bg: var(--accent); --bs-btn-hover-bg: var(--accent-soft); --bs-btn-active-bg: var(--accent-soft); --bs-btn-border-color: var(--accent); --bs-btn-hover-border-color: var(--accent-soft); --bs-btn-active-border-color: var(--accent-soft); --bs-btn-focus-shadow-rgb: 245, 158, 11; box-shadow: 0 10px 28px rgba(245, 158, 11, .18); }
.btn-primary:hover, .btn-accent:hover { box-shadow: var(--glow-accent); }

.btn-outline-accent { --bs-btn-color: #fff; --bs-btn-hover-color: var(--accent); --bs-btn-active-color: var(--accent); --bs-btn-bg: transparent; --bs-btn-hover-bg: var(--accent-dim); --bs-btn-active-bg: var(--accent-dim); --bs-btn-border-color: rgba(255, 255, 255, .28); --bs-btn-hover-border-color: var(--accent); --bs-btn-active-border-color: var(--accent); }

.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 400; text-decoration: none; color: var(--accent); transition: color .2s ease; }
.text-link:hover { color: var(--accent-soft); }
.text-link span { direction: ltr; transition: transform .22s var(--ease-spring); }
.text-link:hover span { transform: translateX(-5px); }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; right: 0; left: 0; z-index: 1300; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; width: 0; height: 100%; background-image: var(--grad-aurora); box-shadow: 0 0 12px rgba(167, 139, 250, .55); transition: width .1s linear; }

/* ---------- Header — full-width dark bar ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(15, 15, 15, .86); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: background-color .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.site-header.is-scrolled { background: rgba(15, 15, 15, .96); box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
.site-header .navbar { padding: 14px 0; }
.navbar-brand img { display: block; width: 132px; height: auto; }
.navbar-nav { gap: .35rem; font-size: .97rem; align-items: center; }
.nav-link { position: relative; color: #d6d6d6; font-weight: 500; transition: color .2s ease; }
.nav-link:hover, .nav-link:focus, .nav-link.active { color: var(--accent); }
.nav-link[href*="#"]::after { content: ""; position: absolute; right: .6rem; left: .6rem; bottom: .22rem; width: 0; height: 2px; margin-inline: auto; background: var(--accent); border-radius: 99px; transition: width .25s var(--ease-out); }
.nav-link[href*="#"]:hover::after, .nav-link.active::after { width: calc(100% - 1.2rem); }
.header-phone { display: inline-flex; align-items: center; gap: 10px; margin-inline-end: 6px; color: #d6d6d6; text-decoration: none; transition: color .2s ease; }
.header-phone:hover { color: var(--accent); }
.header-phone-icon { display: grid; place-items: center; width: 38px; height: 38px; color: var(--accent); background: var(--accent-dim); border: 1px solid rgba(245, 158, 11, .3); border-radius: 50%; }
.header-phone-text { display: flex; flex-direction: column; line-height: 1.35; }
.header-phone-label { color: var(--faint); font-size: .74rem; }
.header-phone-value { font-size: .92rem; font-weight: 400; direction: ltr; }
.navbar-toggler { min-width: 44px; min-height: 44px; border: 0; padding: .35rem .25rem; color: #fff; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(90px, 10vw, 150px) 0 clamp(70px, 8vw, 120px); color: #fff; background: var(--bg); }
.hero-backdrop { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-backdrop::before { content: ""; position: absolute; inset: 0; background:
    radial-gradient(55% 60% at 84% 10%, rgba(109, 40, 217, .24) 0%, transparent 60%),
    radial-gradient(45% 50% at 6% 80%, rgba(245, 158, 11, .07) 0%, transparent 62%); }
.hero-grid { position: absolute; inset: 0; opacity: .55; background-image: linear-gradient(rgba(167, 139, 250, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(167, 139, 250, .05) 1px, transparent 1px); background-size: 54px 54px; -webkit-mask-image: radial-gradient(75% 75% at 60% 20%, #000 0%, transparent 100%); mask-image: radial-gradient(75% 75% at 60% 20%, #000 0%, transparent 100%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.orb-a { top: -160px; inset-inline-start: -120px; width: 440px; height: 440px; background: radial-gradient(circle, rgba(109, 40, 217, .38), transparent 65%); }
.orb-b { bottom: -220px; inset-inline-end: -140px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(245, 158, 11, .1), transparent 65%); }
.js .hero-orb { animation: orb-drift 24s ease-in-out infinite alternate; }
.js .orb-b { animation-delay: -10s; animation-duration: 30s; }
@keyframes orb-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-36px, 30px) scale(1.06); }
  100% { transform: translate(30px, -24px) scale(.96); }
}

/* No z-index here: a stacking context would isolate the screen-blended
   hero artwork from the backdrop. DOM order already paints it above. */
.hero .container { position: relative; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { margin-bottom: 22px; color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 400; line-height: 1.5; }
.hero h1 em { display: block; font-style: normal; padding-bottom: .12em; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--accent); }
.hero-copy { max-width: 560px; margin-bottom: 36px; color: #c7c7c7; font-size: clamp(1.05rem, 1.7vw, 1.2rem); line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ring-spin is shared by the partnership orbit tracks. */
@keyframes ring-spin { to { transform: rotate(360deg); } }

/* The hero artwork is brand-logo art on a near-black ground, so it sits
   flat on the canvas like part of the background: screen blending drops
   its black ground entirely and a soft mask fades the edges away. */
.hero-media { position: relative; }
.hero-media::before { content: ""; position: absolute; inset: 6%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(139, 92, 246, .3), transparent 70%); filter: blur(52px); }
/* contrast() crushes the artwork's not-quite-black ground to true black so
   the screen blend leaves no visible plate; the mask fades ring details
   that reach the image edges. */
.hero-media img { display: block; width: 100%; height: auto; mix-blend-mode: screen; filter: contrast(1.22); -webkit-mask-image: radial-gradient(110% 104% at 50% 48%, #000 46%, transparent 70%); mask-image: radial-gradient(110% 104% at 50% 48%, #000 46%, transparent 70%); }
/* Float the img itself — a transform on .hero-media would create a
   stacking context and break the screen blend. */
.js .hero-media img { animation: float-y 7s ease-in-out infinite; }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.js .hero .eyebrow, .js .hero h1, .js .hero-copy, .js .hero-actions { opacity: 0; transform: translateY(26px); animation: hero-rise .9s var(--ease-out) forwards; }
.js .hero h1 { animation-delay: .12s; }
.js .hero-copy { animation-delay: .24s; }
.js .hero-actions { animation-delay: .36s; }
@keyframes hero-rise { to { opacity: 1; transform: translateY(0); } }

/* ---------- Stats / credibility band — infinite marquee ---------- */
.stats-band { overflow: hidden; padding: 22px 0; background: linear-gradient(90deg, var(--bg-band), #151020 50%, var(--bg-band)); border-block: 1px solid var(--line); }
/* direction:ltr also left-anchors the track box — in RTL the box is
   right-anchored and translating left opens a growing void before the
   loop resets. */
.stats-marquee { direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
/* direction:ltr keeps the track anchored so the shift loops seamlessly;
   each cell restores rtl for the Arabic text inside. The track holds 4
   identical groups and shifts by exactly one group (-25%), so the ribbon
   never runs out of content on wide screens and the reset is invisible. */
.stats-track { display: flex; width: max-content; direction: ltr; will-change: transform; }
.js .stats-track { animation: stats-scroll 26s linear infinite; }
.stats-marquee:hover .stats-track { animation-play-state: paused; }
@keyframes stats-scroll { to { transform: translateX(-25%); } }
/* Extra space after each 3-item round so the cycles read separated. */
.stats-group { display: flex; align-items: center; padding-inline-end: clamp(70px, 9vw, 160px); }
.stat-cell { display: flex; align-items: center; gap: 14px; padding: 4px clamp(40px, 5vw, 80px); direction: rtl; white-space: nowrap; }
.stat-icon { display: grid; place-items: center; flex: 0 0 auto; width: 50px; height: 50px; color: var(--violet-soft); background: var(--violet-dim); border: 1px solid rgba(139, 92, 246, .32); border-radius: 50%; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.stat-icon svg { width: 23px; height: 23px; }
.stat-title { display: block; margin-bottom: 2px; color: #fff; font-family: var(--font-display); font-size: 1.02rem; font-weight: 400; line-height: 1.5; }
.stat-text { display: block; color: var(--faint); font-size: .86rem; line-height: 1.6; }
.stat-sep { flex: 0 0 auto; width: 8px; height: 8px; background: var(--accent); border-radius: 2px; transform: rotate(45deg); opacity: .75; box-shadow: 0 0 12px rgba(245, 158, 11, .5); }

/* ---------- About / why us ---------- */
.about-section { background: var(--bg); overflow: hidden; }
#about-title { font-size: clamp(1.65rem, 2.7vw, 2.2rem); }
.about-copy p { max-width: 520px; font-size: var(--fs-lead); line-height: 1.95; }

/* Focus bars — the theme's percentage skill rows, used as focus areas. */
/* About visual — icon composition: central dashboard icon inside a
   glowing core, orbit rings and floating satellite chips. */
.about-visual { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.about-ring { position: absolute; border-radius: 50%; }
.about-ring.r1 { inset: 4%; border: 1px dashed rgba(167, 139, 250, .3); }
.about-ring.r2 { inset: 19%; border: 1px solid var(--line-strong); }
.js .about-ring.r1 { animation: ring-spin 44s linear infinite; }
.js .about-ring.r2 { animation: ring-spin 30s linear infinite reverse; }
.about-core { position: relative; z-index: 1; display: grid; place-items: center; width: 40%; aspect-ratio: 1; color: var(--accent); background: radial-gradient(circle at 30% 25%, #241b3f, #141021 70%); border: 1px solid rgba(167, 139, 250, .4); border-radius: 50%; box-shadow: 0 0 60px rgba(139, 92, 246, .25), inset 0 1px 0 rgba(255, 255, 255, .1); }
.about-core svg { width: 44%; height: auto; filter: drop-shadow(0 4px 14px rgba(245, 158, 11, .35)); }
.about-sat { position: absolute; display: grid; place-items: center; width: 58px; height: 58px; color: var(--violet-soft); background: var(--bg-panel); border: 1px solid var(--line-strong); border-radius: 18px; box-shadow: var(--shadow-md); }
.about-sat svg { width: 26px; height: 26px; }
.about-sat.s1 { top: 6%; inset-inline-start: 12%; color: var(--accent); }
.about-sat.s2 { top: 42%; inset-inline-end: 2%; }
.about-sat.s3 { bottom: 7%; inset-inline-start: 22%; color: var(--accent-soft); }
.js .about-sat { animation: float-y 6s ease-in-out infinite; }
.js .about-sat.s2 { animation-delay: -2s; }
.js .about-sat.s3 { animation-delay: -4s; }

/* ---------- Services — numbered cards ---------- */
.services-section { background: var(--bg-band); border-block: 1px solid var(--line); }
.service-card { position: relative; height: 100%; padding: 34px 30px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform .3s var(--ease-out), border-color .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(245, 158, 11, .45); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.service-num { display: block; margin-bottom: 20px; color: transparent; font-family: var(--font-display); font-size: 3.2rem; font-weight: 400; line-height: 1; direction: ltr; text-align: start; -webkit-text-stroke: 1px rgba(255, 255, 255, .22); transition: -webkit-text-stroke-color .3s ease; }
.service-card:hover .service-num { -webkit-text-stroke-color: var(--accent); }
@supports not (-webkit-text-stroke: 1px black) {
  .service-num { color: rgba(255, 255, 255, .18); }
  .service-card:hover .service-num { color: rgba(245, 158, 11, .5); }
}
.service-card h3 { margin-bottom: .6rem; font-size: 1.26rem; }
.service-card p { margin: 0; font-size: .95rem; line-height: 1.8; }
.service-icon { position: absolute; bottom: 26px; inset-inline-end: 26px; display: grid; place-items: center; width: 48px; height: 48px; color: var(--accent); background: var(--accent-dim); border: 1px solid rgba(245, 158, 11, .3); border-radius: 50%; transition: transform .3s var(--ease-spring), background-color .25s ease, color .25s ease; }
.service-icon svg { width: 22px; height: 22px; }
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.08); color: var(--on-accent); background: var(--accent); }
.service-card-body { padding-bottom: 64px; }

/* ---------- Case study / product showcase ---------- */
.case-section { background: var(--bg); }

/* Product panel — flat dark surface with a teal cast borrowed from the
   Bayan Pharma identity; the logo artwork bleeds edge-to-edge on one half
   and fades into the panel. */
.case-card { position: relative; overflow: hidden; background: linear-gradient(115deg, #14121c 0%, #101820 55%, #0d1d20 100%); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.case-card::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(560px 320px at 18% 22%, rgba(45, 212, 191, .1), transparent 70%); pointer-events: none; }
.case-card .row { position: relative; z-index: 1; }
.case-media { position: relative; min-height: 420px; }
.case-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Fade the artwork into the panel on the edge shared with the copy (RTL:
   copy sits to the right of the media). */
.case-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, #101820 0%, rgba(16, 24, 32, 0) 34%); pointer-events: none; }
.case-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(26px, 4vw, 60px); }

/* Feature grid — four operational pillars, teal chips echoing the product. */
.case-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin: 8px 0 6px; }
.case-features li { display: flex; align-items: center; gap: 11px; color: var(--ink); font-size: .95rem; line-height: 1.5; }
.case-feature-icon { display: grid; flex: none; place-items: center; width: 36px; height: 36px; color: #2dd4bf; background: rgba(45, 212, 191, .1); border: 1px solid rgba(45, 212, 191, .28); border-radius: 11px; }
.case-feature-icon svg { width: 17px; height: 17px; }
.case-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 20px; }

/* Product index + availability chip — frames Bayan Pharma as product 01 of the family. */
.case-flags { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.case-num { color: transparent; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; letter-spacing: .04em; -webkit-text-stroke: 1px rgba(245, 158, 11, .55); }
@supports not (-webkit-text-stroke: 1px black) {
  .case-num { color: rgba(245, 158, 11, .35); }
}
.case-status { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; color: var(--ink); font-size: .84rem; letter-spacing: .04em; background: var(--bg-card); border: 1px solid var(--line-strong); border-radius: 999px; }
.case-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.js .case-status-dot { animation: status-pulse 2.4s ease-out infinite; }
@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .45); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.case-tag { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-bottom: 16px; color: var(--accent); font-size: .88rem; font-weight: 400; letter-spacing: .06em; }
.case-tag::before { content: ""; width: 22px; height: 1px; background: var(--accent); }
.case-body h2 { margin-bottom: 18px; color: #fff; font-size: clamp(2.1rem, 3.6vw, 3.2rem); }
.case-body > p { max-width: 480px; color: var(--muted); font-size: var(--fs-lead); line-height: 1.9; }
/* "More products coming" strip — quiet dashed panel under the Bayan Pharma card,
   with a dotted texture on the slots side and a soft violet corner glow. */
.soon-strip { position: relative; display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 4vw, 56px); margin-top: clamp(28px, 4vw, 44px); padding: clamp(24px, 3.4vw, 40px) clamp(24px, 4vw, 52px); overflow: hidden; background: var(--bg-band); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }
.soon-strip::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(167, 139, 250, .16) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(to right, #000, transparent 55%); mask-image: linear-gradient(to right, #000, transparent 55%); pointer-events: none; }
.soon-strip::after { content: ""; position: absolute; bottom: -130px; inset-inline-start: -80px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(139, 92, 246, .18), transparent 70%); filter: blur(30px); pointer-events: none; }
.soon-copy, .soon-slots { position: relative; z-index: 1; }
.soon-copy h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
.soon-copy h3::before { content: ""; flex: none; width: 26px; height: 1px; background: var(--violet-soft); opacity: .85; }
.soon-copy > p { max-width: 520px; }
.soon-copy > p:last-child { margin-bottom: 0; }
.soon-tease { display: flex; align-items: center; gap: 9px; margin-top: 14px; color: var(--accent-soft); font-size: .95rem; letter-spacing: .03em; }
.soon-tease-icon { display: grid; flex: none; place-items: center; width: 15px; height: 15px; }
.js .soon-tease-icon { animation: tease-twinkle 2.8s ease-in-out infinite; }
@keyframes tease-twinkle {
  0%, 100% { opacity: .55; transform: scale(.82) rotate(-8deg); }
  50% { opacity: 1; transform: scale(1) rotate(8deg); }
}
.soon-slots { display: flex; flex-shrink: 0; gap: 16px; }
.soon-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; width: 104px; height: 104px; background: var(--bg-card); border: 1px dashed var(--line-strong); border-radius: var(--radius-md); }
.js .soon-slot { animation: slot-breathe 4.2s ease-in-out infinite; }
.js .soon-slot:last-child { animation-delay: 2.1s; }
@keyframes slot-breathe {
  0%, 100% { border-color: var(--line-strong); }
  50% { border-color: rgba(167, 139, 250, .5); }
}
.soon-slot-num { color: transparent; font-family: var(--font-display); font-size: 1.7rem; line-height: 1; letter-spacing: .04em; -webkit-text-stroke: 1px rgba(255, 255, 255, .22); }
@supports not (-webkit-text-stroke: 1px black) {
  .soon-slot-num { color: rgba(255, 255, 255, .14); }
}
.soon-slot-label { color: var(--faint); font-size: .78rem; letter-spacing: .08em; }

/* ---------- Trust — centered statement ---------- */
.trust-section { background: var(--bg-band); border-block: 1px solid var(--line); }
.trust-inner { max-width: 780px; margin-inline: auto; text-align: center; }
.trust-badge { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 26px; color: var(--accent); background: var(--accent-dim); border: 1px solid rgba(245, 158, 11, .35); border-radius: 50%; box-shadow: 0 0 50px rgba(245, 158, 11, .15); }
.trust-badge svg { width: 38px; height: 38px; }
.trust-inner h2 { color: #fff; }
.trust-inner p { font-size: var(--fs-lead); line-height: 2; }
.trust-inner .brand-text { color: var(--accent); font-weight: 400; }

/* ---------- Partnership CTA ---------- */
.partnership { background: var(--bg); overflow: hidden; }
.partnership-copy p { max-width: 500px; font-size: var(--fs-lead); line-height: 1.95; }

/* Orbit network visual. */
.orbit-visual { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.orbit-ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.orbit-ring.o1 { inset: 0; }
.orbit-ring.o2 { inset: 18%; border-color: rgba(167, 139, 250, .2); }
.orbit-core { position: relative; z-index: 2; display: grid; place-items: center; width: 30%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #2a2150, #16112a 72%); border: 1px solid rgba(167, 139, 250, .4); box-shadow: 0 0 60px rgba(139, 92, 246, .3), inset 0 1px 0 rgba(255, 255, 255, .1); }
.orbit-core svg { width: 42%; height: auto; color: var(--violet-soft); filter: drop-shadow(0 4px 16px rgba(139, 92, 246, .5)); }
.orbit-track { position: absolute; border-radius: 50%; }
.orbit-track.t1 { inset: 0; }
.orbit-track.t2 { inset: 18%; }
.js .orbit-track.t1 { animation: ring-spin 36s linear infinite; }
.js .orbit-track.t2 { animation: ring-spin 24s linear infinite reverse; }
.orbit-node { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; background: var(--bg-panel); border: 1px solid var(--line-strong); border-radius: 50%; box-shadow: var(--shadow-md); }
.orbit-node::before { content: ""; width: 12px; height: 12px; border-radius: 50%; }
.orbit-track.t1 .orbit-node.n1 { top: -23px; inset-inline-start: calc(50% - 23px); }
.orbit-track.t1 .orbit-node.n2 { bottom: 8%; inset-inline-end: 2%; }
.orbit-track.t2 .orbit-node.n3 { top: 50%; inset-inline-start: -23px; margin-top: -23px; }
.orbit-node.n1::before { background: var(--accent); box-shadow: 0 0 14px rgba(245, 158, 11, .7); }
.orbit-node.n2::before { background: #e9e9e9; box-shadow: 0 0 14px rgba(255, 255, 255, .4); }
.orbit-node.n3::before { background: var(--violet-soft); box-shadow: 0 0 14px rgba(167, 139, 250, .7); }

/* ---------- Contact ---------- */
.contact-section { position: relative; isolation: isolate; overflow: hidden; background: var(--bg-band); border-top: 1px solid var(--line); }
.contact-section::before { content: ""; position: absolute; top: -220px; inset-inline-end: -140px; width: 560px; height: 560px; z-index: 0; pointer-events: none; background: radial-gradient(circle, rgba(139, 92, 246, .14) 0%, transparent 68%); filter: blur(40px); }
.contact-copy h2 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 2.9rem); }
.contact-copy p { max-width: 490px; font-size: var(--fs-lead); line-height: 1.95; }
.contact-details { display: grid; gap: 12px; margin: 26px 0 0; max-width: 490px; }
.contact-detail { display: flex; align-items: center; gap: 16px; padding: 14px 16px; color: #eeeeee; text-decoration: none; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-md); transition: border-color .25s ease, transform .25s var(--ease-spring), box-shadow .25s ease; }
.contact-detail:hover, .contact-detail:focus-visible { color: #fff; border-color: rgba(245, 158, 11, .45); transform: translateY(-3px); box-shadow: 0 16px 44px rgba(0, 0, 0, .5); }
.contact-detail-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 48px; color: var(--accent); background: var(--accent-dim); border: 1px solid rgba(245, 158, 11, .3); border-radius: 50%; transition: transform .3s var(--ease-spring), background-color .25s ease, color .25s ease; }
.contact-detail:hover .contact-detail-icon { transform: rotate(-6deg) scale(1.08); color: var(--on-accent); background: var(--accent); }
.contact-detail-text { display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column; gap: 2px; }
.contact-detail-label { color: var(--faint); font-size: .88rem; }
.contact-detail-value { overflow-wrap: anywhere; font-size: 1.02rem; font-weight: 400; letter-spacing: .01em; }

/* How-we-work steps — the theme's Step 01/02/03 accordion. */

.contact-form.card { position: relative; overflow: hidden; color: var(--ink); background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.contact-form.card::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 2px; background: var(--grad-accent); }
.contact-form-heading { margin-bottom: 24px; }
.contact-form-heading h3 { margin-bottom: 5px; color: #fff; font-size: 1.4rem; font-weight: 400; }
.contact-form-heading p { margin: 0; color: var(--muted); font-size: .96rem; }
.form-label { margin-bottom: 6px; color: #e2e2e2; font-weight: 400; font-size: .96rem; }
.required-mark { color: #f87171; }
.form-control { padding: 12px 14px; color: #eeeeee; background: var(--bg-input); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: .98rem; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.form-control::placeholder { color: var(--faint); }
.form-control:focus { color: #fff; background: #0c0a11; border-color: var(--violet-soft); box-shadow: 0 0 0 4px rgba(139, 92, 246, .16); }
.contact-form [aria-invalid="true"] { border-color: #f87171; }
.form-field-error { display: block; min-height: 1.2rem; margin-top: 4px; color: #fca5a5; font-size: .82rem; }
.contact-honeypot { position: absolute !important; overflow: hidden; width: 1px; height: 1px; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.button-contact { width: 100%; }
.button-contact:disabled { cursor: wait; opacity: .72; transform: none; }
.form-status { min-height: 1.6rem; margin: 14px 0 0; font-size: 1.05rem; }
.form-status.error { color: #fca5a5; }
.form-status.notice { color: var(--muted); }
.form-status.success { color: #6ee7b7; font-weight: 400; }
.form-optional { color: var(--faint); font-weight: 400; font-size: .85rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; color: var(--muted); background: #0c0c0c; border-top: 1px solid var(--line); }
.site-footer::after { content: ""; position: absolute; top: -180px; inset-inline-start: 20%; width: 560px; height: 320px; pointer-events: none; background: radial-gradient(ellipse, rgba(139, 92, 246, .09), transparent 70%); }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 48px; padding: 72px 0 44px; }
.brand-light img { display: block; width: 156px; height: auto; }
.footer-trust { max-width: 380px; margin: 20px 0 0; color: var(--faint); font-size: .88rem; line-height: 1.75; }
.footer-heading { position: relative; margin: 0 0 20px; padding-bottom: 12px; color: #fff; font-family: var(--font-display); font-size: 1.02rem; font-weight: 400; }
.footer-heading::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 34px; height: 2px; background: var(--accent); border-radius: 99px; }
.footer-links { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.footer-links a { position: relative; display: inline-block; padding: 5px 0; color: #cfcfcf; text-decoration: none; font-size: .95rem; font-weight: 500; transition: color .2s ease, transform .2s var(--ease-out); }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--accent); transform: translateX(-3px); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; margin: 0 0 22px; }
.footer-contact a, .footer-contact li > span:first-child { text-decoration: none; }
.footer-contact a { display: block; color: inherit; transition: transform .2s var(--ease-out); }
.footer-contact a:hover { transform: translateX(-4px); }
.footer-contact-label { display: block; color: var(--faint); font-size: .8rem; margin-bottom: 2px; }
.footer-contact-value { display: block; color: #e9e9e9; font-size: 1rem; font-weight: 400; }
.footer-contact a:hover .footer-contact-value { color: var(--accent); }
.footer-bottom { position: relative; z-index: 1; padding: 18px 0; color: var(--faint); border-top: 1px solid var(--line); font-size: .84rem; }

/* ---------- Back to top ---------- */
.back-to-top { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 1090; display: grid; place-items: center; width: 50px; height: 50px; color: #fff; background-image: var(--grad-brand); border: 0; border-radius: 50%; box-shadow: 0 12px 32px rgba(109, 40, 217, .4); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s, box-shadow .25s ease; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: var(--glow-violet); }

/* ---------- Legal and error pages ---------- */
.legal-page, .error-page { min-height: calc(100vh - 290px); background: var(--bg); }
.legal-content { max-width: 840px; margin-inline: auto; padding: clamp(28px, 5vw, 56px); background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.legal-content h1, .error-page h1 { margin-bottom: 12px; color: var(--heading); font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 400; }
.legal-content h2 { margin: 34px 0 12px; color: var(--heading); font-size: 1.35rem; font-weight: 400; }
.legal-content p, .legal-content li { color: var(--muted); line-height: 1.9; }
.legal-content ul { padding-inline-start: 1.4rem; }
.legal-content a:not(.btn) { overflow-wrap: anywhere; }
.legal-content .btn { margin-top: 16px; }
.legal-updated { margin-bottom: 28px; font-size: .92rem; color: var(--faint); }
.error-page { display: grid; place-items: center; }
.error-page .container { max-width: 720px; }
.error-page p { margin: 0 auto 26px; font-size: var(--fs-lead); }
.error-code { display: block; color: transparent; font-family: var(--font-display); font-size: clamp(5rem, 17vw, 10rem); font-weight: 400; line-height: .9; direction: ltr; -webkit-text-stroke: 2px rgba(245, 158, 11, .5); }
@supports not (-webkit-text-stroke: 1px black) {
  .error-code { color: rgba(245, 158, 11, .3); }
}
.error-request-id { margin-top: 28px !important; color: var(--faint) !important; font-size: .8rem !important; overflow-wrap: anywhere; }

/* ---------- Reveal choreography (progressive enhancement) ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out); will-change: opacity, transform; }
.js .reveal-right { transform: translate(38px, 0); }
.js .reveal-left { transform: translate(-38px, 0); }
.js .reveal-zoom { transform: scale(.94) translateY(20px); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .hero .eyebrow, .js .hero h1, .js .hero-copy, .js .hero-actions { opacity: 1; transform: none; animation: none; }
  .js .hero-orb, .js .hero-media img, .js .stats-track, .js .about-ring.r1, .js .about-ring.r2, .js .about-sat,
  .js .orbit-track.t1, .js .orbit-track.t2, .js .case-status-dot, .js .soon-slot, .js .soon-tease-icon { animation: none; }
  .btn, .btn span, .text-link span, .service-card, .service-icon, .contact-detail, .contact-detail-icon, .footer-links a, .back-to-top { transition: none; }
}

/* ---------- Responsive ---------- */
/* The phone chip only leaves the bar where it fights the links for room;
   inside the collapsed menu (<992px) there is space, so it stays. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .header-phone { display: none; }
}

@media (max-width: 991.98px) {
  .container { --bs-gutter-x: 2.5rem; }
  .section .row.g-5 { --bs-gutter-x: 2rem; --bs-gutter-y: 3rem; }
  .section { scroll-margin-top: 80px; }
  .navbar-collapse { max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line); margin-top: 12px; }
  .navbar-nav { gap: 0; padding: 12px 0 14px; align-items: stretch; }
  .nav-link { min-height: 44px; padding: 10px 4px; }
  .nav-link[href*="#"]::after { right: 4px; left: auto; bottom: 6px; margin-inline: 0; }
  .nav-link[href*="#"]:hover::after, .nav-link.active::after { width: 38px; }
  .navbar-nav .btn { min-height: 44px; margin-top: 10px; padding-block: 10px; }
  .navbar-nav .header-phone { min-height: 44px; margin-inline-end: 0; padding: 8px 4px; }
  .hero { padding: 70px 0 80px; }
  .hero-media { max-width: 640px; margin-inline: auto; }
  .ghost-text { font-size: clamp(2.8rem, 12vw, 5.5rem); }
  /* Stacked layout: the artwork sits below the copy, so fade its top edge. */
  .case-media { min-height: 300px; }
  .case-media::after { background: linear-gradient(to bottom, #101820 0%, rgba(16, 24, 32, 0) 42%); }
}

@media (max-width: 767.98px) {
  :root { --fs-body: .95rem; --fs-lead: 1.03rem; --bs-body-font-size: .95rem; --bs-body-line-height: 1.75; }
  .section { padding: 64px 0; scroll-margin-top: 76px; }
  .section .row.g-5 { --bs-gutter-y: 2.5rem; }
  h2 { margin-bottom: 1rem; font-size: clamp(1.7rem, 7vw, 2.15rem); }
  h3 { font-size: 1.22rem; }
  .section-heading { margin-bottom: 34px; }
  .hero { padding: 54px 0 66px; }
  .hero h1 { margin-bottom: 18px; font-size: clamp(1.8rem, 7.4vw, 2.5rem); }
  .hero-copy { margin-bottom: 26px; font-size: 1.02rem; line-height: 1.85; }
  .case-body h2, .contact-copy h2 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .service-card { padding: 28px 24px; }
  .case-body { padding: 28px 22px 34px; }
  .case-media { min-height: 240px; }
  .case-num { font-size: 2.1rem; }
  .soon-strip { flex-direction: column; align-items: flex-start; }
  .soon-slot { width: 88px; height: 88px; }
  .about-visual { width: min(100%, 340px); }
  .orbit-visual { width: min(100%, 320px); }
  .contact-details { margin-top: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 32px; padding: 52px 0 34px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-trust { max-width: 540px; }
  .footer-bottom { padding: 20px 0 24px; }
  .back-to-top { width: 46px; height: 46px; bottom: 18px; inset-inline-end: 18px; }
}

@media (max-width: 575.98px) {
  .container { --bs-gutter-x: 1.75rem; }
  .site-header .navbar { padding: 10px 0; }
  .navbar-brand img { width: 118px; }
  .navbar-collapse { max-height: calc(100dvh - 96px); }
  .section { padding: 56px 0; }
  .section .row.g-5 { --bs-gutter-y: 2rem; }
  .hero { padding: 44px 0 58px; }
  .hero h1 { font-size: clamp(1.7rem, 8.8vw, 2.2rem); }
  .hero-actions { width: 100%; gap: 18px !important; }
  .hero-actions .btn { flex: 1 1 auto; min-height: 48px; }
  .btn-lg { min-height: 48px; padding-inline: 20px; }
  .stats-band { padding: 16px 0; }
  .js .stats-track { animation-duration: 20s; }
  .service-card-body { padding-bottom: 58px; }
  .case-features { grid-template-columns: 1fr; gap: 12px; }
  .case-actions .btn { flex: 1 1 100%; }
  .trust-badge { width: 72px; height: 72px; }
  .about-visual { width: min(100%, 290px); }
  .about-sat { width: 48px; height: 48px; border-radius: 14px; }
  .about-sat svg { width: 22px; height: 22px; }
  .orbit-visual { width: min(100%, 270px); }
  .orbit-node { width: 38px; height: 38px; }
  .orbit-track.t1 .orbit-node.n1 { top: -19px; inset-inline-start: calc(50% - 19px); }
  .orbit-track.t2 .orbit-node.n3 { inset-inline-start: -19px; margin-top: -19px; }
  .contact-detail { gap: 12px; padding: 13px; }
  .contact-detail-icon { width: 42px; height: 42px; }
  .contact-detail-value { font-size: 1rem; }
  .contact-form .card-body { padding: 22px !important; }
  .contact-form-heading { margin-bottom: 20px; }
  .form-control { font-size: 1rem; }
  .brand-light img { width: 140px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 44px 0 28px; }
  .footer-brand { grid-column: auto; }
  .legal-content { padding: 24px 20px; border-radius: 16px; }
  .legal-content h2 { margin-top: 28px; font-size: 1.22rem; }
  .error-page { min-height: calc(100svh - 64px); }
  .ghost-text { display: none; }
}

@media (max-width: 359.98px) {
  .container { --bs-gutter-x: 1.5rem; }
  .navbar-brand img { width: 108px; }
  .hero h1 { font-size: 1.6rem; }
  .contact-detail { align-items: flex-start; }
  .contact-detail-icon { width: 38px; height: 38px; }
  .contact-form .card-body { padding: 18px !important; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .hero { padding: 60px 0 60px; }
  .navbar-collapse { max-height: calc(100dvh - 88px); }
}
