/* =========================================================================
   Behinpa — Landing (new home page)
   • Logical properties everywhere → one stylesheet for RTL (fa/ar) and LTR (en).
   • Fluid type & spacing (clamp) → no jumps between breakpoints.
   • Motion respects prefers-reduced-motion.
   ========================================================================= */

/* ---------- Page frame: let the landing go full-width inside GeneratePress ---------- */
body.bp-landing { background: #f5f8fd; }
body.bp-landing #page.site.grid-container { max-width: none; width: 100%; padding: 0; background: transparent; }
body.bp-landing .site-content { display: block; padding: 0 !important; }
body.bp-landing #primary, body.bp-landing .content-area { width: 100%; float: none; margin: 0; padding: 0; }

/* ---------- Tokens ---------- */
.lp {
	--navy: #0a1f44;
	--navy-2: #0f2c5e;
	--ink: #0d1f3c;
	--ink-2: #3f5070;
	--muted: #6a7a96;
	--blue: #1d4ed8;
	--blue-2: #0ea5e9;
	--red: #c8102e;
	--gold: #f5b70a;
	--bg: #f5f8fd;
	--surface: #fff;
	--line: rgba(13, 31, 60, .08);
	--line-2: rgba(13, 31, 60, .14);
	--grad: linear-gradient(135deg, #0f2c5e 0%, #1d4ed8 55%, #0ea5e9 100%);
	--r-xl: clamp(20px, 1.2rem + 1vw, 32px);
	--r-lg: clamp(16px, .8rem + .6vw, 22px);
	--r-md: 14px;
	--sh-1: 0 1px 2px rgba(13, 31, 60, .04), 0 2px 6px rgba(13, 31, 60, .05);
	--sh-2: 0 18px 40px -18px rgba(13, 31, 60, .22), 0 6px 14px -8px rgba(13, 31, 60, .10);
	--sh-3: 0 40px 90px -30px rgba(10, 31, 68, .45);
	--gap: clamp(16px, .6rem + 1.6vw, 32px);
	--sec: clamp(56px, 2.5rem + 4vw, 112px);
	--wrap: 1320px;
	--ease: cubic-bezier(.2, .7, .2, 1);

	color: var(--ink);
	font-family: "BP Sans", "IRANSans", Vazirmatn, Tahoma, system-ui, sans-serif;
	font-size: clamp(15px, .88rem + .18vw, 17px);
	line-height: 1.85;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
.bp-lang-en .lp { font-family: Inter, "Segoe UI", Roboto, system-ui, -apple-system, Helvetica, Arial, sans-serif; line-height: 1.7; }
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp img { max-width: 100%; height: auto; display: block; }
.lp :where(a) { text-decoration: none; }
.lp :where(ul, ol) { list-style: none; margin: 0; padding: 0; }
.lp :where(h1, h2, h3, p, figure) { margin: 0; }

.lp-wrap { width: min(100% - 2 * clamp(16px, 4vw, 40px), var(--wrap)); margin-inline: auto; }
.lp-sec { padding-block: var(--sec) 0; }

/* ---------- Type ---------- */
.lp-h1 { font-size: clamp(1.85rem, 1rem + 3.4vw, 3.7rem); line-height: 1.2; font-weight: 900; letter-spacing: -.01em; color: var(--navy); text-wrap: balance; }
.lp-h2 { font-size: clamp(1.45rem, 1rem + 1.6vw, 2.35rem); line-height: 1.3; font-weight: 800; color: var(--navy); text-wrap: balance; }
.lp-h3 { font-size: clamp(.95rem, .9rem + .2vw, 1.05rem); font-weight: 800; color: var(--navy); margin-block: 22px 12px; }
.lp-lead { font-size: clamp(1rem, .9rem + .45vw, 1.2rem); color: var(--ink-2); max-width: 54ch; margin-block-start: 14px; }
.lp-p { color: var(--ink-2); margin-block-start: 14px; text-align: justify; text-justify: inter-word; }
.bp-lang-en .lp-p { text-align: start; }
.lp-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: clamp(.78rem, .74rem + .15vw, .88rem); font-weight: 800; color: var(--blue);
	margin-block-end: 12px;
}
.lp-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--red), var(--blue)); }
.bp-dir-rtl .lp-eyebrow::before { background: linear-gradient(-90deg, var(--red), var(--blue)); }

