
/* =========================================================
   Lotus Website v1.0.0 — Brand red primary, enterprise UI
   ========================================================= */
:root {
  --lotus-red: #e51b23;
  --lotus-red-dark: #c4141b;
  --lotus-red-soft: #fef2f2;
  --lotus-ink: #0f172a;
  --lotus-muted: #64748b;
  --lotus-line: #e2e8f0;
  --lotus-bg: #f8fafc;
  --lotus-white: #ffffff;
  --lotus-green: #16a34a;
  --lotus-blue: #2563eb;
  --lotus-purple: #7c3aed;
  --lotus-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --lotus-shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.1);
  --lotus-radius: 16px;
  --lotus-header-z: 10000;
}

/* ---- Header above content (do NOT force position — keep theme fixed/sticky) ---- */
body.lotus-custom-homepage-active .site-header,
body.lotus-custom-homepage-active header.site-header,
body.lotus-custom-homepage-active .main-navigation,
body.lotus-custom-homepage-active #masthead,
body.lotus-custom-homepage-active .navbar,
body.lotus-custom-homepage-active header[role="banner"],
body.lotus-custom-homepage-active .elementor-location-header {
  z-index: var(--lotus-header-z) !important;
}

/* Space so homepage content starts BELOW fixed/sticky header */
body.lotus-custom-homepage-active {
  --lotus-header-offset: 90px; /* adjust if theme header is taller/shorter */
}
body.admin-bar.lotus-custom-homepage-active {
  --lotus-header-offset: 122px;
}
@media (max-width: 782px) {
  body.admin-bar.lotus-custom-homepage-active {
    --lotus-header-offset: 136px;
  }
}

body.lotus-custom-homepage-active .lotus-homepage.lotus-hp-v3 {
  padding-top: 0;
  box-sizing: border-box;
}

/* Only offset when header is sticky/fixed — set by JS; fallback small */
body.lotus-custom-homepage-active.lotus-has-sticky-header .lotus-homepage.lotus-hp-v3 {
  padding-top: var(--lotus-header-offset, 72px);
}

body.lotus-custom-homepage-active .lotus-hero-v3 {
  padding-top: 24px;
  padding-bottom: 32px;
}

.lotus-homepage,
.lotus-service-page-wrap,
.lt-page {
  --red: var(--lotus-red);
  --red-dark: var(--lotus-red-dark);
  --red-soft: var(--lotus-red-soft);
  --green: var(--lotus-green);
  --blue: var(--lotus-blue);
  --purple: var(--lotus-purple);
  --ink: var(--lotus-ink);
  --muted: var(--lotus-muted);
  --line: var(--lotus-line);
  --bg: var(--lotus-bg);
  --white: var(--lotus-white);
  --shadow: var(--lotus-shadow);
  --shadow-lg: var(--lotus-shadow-lg);
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  direction: rtl;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  min-height: 40vh;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.lotus-homepage *,
.lotus-service-page-wrap *,
.lt-page * { box-sizing: border-box; }

.lotus-container {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

/* Buttons */
.lotus-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.22s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.lotus-btn-primary {
  background: var(--lotus-red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(229, 27, 35, 0.28);
}
.lotus-btn-primary:hover {
  background: var(--lotus-red-dark);
  color: #fff;
  transform: translateY(-1px);
}
.lotus-btn-outline {
  background: #fff;
  color: var(--lotus-red);
  border-color: var(--lotus-red);
}
.lotus-btn-outline:hover {
  background: var(--lotus-red-soft);
  color: var(--lotus-red-dark);
}
.lotus-btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.lotus-btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.lotus-kicker {
  display: inline-block;
  color: var(--lotus-red);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
}
.lotus-section-head {
  margin-bottom: 32px;
}
.lotus-section-head.center { text-align: center; }
.lotus-section-head h2 {
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 900;
  margin: 0;
  color: var(--ink);
}

/* ========== HERO ========== */
.lotus-hero-v3 {
  background:
    radial-gradient(ellipse 60% 50% at 15% 40%, rgba(229, 27, 35, 0.06), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(22, 163, 74, 0.05), transparent 50%),
    linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
  padding: 48px 0 48px;
  position: relative;
  z-index: 1;
}
.lotus-hero-v3-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
.lotus-eyebrow-v3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lotus-red);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 14px;
}
.lotus-eyebrow-v3::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--lotus-red);
  border-radius: 2px;
}
.lotus-hero-v3 h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.35;
  margin: 0 0 16px;
  color: var(--ink);
}
.lotus-hero-v3 h1 em {
  font-style: normal;
  color: var(--lotus-red);
}
.lotus-hero-v3-text {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.95;
  max-width: 480px;
  margin-bottom: 20px;
}
.lotus-hero-v3-text p { margin: 0; }

.lotus-institutes {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  width: fit-content;
  box-shadow: var(--shadow);
}
.lotus-institute {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-weight: 800;
  font-size: 13px;
  color: #334155;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s;
}
.lotus-institute:hover { background: var(--lotus-red-soft); color: var(--lotus-red); }
.lotus-institute img { height: 18px; width: auto; }
.idc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.lotus-actions-v3 { display: flex; gap: 12px; flex-wrap: wrap; }
.lotus-actions-v3 .play {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--lotus-red-soft); color: var(--lotus-red);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px;
}