.lp-ico { width: 1.15em; height: 1.15em; flex: none; }
.bp-dir-rtl .lp-flip { transform: scaleX(-1); }
.lp-rot { rotate: 180deg; }

/* ---------- Buttons ---------- */
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: clamp(20px, 1rem + 1vw, 32px); }
.lp-btn {
	--h: clamp(46px, 2.6rem + .4vw, 54px);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: var(--h); padding-inline: clamp(20px, 1rem + 1vw, 30px);
	border-radius: 999px; font-weight: 800; font-size: .95em; line-height: 1;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
	-webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.lp-btn .lp-ico { transition: translate .25s var(--ease); }
.lp-btn:hover .lp-ico { translate: 3px 0; }
.bp-dir-rtl .lp-btn:hover .lp-ico { translate: -3px 0; }
.lp-btn:focus-visible, .lp-round:focus-visible, .lp-cat:focus-visible, .lp-cert:focus-visible, .lp-prod a:focus-visible, .lp-link:focus-visible { outline: 3px solid rgba(29, 78, 216, .45); outline-offset: 3px; }
.lp-btn--primary { color: #fff; background: var(--grad); box-shadow: 0 12px 28px -10px rgba(29, 78, 216, .6); }
.lp-btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(29, 78, 216, .7); }
.lp-btn--ghost { color: var(--navy); background: rgba(255, 255, 255, .7); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lp-btn--ghost:hover { color: var(--blue); border-color: rgba(29, 78, 216, .35); background: #fff; }
.lp-btn--dark { color: #fff; background: var(--navy); margin-block-start: 28px; }
.lp-btn--dark:hover { color: #fff; background: var(--blue); transform: translateY(-2px); }
.lp-btn--light { color: var(--navy); background: #fff; }
.lp-btn--light:hover { color: var(--blue); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); }
.lp-btn--glass { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); }
.lp-btn--glass:hover { color: #fff; background: rgba(255, 255, 255, .18); }

.lp-round {
	width: 46px; height: 46px; border-radius: 50%; flex: none;
	display: inline-grid; place-items: center; padding: 0; cursor: pointer;
	color: var(--navy); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--sh-1);
	transition: background .2s, color .2s, transform .2s, opacity .2s;
}
.lp-round:hover { background: var(--navy); color: #fff; }
.lp-round:active { transform: scale(.94); }
.lp-round[disabled] { opacity: .35; pointer-events: none; }
.lp-round .lp-ico { width: 20px; height: 20px; }

/* ---------- Section heading ---------- */
.lp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 24px; flex-wrap: wrap; margin-block-end: clamp(22px, 1rem + 1.6vw, 40px); }
.lp-head__txt { display: grid; gap: 6px; }
.lp-head .lp-h2 { position: relative; padding-inline-start: 18px; }
.lp-head .lp-h2::before { content: ""; position: absolute; inset-inline-start: 0; inset-block: .25em; width: 5px; border-radius: 5px; background: linear-gradient(180deg, var(--blue), var(--red)); }
.lp-head__sub { color: var(--muted); padding-inline-start: 18px; }
.lp-head__tools { display: flex; align-items: center; gap: 10px; }
.lp-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--blue); padding: 10px 6px; margin-inline-end: 6px; }
.lp-link:hover { color: var(--navy); }

/* ========================== WHAT WE MAKE ========================== */
.lp-cats__grid { display: grid; gap: clamp(12px, .5rem + 1vw, 22px); grid-template-columns: repeat(6, minmax(0, 1fr)); }
.lp-cat {
	position: relative; display: flex; flex-direction: column;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
	padding: 10px; box-shadow: var(--sh-1); color: var(--ink);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.lp-cat:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: rgba(29, 78, 216, .25); color: var(--ink); }
.lp-cat__img { position: relative; display: block; aspect-ratio: 1; border-radius: calc(var(--r-lg) - 6px); overflow: hidden; background: radial-gradient(120% 90% at 50% 15%, #fff 0%, #eef3fb 70%, #e4ecf8 100%); }
.lp-cat__img img { width: 100%; height: 100%; transition: transform .6s var(--ease); }
.lp-fit-contain img { object-fit: contain; padding: 10%; mix-blend-mode: multiply; }
.lp-fit-cover img { object-fit: cover; }
.lp-cat:hover .lp-cat__img img { transform: scale(1.06); }
.lp-cat__body { display: grid; gap: 2px; padding: 14px 8px 8px; padding-inline-end: 46px; min-height: 64px; align-content: center; }
.lp-cat__title { font-size: clamp(.9rem, .85rem + .15vw, 1rem); font-weight: 800; line-height: 1.5; color: var(--navy); }
.lp-cat__count { color: var(--muted); font-size: .8rem; }
.lp-cat__go {
	position: absolute; inset-inline-end: 14px; inset-block-end: 18px;
	width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
	background: #eef3fd; color: var(--blue); transition: background .3s, color .3s, transform .3s var(--ease);
}
.lp-cat__go .lp-ico { width: 16px; height: 16px; }
.lp-cat:hover .lp-cat__go { background: var(--blue); color: #fff; }

/* ========================== COMPANY PROFILE ========================== */
.lp-co { position: relative; }
.lp-co::before {
	content: ""; position: absolute; inset: 0 0 auto; height: 620px; z-index: -1; pointer-events: none;
	background:
		radial-gradient(600px 300px at 85% 10%, rgba(14, 165, 233, .10), transparent 70%),
		radial-gradient(500px 280px at 10% 40%, rgba(29, 78, 216, .08), transparent 70%),
		linear-gradient(rgba(29, 78, 216, .05) 1px, transparent 1px) 0 0 / 32px 32px,
		linear-gradient(90deg, rgba(29, 78, 216, .05) 1px, transparent 1px) 0 0 / 32px 32px;
	-webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent);
}
.lp-co__top { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 1rem + 4vw, 80px); align-items: center; }
.lp-eyebrow--pill { padding: 7px 14px 7px 12px; border-radius: 999px; background: #fff; border: 1px solid rgba(29, 78, 216, .16); box-shadow: var(--sh-1); }
.lp-eyebrow--pill::before { display: none; }
.lp-eyebrow--pill .lp-ico { color: var(--blue-2); }
.lp-co__title {
	font-size: clamp(1.7rem, 1rem + 2.4vw, 3rem); line-height: 1.25; font-weight: 900; letter-spacing: -.01em; text-wrap: balance;
	background: linear-gradient(120deg, #0a1f44 0%, #0f2c5e 45%, #1d4ed8 80%, #0ea5e9 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
	padding-block-end: .1em;
}
.lp-co__lead { margin-block-start: 16px; color: var(--ink-2); font-size: clamp(1rem, .92rem + .3vw, 1.12rem); line-height: 2.05; text-align: justify; text-justify: inter-word; }
.bp-lang-en .lp-co__lead { text-align: start; line-height: 1.8; }

.lp-co__ind { margin-block-start: 22px; display: grid; gap: 10px; }
.lp-co__ind-t { font-size: .8rem; font-weight: 800; color: var(--muted); }
.lp-marquee { display: flex; overflow: hidden; gap: 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.lp-marquee__track { display: flex; gap: 10px; flex: none; min-width: 100%; justify-content: space-around; animation: lp-marq 38s linear infinite; }
.bp-dir-rtl .lp-marquee__track { animation-name: lp-marq-rtl; }
.lp-marquee:hover .lp-marquee__track { animation-play-state: paused; }
.lp-marquee__track li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); font-size: .88rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.lp-marquee__track li i { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
@keyframes lp-marq { to { transform: translateX(calc(-100% - 10px)); } }
@keyframes lp-marq-rtl { to { transform: translateX(calc(100% + 10px)); } }

.lp-co__visual { position: relative; padding: 22px 0 34px; padding-inline-start: 26px; }
.lp-co__visual::before {
	content: ""; position: absolute; inset: 0 30px 10px 0; inset-inline-start: 0; inset-inline-end: 34px; border-radius: calc(var(--r-xl) + 8px);
	background: var(--grad); opacity: .95; transform: rotate(-3deg);
}
.bp-dir-rtl .lp-co__visual::before { transform: rotate(3deg); }
.lp-co__img { position: relative; overflow: hidden; border-radius: var(--r-xl); aspect-ratio: 5 / 4; background: #e7eef9; box-shadow: var(--sh-3); border: 6px solid #fff; }
.lp-co__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.lp-co__visual:hover .lp-co__img img { transform: scale(1.04); }
.lp-co__iso {
	position: absolute; inset-block-end: 0; inset-inline-end: -10px; width: clamp(120px, 6rem + 4vw, 158px); aspect-ratio: 1; border-radius: 50%;
	display: grid; place-items: center; background: #fff; box-shadow: 0 24px 50px -18px rgba(10, 31, 68, .5), 0 0 0 8px rgba(255, 255, 255, .55);
}
.lp-co__iso-ring { position: absolute; inset: 4px; animation: lp-spin 22s linear infinite; }
.lp-co__iso-ring svg { width: 100%; height: 100%; display: block; overflow: visible; }
.lp-co__iso-ring text { font: 800 7.4px/1 Inter, Arial, sans-serif; letter-spacing: 1.6px; fill: var(--blue); }
.lp-co__iso-img { width: 62%; }
.lp-co__iso-img img { width: 100%; height: auto; }
.lp-co__badge {
	position: absolute; inset-block-start: 0; inset-inline-start: 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px;
	background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--sh-2); color: var(--navy);
	font: 800 .85rem/1 Inter, system-ui, sans-serif; letter-spacing: .02em; animation: lp-float 6s ease-in-out infinite;
}
.lp-co__badge .lp-ico { width: 28px; height: 28px; padding: 6px; border-radius: 9px; color: #fff; background: var(--grad); }
@keyframes lp-spin { to { transform: rotate(360deg); } }

.lp-co__caps { margin-block-start: clamp(36px, 1.5rem + 3vw, 72px); }
.lp-co__caps-t { display: flex; align-items: center; gap: 14px; margin-block-end: 16px; font-size: clamp(1rem, .9rem + .4vw, 1.2rem); font-weight: 800; color: var(--navy); }
.lp-co__caps-t::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.bp-dir-rtl .lp-co__caps-t::after { background: linear-gradient(-90deg, var(--line-2), transparent); }
.lp-caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, .5rem + 1vw, 20px); }
.lp-cap {
	position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: start; gap: 14px; min-height: 172px; padding: 22px 20px;
	border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s, border-color .35s;
}
.lp-cap::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad); opacity: 0; transition: opacity .35s var(--ease); }
.lp-cap::after { content: ""; position: absolute; width: 140px; height: 140px; inset-block-end: -60px; inset-inline-end: -50px; z-index: -1; border-radius: 50%; border: 18px solid rgba(29, 78, 216, .06); transition: border-color .35s; }
.lp-cap:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: transparent; }
.lp-cap:hover::before { opacity: 1; }
.lp-cap:hover::after { border-color: rgba(255, 255, 255, .12); }
.lp-cap__n { position: absolute; inset-block-start: 14px; inset-inline-end: 18px; font: 900 2rem/1 Inter, system-ui, sans-serif; color: rgba(13, 31, 60, .07); transition: color .35s; }
.lp-cap__ico { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; color: var(--blue); background: linear-gradient(135deg, #eef4ff, #e0f2fe); transition: background .35s, color .35s; }
.lp-cap__ico .lp-ico { width: 30px; height: 30px; }
.lp-cap__t { font-size: clamp(.95rem, .9rem + .2vw, 1.05rem); font-weight: 800; line-height: 1.6; color: var(--navy); transition: color .35s; }
.lp-cap:hover .lp-cap__t, .lp-cap:hover .lp-cap__ico { color: #fff; }
.lp-cap:hover .lp-cap__ico { background: rgba(255, 255, 255, .16); }
.lp-cap:hover .lp-cap__n { color: rgba(255, 255, 255, .22); }

.lp-co__qc {
	position: relative; overflow: hidden; isolation: isolate; margin-block-start: clamp(16px, .5rem + 1vw, 24px);
	display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(20px, 1rem + 2vw, 48px); align-items: center;
	padding: clamp(24px, 1rem + 2.4vw, 48px); border-radius: var(--r-xl); color: #fff;
	background: radial-gradient(700px 300px at 100% 0%, rgba(14, 165, 233, .35), transparent 60%), linear-gradient(135deg, #0a1f44, #0f2c5e 55%, #133b7c);
	box-shadow: var(--sh-3);
}
.lp-co__qc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 28px 28px; }
.lp-co__qc-t { display: flex; align-items: center; gap: 12px; font-size: clamp(1.1rem, .95rem + .6vw, 1.45rem); font-weight: 800; line-height: 1.5; color: #fff; }
.lp-co__qc-t .lp-ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: var(--navy); background: var(--gold); }
.lp-co__qc-txt p { margin-block-start: 14px; color: rgba(255, 255, 255, .86); font-size: clamp(.95rem, .9rem + .2vw, 1.05rem); line-height: 2.05; text-align: justify; text-justify: inter-word; }
.bp-lang-en .lp-co__qc-txt p { text-align: start; line-height: 1.8; }
.lp-co__steps { position: relative; display: grid; gap: 14px; }
.lp-co__steps::before { content: ""; position: absolute; inset-block: 22px; inset-inline-start: 21px; width: 2px; background: linear-gradient(180deg, var(--gold), rgba(245, 183, 10, .1)); }
.lp-co__steps li { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); font-weight: 700; line-height: 1.6; }
.lp-co__step-n { width: 44px; height: 44px; flex: none; display: grid; place-items: center; margin-inline-start: -2px; border-radius: 50%; color: var(--navy); background: var(--gold); font-weight: 900; box-shadow: 0 0 0 5px rgba(245, 183, 10, .18); }

/* ========================== CERTIFICATES — puzzle assemble ========================== */
.lp-certs { position: relative; }
.lp-certs .lp-head { justify-content: center; text-align: center; }
.lp-certs .lp-head .lp-h2, .lp-certs .lp-head__sub { padding-inline-start: 0; }
.lp-certs .lp-head .lp-h2::before { display: none; }
.lp-certs .lp-head .lp-h2::after { content: ""; display: block; width: 56px; height: 4px; margin: 12px auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--red)); }
.lp-certs__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, .5rem + 1vw, 20px); }
.lp-cert {
	position: relative; display: block; aspect-ratio: 1; overflow: hidden;
	border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.lp-cert::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .85) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.lp-cert:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.lp-pz { position: absolute; inset: 13%; }
.lp-pz__p { position: absolute; inset: 0; transition: transform .9s cubic-bezier(.2, .9, .25, 1.15), opacity .6s var(--ease); transition-delay: calc(var(--d, 0) * 110ms + var(--pd, 0ms)); }
.lp-pz__p img { width: 100%; height: 100%; object-fit: contain; }
.lp-pz__p--0 { clip-path: polygon(0 0, 50.5% 0, 50.5% 50.5%, 0 50.5%); --tx: -34px; --ty: -26px; --r: -14deg; --pd: 0ms; }
.lp-pz__p--1 { clip-path: polygon(49.5% 0, 100% 0, 100% 50.5%, 49.5% 50.5%); --tx: 30px; --ty: -32px; --r: 12deg; --pd: 70ms; }
.lp-pz__p--2 { clip-path: polygon(0 49.5%, 50.5% 49.5%, 50.5% 100%, 0 100%); --tx: -28px; --ty: 34px; --r: 10deg; --pd: 140ms; }
.lp-pz__p--3 { clip-path: polygon(49.5% 49.5%, 100% 49.5%, 100% 100%, 49.5% 100%); --tx: 34px; --ty: 28px; --r: -12deg; --pd: 210ms; }
/* Pieces start scattered only when JS is ready; they snap together once the card enters the viewport. */
.lp.is-ready .lp-pz-in:not(.is-in) .lp-pz__p { opacity: 0; transform: translate(var(--tx), var(--ty)) rotate(var(--r)) scale(.92); }
.lp-pz-in.lp-reveal { transform: none; opacity: 1; }
.lp-pz-in.is-in .lp-cert::after { transform: translateX(120%); transition: transform 1s ease calc(var(--d, 0) * 110ms + 900ms); }