/* BPM canvas visual */
.lotus-hero-v3-media { position: relative; min-height: 360px; display: flex; align-items: center; justify-content: center; }
.lotus-hero-img-wrap { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.lotus-hero-img-wrap img { display: block; width: 100%; height: auto; }

.lotus-bpm-canvas { width: 100%; max-width: 480px; }
.bpm-window {
  background: #0f172a;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.28);
}
.bpm-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; background: rgba(0,0,0,0.3);
}
.bpm-dots { display: flex; gap: 5px; }
.bpm-dots i { width: 8px; height: 8px; border-radius: 50%; display: block; background: #64748b; }
.bpm-dots i:nth-child(1) { background: #f87171; }
.bpm-dots i:nth-child(2) { background: #fbbf24; }
.bpm-dots i:nth-child(3) { background: #4ade80; }
.bpm-app { margin-right: auto; color: #94a3b8; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; }
.bpm-body {
  padding: 28px 20px 32px;
  background: linear-gradient(165deg, #0f172a 0%, #1e293b 100%);
  min-height: 300px;
  display: flex; align-items: center; justify-content: center;
}
.bpm-flow { display: flex; flex-direction: column; align-items: center; gap: 0; }
.bpm-node {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #e2e8f0;
  font-size: 12px; font-weight: 700;
  padding: 9px 18px; border-radius: 8px; white-space: nowrap;
}
.bpm-start, .bpm-end { border-radius: 20px; background: rgba(229,27,35,0.35); border-color: rgba(229,27,35,0.55); }
.bpm-task { background: rgba(37,99,235,0.3); border-color: rgba(37,99,235,0.5); }
.bpm-gateway { background: rgba(251,191,36,0.25); border-color: rgba(251,191,36,0.45); }
.bpm-ok { background: rgba(34,197,94,0.25); border-color: rgba(34,197,94,0.45); }
.bpm-no { background: rgba(248,113,113,0.25); border-color: rgba(248,113,113,0.45); }
.bpm-connector { width: 2px; height: 14px; background: rgba(148,163,184,0.45); }
.bpm-connector.short { height: 10px; }
.bpm-split { display: flex; gap: 20px; margin-top: 4px; }
.bpm-branch { display: flex; flex-direction: column; align-items: center; }

/* ========== DOWNLOADS ========== */
.lotus-downloads { padding: 20px 0 50px; position: relative; z-index: 2; margin-top: -8px; }
.lotus-downloads-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.lotus-dl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.lotus-dl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.dl-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px; overflow: hidden;
}
.dl-icon img { width: 100%; height: 100%; object-fit: cover; }
.lotus-dl-green .dl-icon { background: #ecfdf5; }
.lotus-dl-blue .dl-icon { background: #eff6ff; }
.lotus-dl-purple .dl-icon { background: #f5f3ff; }
.dl-icon-fallback {
  width: 22px; height: 22px; border-radius: 6px;
  background: currentColor; opacity: 0.25;
}
.lotus-dl-green { color: var(--green); }
.lotus-dl-blue { color: var(--blue); }
.lotus-dl-purple { color: var(--purple); }
.lotus-dl-card h3 { font-size: 15px; font-weight: 800; margin: 0 0 2px; color: var(--ink); }
.dl-sub { font-size: 12px; color: var(--muted); font-weight: 600; display: block; margin-bottom: 8px; }
.lotus-dl-card p { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0 0 14px; flex: 1; }
.dl-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.dl-ver { font-size: 11px; color: var(--muted); font-weight: 600; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px; border-radius: 50px;
  font-size: 12px; font-weight: 700; text-decoration: none; color: #fff;
}
.lotus-dl-green .dl-btn { background: var(--green); }
.lotus-dl-blue .dl-btn { background: var(--blue); }
.lotus-dl-purple .dl-btn { background: var(--purple); }
.dl-btn:hover { filter: brightness(0.92); color: #fff; }

.lotus-dl-changelog {
  background: linear-gradient(160deg, #fef2f2 0%, #fff5f5 100%);
  border-color: #fecaca;
  color: var(--ink);
}
.lotus-dl-changelog h3 { font-size: 14px; }
.lotus-dl-changelog > p { font-size: 12px; margin-bottom: 12px; }
.changelog-box {
  display: flex; align-items: center; gap: 10px;
  padding: 12px; background: #fff; border-radius: 12px;
  border: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: border-color 0.2s;
}
.changelog-box:hover { border-color: var(--lotus-red); }
.cl-ico {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--lotus-red-soft); color: var(--lotus-red);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px;
}
.changelog-box strong { display: block; font-size: 12px; font-weight: 800; }
.changelog-box small { font-size: 11px; color: var(--muted); }
.cl-arrow { margin-right: auto; color: var(--lotus-red); font-weight: 700; }

/* ========== SERVICES 4-col ========== */
.lotus-services-v3 { padding: 56px 0; background: var(--bg); }
.lotus-services-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.lotus-svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 20px;
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex; flex-direction: column;
  min-height: 220px;
}
.lotus-svc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(229, 27, 35, 0.25);
}
.svc-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--lotus-red-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; overflow: hidden;
}
.svc-icon img { width: 28px; height: 28px; object-fit: contain; }
.svc-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--lotus-red);
}
.lotus-svc-card h3 { font-size: 15px; font-weight: 800; margin: 0 0 8px; }
.lotus-svc-card p {
  font-size: 13px; color: var(--muted); line-height: 1.75;
  margin: 0 0 12px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.svc-more { font-size: 12px; font-weight: 700; color: var(--lotus-red); }

/* ========== ABOUT TEASER ========== */
.lotus-about-teaser { padding: 60px 0; background: #fff; }
.lotus-about-teaser-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.about-text { color: var(--muted); font-size: 15px; line-height: 1.9; margin: 12px 0 18px; }
.about-points {
  list-style: none; padding: 0; margin: 0 0 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.about-points li {
  font-size: 13px; font-weight: 600; color: var(--ink);
  padding-right: 18px; position: relative;
}
.about-points li::before {
  content: "";
  position: absolute; right: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lotus-red);
}
.about-visual img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-lg); }
.about-placeholder {
  display: grid; gap: 14px;
}
.ap-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px;
}
.ap-card b { display: block; color: var(--lotus-red); font-size: 12px; margin-bottom: 6px; }
.ap-card span { font-weight: 800; font-size: 16px; }

/* ========== PARTNERS MARQUEE ========== */
.lotus-partners { padding: 48px 0; background: var(--bg); overflow: hidden; }
.lotus-customer-marquee {
  overflow: hidden;
  margin-top: 8px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.lotus-customer-marquee-track {
  display: flex; gap: 28px; width: max-content;
  will-change: transform;
}
.lotus-partner-logo {
  display: flex; align-items: center; justify-content: center;
  min-width: 130px; height: 64px; padding: 10px 18px;
  background: #fff; border-radius: 12px; border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 13px;
  white-space: nowrap;
}
.lotus-partner-logo img {
  max-height: 40px; max-width: 110px; width: auto; height: auto;
  object-fit: contain; filter: grayscale(0.15);
}
@media (prefers-reduced-motion: reduce) {
  .lotus-customer-marquee-track { transform: none !important; }
}

/* ========== ARTICLES ========== */
.lotus-articles-v3 { padding: 50px 0 60px; background: #fff; }
.lotus-articles-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; gap: 16px; flex-wrap: wrap;
}
.lotus-articles-head h2 { font-size: clamp(20px, 2.5vw, 26px); font-weight: 900; margin: 0; }
.articles-all { font-size: 13px; font-weight: 700; color: var(--lotus-red); text-decoration: none; }
.lotus-articles-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.lotus-article-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); text-decoration: none; color: inherit;
  box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
}
.lotus-article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.article-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #e2e8f0; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-ph { width: 100%; height: 100%; background: linear-gradient(135deg, #e2e8f0, #f1f5f9); }
.article-tag {
  position: absolute; top: 10px; right: 10px;
  background: rgba(255,255,255,0.95); color: var(--ink);
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px;
}
.article-body { padding: 14px 16px 16px; }
.article-body h3 {
  font-size: 14px; font-weight: 800; line-height: 1.55; margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-body time { font-size: 12px; color: var(--muted); }
.lotus-empty { color: var(--muted); grid-column: 1 / -1; text-align: center; padding: 24px; }

/* ========== CTA — brand red ========== */
.lotus-cta-v3 {
  background: linear-gradient(135deg, #1a0a0b 0%, #7f1d1d 45%, #e51b23 100%);
  color: #fff;
  padding: 36px 0;
}
.lotus-cta-v3-inner {
  display: grid;
  grid-template-columns: 1.2fr auto 1fr;
  gap: 20px;
  align-items: center;
}
.cta-brand { display: flex; align-items: center; gap: 12px; }
.cta-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,0.12);
  position: relative;
}
.cta-mark::after {
  content: "";
  position: absolute; inset: 10px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.9;
}
.cta-brand strong { display: block; font-size: 15px; font-weight: 800; }
.cta-brand small { font-size: 11px; opacity: 0.75; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.cta-actions .lotus-btn-primary {
  background: #fff; color: var(--lotus-red-dark);
  box-shadow: none;
}
.cta-actions .lotus-btn-primary:hover { background: #fef2f2; color: var(--lotus-red-dark); }
.cta-links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.cta-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 13px; font-weight: 600; }
.cta-links a:hover { color: #fff; }

/* ========== CONTACT / DEMO pages ========== */
.lt-page { background: var(--bg); }
.lt-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.lt-split-visual {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(229,27,35,0.2), transparent 50%),
    linear-gradient(160deg, #1a0a0b 0%, #7f1d1d 50%, #e51b23 100%);
  color: #fff;
  padding: 48px 40px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  overflow: hidden;
}
.lt-split-visual h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; margin: 0 0 12px; }
.lt-split-visual p { opacity: 0.9; font-size: 15px; line-height: 1.85; max-width: 360px; }
.lt-split-form {
  background: #fff;
  padding: 40px 36px;
  display: flex; flex-direction: column; justify-content: center;
}
.lt-split-form h2 { font-size: 22px; font-weight: 900; margin: 0 0 6px; }
.lt-split-form .lt-intro { color: var(--muted); font-size: 14px; margin: 0 0 22px; }

.lt-contact-form .lt-form-row { margin-bottom: 12px; }
.lt-contact-form .lt-form-row-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px;
}
.lt-contact-form label { display: block; font-size: 13px; font-weight: 700; }
.lt-contact-form label span { display: block; margin-bottom: 5px; }
.lt-contact-form label em { color: var(--lotus-red); font-style: normal; }
.lt-contact-form input,
.lt-contact-form textarea,
.lt-contact-form select {
  width: 100%; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 14px; background: #fafbfc;
}
.lt-contact-form input:focus,
.lt-contact-form textarea:focus,
.lt-contact-form select:focus {
  outline: none; border-color: var(--lotus-red); background: #fff;
}
.lt-captcha-row {
  display: flex; align-items: center; gap: 10px; margin: 14px 0; flex-wrap: wrap;
}
.lt-captcha-q {
  font-weight: 800; font-size: 14px;
  background: var(--lotus-red-soft); color: var(--lotus-red-dark);
  padding: 8px 12px; border-radius: 8px;
}
.lt-captcha-row input { width: 80px; }
.lt-check-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; font-weight: 500 !important; margin: 12px 0 16px; cursor: pointer;
}
.lt-check-row input { width: auto; margin-top: 3px; flex-shrink: 0; }
.lt-form-actions { margin-top: 4px; }
.lt-form-status {
  margin-top: 12px; padding: 10px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
}
.lt-form-status.is-loading { background: #e8f0ff; color: #3b82f6; }
.lt-form-status.is-success { background: #ecfdf5; color: #166534; }
.lt-form-status.is-error { background: #fef2f2; color: #dc2626; }
.lt-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 22px; border-radius: 50px; font-weight: 700;
  text-decoration: none; font-size: 14px; border: none; cursor: pointer;
  font-family: inherit;
}
.lt-btn-primary { background: var(--lotus-red); color: #fff; }
.lt-btn-primary:hover { background: var(--lotus-red-dark); color: #fff; }

/* Hide theme page title on plugin pages */
body.lotus-custom-homepage-active .entry-header,
body.lotus-custom-homepage-active .page-header,
body.lotus-custom-homepage-active .entry-title {
  display: none !important;
}
body.lotus-custom-homepage-active .site-content,
body.lotus-custom-homepage-active #content,
body.lotus-custom-homepage-active .entry-content {
  padding: 0 !important; margin: 0 !important;
  max-width: 100% !important; width: 100% !important;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .lotus-downloads-grid { grid-template-columns: 1fr 1fr; }
  .lotus-services-4 { grid-template-columns: 1fr 1fr; }
  .lotus-articles-grid { grid-template-columns: 1fr 1fr; }
  .lotus-cta-v3-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-brand, .cta-links { justify-content: center; }
  .lt-split { grid-template-columns: 1fr; }
  .lt-split-visual { min-height: 200px; padding: 32px 24px; }
}
@media (max-width: 860px) {
  .lotus-hero-v3-grid { grid-template-columns: 1fr; gap: 28px; }
  .lotus-hero-v3-copy { text-align: center; order: 1; }
  .lotus-hero-v3-media { order: 2; min-height: 280px; }
  .lotus-hero-v3-text { margin-inline: auto; }
  .lotus-institutes, .lotus-actions-v3 { margin-inline: auto; justify-content: center; }
  .lotus-about-teaser-grid { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body.lotus-custom-homepage-active {
    --lotus-header-offset: 72px;
  }
  body.admin-bar.lotus-custom-homepage-active {
    --lotus-header-offset: 118px;
  }
  .lotus-downloads-grid,
  .lotus-services-4,
  .lotus-articles-grid { grid-template-columns: 1fr; }
  .lt-contact-form .lt-form-row-2 { grid-template-columns: 1fr; }
  .lotus-hero-v3 { padding: 28px 0 32px; }
}

/* ========== STATIC PAGES (about / contact / demo / connect) ========== */
.lotus-static-page {
  --la-red: var(--lotus-red, #e51b23);
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
  color: var(--lotus-ink, #0f172a);
  background: #fff;
  direction: rtl;
}
.la-container {
  width: min(1100px, calc(100% - 40px));
  margin-inline: auto;
}
.la-hero {
  background:
    radial-gradient(ellipse 50% 60% at 90% 30%, rgba(229,27,35,0.07), transparent 55%),
    linear-gradient(180deg, #fafbfc 0%, #fff 100%);
  padding: 56px 0 48px;
}
.la-hero-compact { padding: 48px 0 28px; text-align: center; }
.la-hero-compact .la-lead {
  max-width: 560px; margin: 12px auto 0; color: var(--lotus-muted, #64748b); font-size: 15px; line-height: 1.9;
}
.la-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.la-kicker, .la-label {
  display: inline-block;
  color: var(--la-red);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}
.la-hero h1 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  line-height: 1.35;
  margin: 0 0 14px;
}
.la-hero-copy > p {
  color: var(--lotus-muted, #64748b);
  font-size: 15px;
  line-height: 1.9;
  max-width: 480px;
  margin: 0 0 22px;
}
.la-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.la-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 50px;
  font-weight: 700; font-size: 14px; text-decoration: none;
  transition: all 0.22s; border: 2px solid transparent;
}
.la-btn-primary {
  background: var(--la-red); color: #fff;
  box-shadow: 0 6px 18px rgba(229,27,35,0.28);
}
.la-btn-primary:hover { background: #c4141b; color: #fff; }
.la-btn-ghost {
  background: #fff; color: var(--la-red); border-color: var(--la-red);
}
.la-btn-ghost:hover { background: #fef2f2; color: #c4141b; }
.la-btn-white { background: #fff; color: #c4141b; }
.la-btn-white:hover { background: #fef2f2; color: #c4141b; }
.la-btn-ghost-light {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.5);
}
.la-btn-ghost-light:hover { background: rgba(255,255,255,0.1); color: #fff; }

.la-orbit {
  position: relative;
  width: min(320px, 100%);
  height: 320px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(229,27,35,0.15);
  display: grid; place-items: center;
}
.la-orbit::before {
  content: "";
  position: absolute; inset: 40px;
  border-radius: 50%;
  border: 1px dashed rgba(229,27,35,0.2);
}
.la-core {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(145deg, #e51b23, #c4141b);
  color: #fff; font-weight: 900; font-size: 14px;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(229,27,35,0.35);
  z-index: 2;
}
.la-orbit span {
  position: absolute;
  background: #fff; border: 1px solid #e2e8f0;
  padding: 8px 12px; border-radius: 10px;
  font-size: 12px; font-weight: 800;
  box-shadow: 0 4px 14px rgba(15,23,42,0.06);
}
.la-orbit .n1 { top: 18px; right: 30px; }
.la-orbit .n2 { top: 40%; left: 0; }
.la-orbit .n3 { bottom: 24px; right: 40px; }
.la-orbit .n4 { top: 55%; right: -8px; }

.la-section { padding: 56px 0; }
.la-heading { margin-bottom: 28px; }
.la-heading h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 900; margin: 0;
}
.la-two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}
.la-two-col h2 { font-size: 24px; font-weight: 900; margin: 0; }
.la-two-col p { color: var(--lotus-muted, #64748b); line-height: 1.9; margin: 0 0 12px; }
.la-story { background: var(--lotus-bg, #f8fafc); }

.la-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.la-value-grid-2 { grid-template-columns: 1fr 1fr; }
.la-value-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: 0 4px 16px rgba(15,23,42,0.04);
}
.la-value-card b {
  display: block; color: var(--la-red);
  font-size: 13px; margin-bottom: 8px;
}
.la-value-card h3 { font-size: 15px; font-weight: 800; margin: 0 0 8px; }
.la-value-card p { font-size: 13px; color: var(--lotus-muted, #64748b); line-height: 1.75; margin: 0; }

.la-editor-content { font-size: 15px; line-height: 1.9; color: #334155; }
.la-editor-content h2, .la-editor-content h3 { color: var(--lotus-ink, #0f172a); }

.la-cta {
  background: linear-gradient(135deg, #1a0a0b 0%, #7f1d1d 50%, #e51b23 100%);
  color: #fff;
  padding: 48px 0;
}
.la-cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.la-cta span { font-size: 13px; opacity: 0.85; }
.la-cta h2 { font-size: 22px; font-weight: 900; margin: 6px 0 0; }
.la-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* split form extras */
.lt-visual-kicker {
  display: inline-block; font-weight: 700; font-size: 13px;
  opacity: 0.85; margin-bottom: 10px;
}
.lt-visual-info { margin-top: 24px; font-size: 14px; line-height: 2; }
.lt-vi { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 6px; }
.lt-vi a { color: #fff; text-decoration: none; }
.lt-vi a:hover { text-decoration: underline; }
.lt-visual-list {
  margin: 20px 0 0; padding: 0 18px 0 0;
  font-size: 14px; line-height: 2; opacity: 0.95;
}
.lt-visual-note {
  margin-top: 24px; font-size: 13px; opacity: 0.9;
}
.lt-visual-note a { color: #fff; font-weight: 700; }

/* Connect channels */
.lc-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lc-channel {
  display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 1px solid #e2e8f0;
  border-radius: 16px; padding: 22px 18px;
  text-decoration: none; color: inherit;
  box-shadow: 0 4px 16px rgba(15,23,42,0.04);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
a.lc-channel:hover {
  transform: translateY(-2px);
  border-color: rgba(229,27,35,0.3);
  box-shadow: 0 10px 28px rgba(15,23,42,0.08);
}
.lc-ico {
  width: 40px; height: 40px; border-radius: 12px;
  background: #fef2f2; color: var(--la-red);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 4px;
}
.lc-channel strong { font-size: 15px; font-weight: 800; }
.lc-channel > span:last-child { font-size: 13px; color: var(--lotus-muted, #64748b); line-height: 1.6; }
.lc-form-wrap {
  max-width: 640px; margin-inline: auto;
  background: #fff; border: 1px solid #e2e8f0;
  border-radius: 18px; padding: 32px 28px;
  box-shadow: 0 8px 28px rgba(15,23,42,0.06);
}
.lc-form-head { margin-bottom: 20px; text-align: center; }
.lc-form-head h2 { font-size: 22px; font-weight: 900; margin: 0 0 8px; }
.lc-form-head p { color: var(--lotus-muted, #64748b); margin: 0; font-size: 14px; }

/* static pages clear theme title */
body.lotus-static-page .entry-header,
body.lotus-about-page .entry-header,
body.lotus-contact-page .entry-header,
body.lotus-demo-page .entry-header,
body.lotus-connect-page .entry-header,
body.lotus-static-page .entry-title {
  display: none !important;
}
body.lotus-static-page .site-content,
body.lotus-static-page #content,
body.lotus-static-page .entry-content {
  padding: 0 !important; margin: 0 !important;
  max-width: 100% !important; width: 100% !important;
}

/* header offset for static pages too */
body.lotus-static-page .lotus-static-page {
  /* content starts after theme header if needed — hero has own padding */
}

@media (max-width: 900px) {
  .la-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .la-hero-copy > p { margin-inline: auto; }
  .la-actions { justify-content: center; }
  .la-two-col { grid-template-columns: 1fr; }
  .la-value-grid { grid-template-columns: 1fr 1fr; }
  .lc-channels { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .la-value-grid, .la-value-grid-2, .lc-channels { grid-template-columns: 1fr; }
  .lc-form-wrap { padding: 24px 18px; }
}

/* ========== STATS COUNTERS ========== */
.lotus-stats-v3 {
  padding: 28px 0 40px;
  background: #fff;
}
.lotus-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.lotus-stat-card {
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
  border: 1px solid var(--lotus-line, #e2e8f0);
  border-radius: 18px;
  padding: 28px 16px;
  box-shadow: var(--lotus-shadow, 0 4px 20px rgba(15,23,42,.06));
  transition: transform .25s, box-shadow .25s;
}
.lotus-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lotus-shadow-lg, 0 16px 40px rgba(15,23,42,.1));
}
.lotus-stat-num {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--lotus-red, #e51b23);
  line-height: 1.2;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: plaintext;
}
.lotus-stat-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--lotus-muted, #64748b);
}

/* ========== HOME CUSTOMERS GRID ========== */
.lotus-partners-badge {
  color: var(--lotus-muted, #64748b);
  font-size: 14px;
  margin: 8px 0 0;
}
.lotus-cust-grid-home {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.lc-card-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid #e4e9ee;
  border-radius: 18px;
  padding: 24px 14px;
  min-height: 180px;
  text-decoration: none;
  color: #0e1b29;
  transition: .22s;
  box-shadow: 0 4px 16px rgba(15,34,52,.04);
}
.lc-card-home:hover {
  transform: translateY(-5px);
  border-color: rgba(227,30,36,.4);
  box-shadow: 0 16px 36px rgba(15,34,52,.1);
}
.lc-card-home .lc-card-logo {
  height: 64px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.lc-card-home .lc-card-logo img {
  max-height: 48px;
  max-width: 120px;
  object-fit: contain;
}
.lc-logo-placeholder {
  width: 48px; height: 48px; border-radius: 14px;
  background: #fff0f0; color: #e31e24;
  display: grid; place-items: center; font-size: 20px; font-weight: 900;
}
.lc-card-home h3 {
  font-size: 14px; font-weight: 800; margin: 0 0 6px; line-height: 1.4;
}
.lc-card-home p {
  font-size: 12px; color: #697887; line-height: 1.7; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.lotus-cust-more {
  text-align: center; margin: 22px 0 0;
}
.lotus-cust-more a {
  color: var(--lotus-red, #e51b23);
  font-weight: 800; font-size: 14px; text-decoration: none;
}

/* ========== TESTIMONIALS ========== */
.lotus-testimonials {
  padding: 56px 0;
  background: #fff;
}
.lotus-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.lotus-testi-card {
  margin: 0;
  background: #fafbfc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 26px 22px;
  position: relative;
  box-shadow: 0 4px 16px rgba(15,23,42,.04);
}
.testi-quote {
  font-size: 48px;
  line-height: 1;
  color: var(--lotus-red, #e51b23);
  opacity: .35;
  font-weight: 900;
  margin-bottom: 4px;
}
.testi-text {
  font-size: 14px;
  line-height: 1.85;
  color: #334155;
  margin-bottom: 18px;
}
.testi-foot {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testi-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.testi-foot strong { display: block; font-size: 14px; font-weight: 800; }
.testi-foot span { font-size: 12px; color: #64748b; }

/* split side image */
.lt-split-visual.has-photo { position: relative; overflow: hidden; }
.lt-split-bg {
  position: absolute; inset: 0; z-index: 0;
}
.lt-split-bg img, .lt-side-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.lt-split-visual.has-photo::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, rgba(26,10,11,.88) 0%, rgba(127,29,29,.82) 55%, rgba(229,27,35,.75) 100%);
}
.lt-split-visual-inner { position: relative; z-index: 2; }
.la-hero-img img {
  width: 100%; border-radius: 16px; box-shadow: 0 16px 40px rgba(15,23,42,.12);
}

@media (max-width: 1024px) {
  .lotus-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .lotus-cust-grid-home { grid-template-columns: repeat(3, 1fr); }
  .lotus-testi-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .lotus-stats-grid { grid-template-columns: 1fr 1fr; }
  .lotus-cust-grid-home { grid-template-columns: 1fr 1fr; }
  .lotus-testi-grid { grid-template-columns: 1fr; }
}

/* Chrome safety: marquee never covers whole page */
.lotus-customer-marquee {
  position: relative;
  z-index: 1;
  max-width: 100%;
}
.lotus-customer-marquee-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: max-content;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.lotus-homepage.lotus-hp-v3 {
  isolation: isolate;
}

/* ========== CUSTOMERS PAGE (BPMExpert-style, red brand) ========== */
.lotus-customers-page {
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
  color: #0e1b29;
  background: #fff;
  direction: rtl;
}
.lotus-customers-page .lc-container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.lotus-customers-page .lc-hero {
  background:
    radial-gradient(ellipse 50% 80% at 10% 50%, rgba(229,27,35,0.18), transparent 55%),
    linear-gradient(135deg, #0b1220 0%, #152238 45%, #1a2740 100%);
  color: #fff;
  padding: 72px 0 64px;
}
.lotus-customers-page .lc-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}
.lotus-customers-page .lc-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.35;
  margin: 0 0 16px;
}
.lotus-customers-page .lc-hero p {
  font-size: 15px;
  line-height: 1.9;
  opacity: 0.88;
  max-width: 520px;
  margin: 0 0 24px;
}
.lotus-customers-page .lc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.lotus-customers-page .lc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: .2s;
}
.lotus-customers-page .lc-btn-primary {
  background: #e51b23;
  color: #fff;
  box-shadow: 0 8px 24px rgba(229,27,35,.35);
}
.lotus-customers-page .lc-btn-primary:hover { background: #c4141b; color: #fff; }
.lotus-customers-page .lc-btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.lotus-customers-page .lc-btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.lotus-customers-page .lc-btn-white {
  background: #fff;
  color: #e51b23;
  border-radius: 50px;
  font-weight: 800;
}
.lotus-customers-page .lc-hero-visual { display: flex; justify-content: center; }
.lotus-customers-page .lc-hero-badge {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  backdrop-filter: blur(8px);
}
.lotus-customers-page .lc-hero-badge strong {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.1;
  direction: ltr;
  unicode-bidi: plaintext;
}
.lotus-customers-page .lc-hero-badge span {
  font-size: 13px;
  opacity: .8;
  margin-top: 6px;
}
.lotus-customers-page .lc-section { padding: 56px 0; }
.lotus-customers-page .lc-intro { background: #f7f9fc; }
.lotus-customers-page .lc-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.lotus-customers-page .lc-label {
  display: block;
  color: #e51b23;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
}
.lotus-customers-page .lc-intro h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 900;
  margin: 0;
  line-height: 1.4;
}
.lotus-customers-page .lc-intro p {
  color: #5b6b7c;
  line-height: 1.9;
  margin: 0;
  font-size: 15px;
}
.lotus-customers-page .lc-heading {
  text-align: center;
  margin-bottom: 28px;
}
.lotus-customers-page .lc-heading h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  margin: 0;
}
.lotus-customers-page .lc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 28px;
}
.lotus-customers-page .lc-filter-btn {
  border: 1px solid #e4e9ee;
  background: #fff;
  color: #0e1b29;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: .2s;
}
.lotus-customers-page .lc-filter-btn:hover { border-color: rgba(229,27,35,.4); }
.lotus-customers-page .lc-filter-btn.is-active {
  background: #e51b23;
  border-color: #e51b23;
  color: #fff;
}
.lotus-customers-page .lc-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.lotus-customers-page .lc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 18px;
  padding: 26px 16px;
  min-height: 220px;
  text-decoration: none;
  color: #0e1b29;
  box-shadow: 0 4px 16px rgba(15,34,52,.04);
  transition: .22s;
}
.lotus-customers-page .lc-card:hover {
  transform: translateY(-5px);
  border-color: rgba(229,27,35,.35);
  box-shadow: 0 16px 36px rgba(15,34,52,.1);
}
.lotus-customers-page .lc-card.is-hidden { display: none !important; }
.lotus-customers-page .lc-card-logo {
  height: 72px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.lotus-customers-page .lc-card-logo img {
  max-height: 56px;
  max-width: 140px;
  object-fit: contain;
}
.lotus-customers-page .lc-logo-placeholder {
  width: 52px; height: 52px; border-radius: 14px;
  background: #fff0f0; color: #e51b23;
  display: grid; place-items: center;
  font-size: 22px; font-weight: 900;
}
.lotus-customers-page .lc-card-body h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.45;
}
.lotus-customers-page .lc-card-body p {
  font-size: 13px;
  line-height: 1.75;
  color: #697887;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lotus-customers-page .lc-empty-box {
  text-align: center;
  padding: 36px 20px;
  background: #f5f7f9;
  border: 1px dashed #d0d7de;
  border-radius: 16px;
  color: #697887;
}
.lotus-customers-page .lc-cta {
  background: linear-gradient(135deg, #0b1220 0%, #7f1d1d 55%, #e51b23 100%);
  color: #fff;
  padding: 48px 0;
}
.lotus-customers-page .lc-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.lotus-customers-page .lc-cta span { font-size: 13px; opacity: .85; }
.lotus-customers-page .lc-cta h2 { font-size: 22px; font-weight: 900; margin: 6px 0 0; }

/* Homepage customers strip (logo cards) */
.lotus-customers-home-v2 {
  padding: 56px 0 48px;
  background: #fff;
}
.lotus-customers-home-v2 .lotus-section-head {
  text-align: center;
  margin-bottom: 28px;
}
.lotus-customers-home-v2 .lotus-kicker {
  color: #e51b23;
  font-weight: 800;
  font-size: 13px;
}
.lotus-customers-home-v2 h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 900;
  margin: 8px 0 0;
  color: #0e1b29;
}
.lotus-home-logo-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
}
.lotus-home-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  padding: 18px 10px;
  min-height: 110px;
  text-decoration: none;
  color: #0e1b29;
  box-shadow: 0 4px 14px rgba(15,34,52,.04);
  transition: .2s;
  text-align: center;
}
.lotus-home-logo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(229,27,35,.3);
  box-shadow: 0 12px 28px rgba(15,34,52,.08);
}
.lotus-home-logo-card img {
  max-height: 40px;
  max-width: 100%;
  object-fit: contain;
}
.lotus-home-logo-card span {
  font-size: 12px;
  font-weight: 700;
  color: #5b6b7c;
  line-height: 1.4;
}
.lotus-customers-home-v2 .lotus-cust-more {
  text-align: center;
  margin-top: 22px;
}
.lotus-customers-home-v2 .lotus-cust-more a {
  color: #e51b23;
  font-weight: 800;
  text-decoration: none;
  font-size: 14px;
}

body.lotus-customers-page .entry-header,
body.lotus-customers-page .entry-title {
  display: none !important;
}

@media (max-width: 1024px) {
  .lotus-customers-page .lc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lotus-home-logo-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .lotus-customers-page .lc-hero-inner,
  .lotus-customers-page .lc-intro-grid { grid-template-columns: 1fr; text-align: center; }
  .lotus-customers-page .lc-hero p { margin-inline: auto; }
  .lotus-customers-page .lc-actions { justify-content: center; }
  .lotus-customers-page .lc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lotus-home-logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Homepage customers marquee — single row seamless CSS loop */
.lotus-customers-home-v2 .lotus-customer-marquee {
  overflow: hidden;
  width: 100%;
  margin: 8px 0 0;
  padding: 8px 0 12px;
  position: relative;
  z-index: 1;
  direction: ltr; /* consistent transform math; cards still RTL text inside */
}
.lotus-customers-home-v2 .lotus-customer-marquee-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  gap: 14px;
  width: max-content;
  padding: 0;
  margin: 0;
  will-change: transform;
}
.lotus-customers-home-v2 .lotus-customer-marquee-track.is-animated {
  animation: lotus-mq-scroll var(--mq-duration, 35s) linear infinite;
}
.lotus-customers-home-v2 .lotus-customer-marquee:hover .lotus-customer-marquee-track.is-animated,
.lotus-customers-home-v2 .lotus-customer-marquee:focus-within .lotus-customer-marquee-track.is-animated {
  animation-play-state: paused;
}
.lotus-customers-home-v2 .lotus-customer-marquee-track.is-static {
  animation: none !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  justify-content: center;
  direction: rtl;
}
@keyframes lotus-mq-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.lotus-customers-home-v2 .lotus-home-logo-card {
  flex: 0 0 auto;
  width: 140px;
  min-height: 112px;
  margin: 0;
  direction: rtl;
}
.lotus-customers-home-v2 .lotus-home-logo-card img {
  max-height: 42px;
  max-width: 110px;
}
@media (prefers-reduced-motion: reduce) {
  .lotus-customers-home-v2 .lotus-customer-marquee-track {
    animation: none !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    justify-content: center;
    direction: rtl;
  }
}



.lotus-hero-v3.hero-layout-centered .lotus-hero-v3-grid{grid-template-columns:1fr;text-align:center}
.lotus-hero-v3.hero-layout-centered .lotus-hero-v3-media{display:flex}
.lotus-hero-v3.hero-layout-centered .lotus-actions-v3,
.lotus-hero-v3.hero-layout-centered .lotus-institutes{justify-content:center}

/* Stats/services columns driven by CSS variables from admin */
.lotus-stats-grid {
  display: grid !important;
  grid-template-columns: repeat(var(--lotus-stats-cols, 3), minmax(0, 1fr)) !important;
  gap: 16px;
}
.lotus-services-4 {
  display: grid !important;
  grid-template-columns: repeat(var(--lotus-services-cols, 4), minmax(0, 1fr)) !important;
  gap: 18px;
}
.lotus-downloads-grid {
  display: grid !important;
  grid-template-columns: repeat(var(--lotus-downloads-cols, 3), minmax(0, 1fr)) !important;
  gap: 18px;
}
@media (max-width: 900px) {
  .lotus-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .lotus-services-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .lotus-downloads-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 560px) {
  .lotus-stats-grid,
  .lotus-services-4,
  .lotus-downloads-grid { grid-template-columns: 1fr !important; }
}

/* Static marquee (1 item or not overflowing) */
.lotus-customers-home-v2 .lotus-customer-marquee.is-static-marquee,
.lotus-customers-home-v2 .lotus-customer-marquee-track.is-static {
  overflow: visible;
}
.lotus-customers-home-v2 .lotus-customer-marquee-track.is-static {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center;
  width: 100% !important;
  max-width: 100%;
  animation: none !important;
  transform: none !important;
  direction: rtl;
  margin-inline: auto;
}
.lotus-customers-home-v2 .lotus-customer-marquee.is-static-marquee {
  display: flex;
  justify-content: center;
}

/* Hero layouts — keep image visible except pure centered-without-image preference */
.lotus-hero-v3.hero-layout-media-start .lotus-hero-v3-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}
.lotus-hero-v3.hero-layout-media-end .lotus-hero-v3-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: center;
}


.lotus-hero-v3.hero-layout-centered .lotus-hero-v3-grid {
  display: grid;
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}
.lotus-hero-v3.hero-layout-centered .lotus-hero-v3-media {
  order: 2;
  min-height: 0;
  margin-top: 12px;
}
.lotus-hero-v3.hero-layout-centered .lotus-hero-v3-copy { order: 1; }
.lotus-hero-v3.hero-layout-centered .lotus-actions-v3,
.lotus-hero-v3.hero-layout-centered .lotus-institutes { justify-content: center; }
.lotus-hero-v3 .lotus-hero-img-wrap {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.lotus-hero-v3 .lotus-hero-img-wrap img {
  display: block !important;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
@media (max-width: 900px) {
  .lotus-hero-v3.hero-layout-media-start .lotus-hero-v3-grid,
  .lotus-hero-v3.hero-layout-media-end .lotus-hero-v3-grid {
    grid-template-columns: 1fr !important;
  }
  .lotus-hero-v3.hero-layout-media-end .lotus-hero-v3-media,
  .lotus-hero-v3.hero-layout-media-end .lotus-hero-v3-copy { order: unset; }
}

/* Hero layout — grid areas + DOM order (v1.4.2) */
.lotus-hero-v3 .lotus-hero-v3-grid {
  display: grid !important;
  gap: 32px !important;
  align-items: center !important;
}
.lotus-hero-v3.hero-layout-media-start .lotus-hero-v3-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
}
.lotus-hero-v3.hero-layout-media-end .lotus-hero-v3-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) !important;
}
.lotus-hero-v3.hero-layout-centered .lotus-hero-v3-grid {
  grid-template-columns: 1fr !important;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}
.lotus-hero-v3.hero-layout-centered .lotus-hero-v3-text { margin-inline: auto; max-width: 640px; }
.lotus-hero-v3.hero-layout-centered .lotus-institutes,
.lotus-hero-v3.hero-layout-centered .lotus-actions-v3 { margin-inline: auto; justify-content: center; }
.lotus-hero-v3 .lotus-hero-v3-media,
.lotus-hero-v3 .lotus-hero-v3-copy { min-width: 0; }
@media (max-width: 900px) {
  .lotus-hero-v3.hero-layout-media-start .lotus-hero-v3-grid,
  .lotus-hero-v3.hero-layout-media-end .lotus-hero-v3-grid {
    grid-template-columns: 1fr !important;
  }
}


/* === v1.4.3 hero layout (DOM order + grid) === */
.lotus-hero-v3 .lotus-hero-v3-grid {
  display: grid !important;
  gap: 28px 40px !important;
  align-items: center !important;
  width: 100%;
}
.lotus-hero-v3.hero-layout-media-start .lotus-hero-v3-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
}
.lotus-hero-v3.hero-layout-media-end .lotus-hero-v3-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) !important;
}
.lotus-hero-v3.hero-layout-centered .lotus-hero-v3-grid {
  grid-template-columns: 1fr !important;
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}
.lotus-hero-v3 .lotus-hero-v3-media {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 0;
}
.lotus-hero-v3 .lotus-hero-img-wrap,
.lotus-hero-v3 .lotus-hero-img-wrap img {
  display: block !important;
  max-width: 100%;
  height: auto;
}
@media (max-width: 900px) {
  .lotus-hero-v3.hero-layout-media-start .lotus-hero-v3-grid,
  .lotus-hero-v3.hero-layout-media-end .lotus-hero-v3-grid {
    grid-template-columns: 1fr !important;
  }
}


/* Hero layout: RTL grid — first DOM cell is on the RIGHT */
.lotus-hero-v3 .lotus-hero-v3-grid {
  display: grid !important;
  gap: 28px 40px !important;
  align-items: center !important;
  direction: rtl !important; /* force consistent: first child = right */
}
.lotus-hero-v3.hero-layout-media-start .lotus-hero-v3-grid,
.lotus-hero-v3.hero-layout-media-end .lotus-hero-v3-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
}
/* media-start: media first in DOM → right side */
/* media-end: copy first in DOM → text right, media left */
.lotus-hero-v3.hero-layout-centered .lotus-hero-v3-grid {
  grid-template-columns: 1fr !important;
  direction: rtl !important;
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}
.lotus-hero-v3.hero-layout-centered .lotus-hero-v3-media { order: 2; }
.lotus-hero-v3.hero-layout-centered .lotus-hero-v3-copy { order: 1; }

/* Hero slider */
.lotus-hero-v3.is-slider { position: relative; }
.lotus-hero-slider { position: relative; overflow: hidden; }
.lotus-hero-slide {
  display: none;
  opacity: 0;
  transition: opacity .45s ease;
}
.lotus-hero-slide.is-active {
  display: block;
  opacity: 1;
}
.lotus-hero-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  position: relative;
  z-index: 2;
}
.lotus-hero-prev,
.lotus-hero-next {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--lotus-line, #e2e8f0);
  background: #fff;
  color: var(--lotus-ink, #0e1b29);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(15,23,42,.08);
}
.lotus-hero-prev:hover,
.lotus-hero-next:hover {
  border-color: var(--lotus-red, #e51b23);
  color: var(--lotus-red, #e51b23);
}
.lotus-hero-dots { display: flex; gap: 8px; align-items: center; }
.lotus-hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #cbd5e1;
  cursor: pointer;
}
.lotus-hero-dot.is-active {
  background: var(--lotus-red, #e51b23);
  transform: scale(1.15);
}
@media (max-width: 900px) {
  .lotus-hero-v3.hero-layout-media-start .lotus-hero-v3-grid,
  .lotus-hero-v3.hero-layout-media-end .lotus-hero-v3-grid {
    grid-template-columns: 1fr !important;
  }
}