/* ========================== HERO — full-width seamless banner ========================== */
.lp-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lp-hero { position: relative; overflow: hidden; background: #dfe6ef; margin-block-start: 12px; }
.lp-hero__media { position: relative; aspect-ratio: 1920 / 450; }
.lp-hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s var(--ease); }
.lp-hero__slide.is-on { opacity: 1; z-index: 1; }
.lp-hero__slide picture, .lp-hero__slide img { display: block; width: 100%; height: 100%; }
.lp-hero__slide img { object-fit: cover; object-position: center; }
.lp-hero__arrow {
	position: absolute; inset-block-start: 50%; z-index: 3; width: 46px; height: 46px; margin-block-start: -23px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
	display: grid; place-items: center; color: var(--navy); background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	box-shadow: 0 10px 24px -10px rgba(10, 31, 68, .45); opacity: 0; transition: opacity .25s, background .2s, color .2s, transform .2s;
}
.lp-hero:hover .lp-hero__arrow, .lp-hero__arrow:focus-visible { opacity: 1; }
.lp-hero__arrow:hover { color: #fff; background: var(--navy); }
.lp-hero__arrow .lp-ico { width: 22px; height: 22px; }
.lp-hero__arrow--prev { inset-inline-start: clamp(12px, 2vw, 32px); }
.lp-hero__arrow--next { inset-inline-end: clamp(12px, 2vw, 32px); }
.lp-hero .lp-dots { position: absolute; inset-block-end: clamp(8px, 1.2vw, 18px); left: 50%; transform: translateX(-50%); z-index: 3; }
.lp-dots { display: flex; gap: 4px; padding: 5px 8px; border-radius: 999px; background: rgba(10, 31, 68, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lp-dot { width: 22px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.lp-dot i { display: block; width: 7px; height: 7px; border-radius: 7px; background: rgba(255, 255, 255, .6); transition: width .35s var(--ease), background .35s; position: relative; overflow: hidden; }
.lp-dot.is-on i { width: 24px; background: rgba(255, 255, 255, .35); }
.lp-dot.is-on i::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: lp-progress var(--lp-int, 6.5s) linear forwards; }
.bp-dir-rtl .lp-dot.is-on i::after { transform-origin: right; }
.lp-hero.is-paused .lp-dot.is-on i::after { animation-play-state: paused; }

/* ========================== PRODUCTS ========================== */
.lp-rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: clamp(232px, 15rem + 3vw, 290px);
	gap: clamp(14px, .5rem + 1vw, 22px);
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 2px;
	padding: 6px 2px 26px; scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.lp-rail::-webkit-scrollbar { display: none; }
.lp-rail:focus-visible { outline: 3px solid rgba(29, 78, 216, .35); outline-offset: 4px; border-radius: var(--r-lg); }
.lp-prod {
	scroll-snap-align: start; display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.lp-prod:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.lp-prod__img { display: block; aspect-ratio: 1; background: #fff; border-block-end: 1px solid var(--line); overflow: hidden; }
.lp-prod__img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .6s var(--ease); }
.lp-prod:hover .lp-prod__img img { transform: none; }
.lp-prod__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; flex: 1; }
.lp-prod__title { font-size: 1rem; font-weight: 800; line-height: 1.55; }
.lp-prod__title a { color: var(--navy); }
.lp-prod__title a:hover { color: var(--blue); }
.lp-prod__sub { color: var(--muted); font-size: .88rem; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-prod__more { margin-block-start: auto; padding-block-start: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .88rem; color: var(--blue); min-height: 44px; }
.lp-prod__more:hover { color: var(--navy); }
.lp-rail__bar { height: 4px; border-radius: 4px; background: rgba(13, 31, 60, .08); overflow: hidden; max-width: 240px; margin-inline: auto; }
.lp-rail__bar i { display: block; height: 100%; width: 20%; border-radius: 4px; background: var(--grad); transition: margin .15s linear, width .2s; }

/* ========================== CTA ========================== */
.lp-cta { padding-block-end: var(--sec); }
.lp-cta__card {
	position: relative; overflow: hidden; isolation: isolate;
	display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
	padding: clamp(28px, 1rem + 3vw, 60px); border-radius: var(--r-xl);
	background: radial-gradient(120% 140% at 0% 0%, #1d4ed8 0%, #0f2c5e 45%, #0a1f44 100%); color: #fff; box-shadow: var(--sh-3);
}
.lp-cta__card::before {
	content: ""; position: absolute; z-index: -1; inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 22px 22px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000);
}
.lp-cta__txt { max-width: 720px; }
.lp-cta .lp-h2 { color: #fff; }
.lp-cta .lp-p { color: rgba(255, 255, 255, .78); text-align: start; }
.lp-cta .lp-actions { margin: 0; }

/* ========================== Motion ========================== */
.lp-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.lp-reveal.is-in { opacity: 1; transform: none; }
.no-js .lp-reveal, .lp:not(.is-ready) .lp-reveal { opacity: 1; transform: none; }
@keyframes lp-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lp-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lp-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) {
	.lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
	.lp-reveal { opacity: 1; transform: none; }
	.lp-marquee__track { animation: none; flex-wrap: wrap; }
}

/* ========================== Responsive ========================== */
@media (max-width: 1199px) {
	.lp-cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
	.lp-hero__media { aspect-ratio: 21 / 9; }
}
@media (max-width: 1023px) {
	.lp-co__top { grid-template-columns: 1fr; }
	.lp-co__visual { max-width: 640px; width: 100%; margin-inline: auto; }
	.lp-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-co__qc { grid-template-columns: 1fr; }
	.lp-certs__row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
	.lp-certs__row { display: flex; flex-wrap: wrap; justify-content: center; }
	.lp-certs__row li { width: calc((100% - 2 * clamp(12px, .5rem + 1vw, 20px)) / 3); }
}
/* Phones & small tablets: image on top, text card underneath */
@media (max-width: 767px) {
	.lp-hero { margin-block-start: 8px; }
	.lp-hero__arrow { display: none; }
	.lp-dot { width: 16px; height: 14px; }
	.lp-dot i { width: 6px; height: 6px; }
	.lp-dot.is-on i { width: 16px; }
	.lp-caps { grid-template-columns: 1fr 1fr; gap: 10px; }
	.lp-cap { min-height: 0; padding: 16px 14px; gap: 10px; }
	.lp-cap__ico { width: 44px; height: 44px; border-radius: 13px; }
	.lp-cap__ico .lp-ico { width: 24px; height: 24px; }
	.lp-cap__t { font-size: .9rem; }
	.lp-cap__n { font-size: 1.5rem; }
	.lp-co__visual { padding-inline-start: 14px; padding-block: 16px 30px; }
	.lp-co__visual::before { inset-inline-end: 18px; }
	.lp-co__iso { inset-inline-end: -4px; width: 96px; box-shadow: 0 16px 30px -14px rgba(10, 31, 68, .5), 0 0 0 5px rgba(255, 255, 255, .55); }
	.lp-co__iso-ring text { font-size: 6.6px; letter-spacing: 1.1px; }
	.lp-co__badge { padding: 8px 11px; font-size: .78rem; }
	.lp-actions .lp-btn { flex: 1 1 100%; }
	.lp-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lp-cat__body { padding-inline-end: 8px; padding-block-end: 46px; }
	.lp-cat__go { inset-block-end: 12px; inset-inline-end: 12px; }
	.lp-head__tools .lp-round { display: none; }
	.lp-cta__card .lp-actions { width: 100%; }
	.lp-rail { grid-auto-columns: 74%; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 380px) {
	.lp-cats__grid { gap: 10px; }
	.lp-cat { padding: 7px; }
	.lp-cat__title { font-size: .85rem; }
}
@media (min-width: 1800px) {
	.lp { --wrap: 1480px; }
}


/* Original composition on all screens; separate 1050×450 mobile/tablet image when supplied. */
@media (max-width: 1023px) {
  .lp-hero { margin: 8px clamp(10px, 3vw, 22px) 0; border-radius: clamp(12px, 3vw, 22px); }
  .lp-hero__media { aspect-ratio: 1050 / 450; }
  .lp-hero__slide img { object-fit: contain; background: #edf2f7; }
}
@media (max-width: 600px) { .lp-rail { grid-auto-columns: minmax(230px, 78%); } .lp-prod__title, .lp-prod__sub { overflow-wrap: anywhere; } }
/* Slim certificate ticker: original managed logos, identical to the certificate section. */
.lp-cert-ticker{background:#fff;padding:12px 0 3px}.lp-cert-ticker__wrap{width:min(100% - 32px,1320px);margin:auto}.lp-cert-ticker__label{text-align:center;color:#74839a;font-size:10px;line-height:1.4;margin:0 0 5px}.lp-cert-ticker__viewport{overflow:hidden;border-block:1px solid #eef1f5;direction:ltr;mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}.lp-cert-ticker__flow{display:flex;width:max-content;min-width:200%;animation:lp-cert-roll 32s linear infinite}.lp-cert-ticker__group{display:flex;align-items:center;justify-content:space-around;flex:0 0 50%;min-width:660px;gap:24px;padding:6px 24px}.lp-cert-ticker__item{display:grid;place-items:center;flex:0 0 110px;height:49px}.lp-cert-ticker__item img{display:block;width:100%;height:100%;object-fit:contain}.lp-cert-ticker__item:focus-visible{outline:2px solid #2675cf;outline-offset:1px}.lp-cert-ticker__viewport:hover .lp-cert-ticker__flow,.lp-cert-ticker__viewport:focus-within .lp-cert-ticker__flow{animation-play-state:paused}@keyframes lp-cert-roll{to{transform:translateX(-50%)}}
@media(max-width:767px){.lp-cert-ticker{padding:9px 0 1px}.lp-cert-ticker__wrap{width:calc(100% - 24px)}.lp-cert-ticker__label{font-size:9px}.lp-cert-ticker__group{min-width:420px;gap:18px;padding:5px 16px}.lp-cert-ticker__item{flex-basis:64px;height:35px}.lp{--sec:clamp(36px,9vw,60px)}.lp-wrap{width:calc(100% - 24px)}.lp-co__top{gap:22px}.lp-head{gap:10px;margin-block-end:18px}.lp-cats__grid{gap:10px}.lp-cat{padding:8px}.lp-cat__body{min-height:54px;padding:9px 4px 34px}.lp-cat__title{font-size:12px;line-height:1.5}.lp-cat__go{width:28px;height:28px;bottom:8px}.lp-rail{grid-auto-columns:min(68vw,230px);gap:10px}.lp-prod__body{padding:12px}.lp-prod__title{font-size:13px;line-height:1.6}.lp-prod__sub{font-size:11px;line-height:1.7}}
@media(prefers-reduced-motion:reduce){.lp-cert-ticker__flow{animation:none}.lp-cert-ticker__viewport{overflow-x:auto}.lp-cert-ticker__group[aria-hidden="true"]{display:none}}
