/* ==========================================================
   BKCElectronics — page sections around the All-in-One showcase
   (the showcase itself is styled in styles.css and left untouched)
   ========================================================== */
:root { --dark: #05070d; --dark-2: #0b1120; --cyan: #22d3ee; --hdr: 68px; }
html { scroll-padding-top: var(--hdr); }
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } } /* clip: no side scroll on phones, sticky header keeps working */

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- buttons (extra) ---------- */
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.5); }
.btn--line { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
.btn--line:hover { border-color: #fff; transform: translateY(-2px); }
.btn--glow { color: #fff; background: linear-gradient(135deg, #6d28d9, #2563eb); box-shadow: 0 10px 30px -10px rgba(109, 40, 217, .8); }
.btn--glow:hover { transform: translateY(-2px); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.hdr.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(15,23,42,.4); }
.hdr__in { max-width: 1360px; margin: 0 auto; height: var(--hdr); display: flex; align-items: center; gap: 28px; padding: 0 clamp(16px, 3vw, 32px); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 20px; letter-spacing: -.02em; }
.logo b { font-weight: 800; background: linear-gradient(90deg, #2563eb, #06b6d4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo--light { color: #fff; }
.mnav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.mnav__item { position: relative; }
.mnav__link { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; color: #334155; transition: background .2s, color .2s; }
.mnav__link:hover, .has-menu:hover > .mnav__link { color: var(--ink); background: #f1f4f9; }
.chev { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.has-menu:hover .chev { transform: rotate(-135deg) translateY(-1px); }
.mega { position: absolute; left: -12px; top: calc(100% + 8px); display: grid; grid-template-columns: 1fr 1fr 1fr 1.1fr; gap: 24px; width: 860px; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(15,23,42,.35); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-menu:hover .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__col p { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.mega__col a { display: block; padding: 7px 0; color: #334155; text-decoration: none; font-size: 14.5px; transition: color .2s, transform .25s var(--ease); }
.mega__col a:hover { color: var(--accent); transform: translateX(3px); }
.mega__promo { display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: 14px; text-decoration: none; color: var(--ink); background: radial-gradient(120% 120% at 100% 0%, rgba(6,182,212,.18), transparent 60%), #f4f7fc; }
.mega__promo small { color: var(--muted); }
.mega__promo em { font-style: normal; color: var(--accent); font-weight: 600; font-size: 14px; margin-top: 6px; }
.pill { justify-self: start; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; }
.hdr__act { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.hdr.open .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hdr.open .burger i:nth-child(2) { opacity: 0; }
.hdr.open .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- section heads ---------- */
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.sec-head h2 { margin: 16px 0 12px; font-size: clamp(28px, 4vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -.035em; }
.sec-head p { margin: 0; color: var(--muted); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6; }
.sec-head--left { text-align: left; margin: 0 0 36px; }
.sec-head--row { max-width: 1300px; display: flex; align-items: end; justify-content: space-between; gap: 20px; text-align: left; }
.sec-head--dark h2 { color: #fff; }
.eyebrow--dark { color: #a5f3fc; background: rgba(34,211,238,.12); }
.note { font-size: 13px !important; color: var(--soft) !important; margin-top: 6px !important; }
.link-more { color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) clamp(16px, 3vw, 32px) 40px; background:
  radial-gradient(900px 500px at 85% 10%, rgba(6,182,212,.12), transparent 60%),
  radial-gradient(900px 500px at 10% 0%, rgba(37,99,235,.10), transparent 60%), #fff; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; pointer-events: none; }
.hero__in { position: relative; max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.news-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: #334155; font-size: 14px; font-weight: 500; box-shadow: 0 6px 20px -14px rgba(15,23,42,.35); }
.news-pill span { padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; }
.news-pill i { font-style: normal; transition: transform .25s; }
.news-pill:hover i { transform: translateX(4px); }
.hero h1 { margin: 22px 0 18px; font-size: clamp(36px, 5.6vw, 68px); line-height: 1.04; font-weight: 800; letter-spacing: -.045em; }
.grad { background: linear-gradient(90deg, #2563eb, #06b6d4 60%, #22c55e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin: 0 0 28px; max-width: 580px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; color: #475569; font-size: 14px; font-weight: 500; }
.hero__trust .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.hero .reveal:nth-child(2) { transition-delay: .08s; } .hero .reveal:nth-child(3) { transition-delay: .16s; } .hero .reveal:nth-child(4) { transition-delay: .24s; } .hero .reveal:nth-child(5) { transition-delay: .32s; }

/* quote card */
.qcard { position: relative; z-index: 2; border-radius: 22px; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); border: 1px solid #fff; box-shadow: 0 40px 80px -40px rgba(15,23,42,.45), inset 0 0 0 1px rgba(15,23,42,.05); overflow: hidden; transition-delay: .2s; }
.qcard__tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px; gap: 4px; background: #f1f4f9; }
.qcard__tabs button { all: unset; cursor: pointer; text-align: center; padding: 10px 0; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background .25s, color .25s, box-shadow .25s; }
.qcard__tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 4px 14px -8px rgba(15,23,42,.4); }
.qcard__body { display: grid; gap: 16px; padding: 22px; }
.qf { display: grid; gap: 7px; flex: 1; min-width: 0; }
.qf > span { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.qf input, .qf select { width: 100%; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: 500 15px Inter, sans-serif; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.qf input:focus, .qf select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.qrow { display: flex; align-items: end; gap: 10px; }
.qx { padding-bottom: 11px; color: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { all: unset; cursor: pointer; min-width: 40px; text-align: center; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: #334155; transition: all .2s; }
.chips button:hover { border-color: var(--ink); }
.chips button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.qcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-top: 1px dashed var(--line); background: linear-gradient(180deg, #fff, #f8fafc); }
.qcard__foot > div { display: grid; }
.qcard__foot small { color: var(--muted); font-size: 12.5px; }
.qcard__foot b { font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: #f97316; font-variant-numeric: tabular-nums; }

/* feature strip */
.feats { position: relative; z-index: 2; max-width: 1300px; margin: clamp(40px, 6vw, 72px) auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.feat:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -26px rgba(15,23,42,.45); }
.feat:nth-child(2) { transition-delay: .06s; } .feat:nth-child(3) { transition-delay: .12s; } .feat:nth-child(4) { transition-delay: .18s; }
.feat__ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; font-style: normal; font-size: 20px; color: #fff; background: linear-gradient(135deg, #2563eb, #06b6d4); box-shadow: 0 10px 20px -10px rgba(37,99,235,.8); }
.feat b { display: block; font-size: 15.5px; }
.feat span { font-size: 13.5px; color: var(--muted); }
.feat em { font-style: normal; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- process ---------- */
.process { max-width: 1300px; margin: 0 auto; padding: clamp(64px, 8vw, 110px) clamp(16px, 3vw, 32px); }
.process__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.step button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; width: 100%; padding: 18px 20px; border-radius: 16px; border: 1px solid transparent; transition: background .3s, border-color .3s; }
.step button:hover { background: #fff; }
.step em { grid-row: span 2; font-style: normal; font-size: 22px; font-weight: 800; color: var(--soft); transition: color .3s; }
.step b { font-size: 19px; color: #475569; transition: color .3s; }
.step span { grid-column: 2; max-height: 0; overflow: hidden; color: var(--muted); font-size: 15px; line-height: 1.55; transition: max-height .5s var(--ease), margin .4s; }
.step .bar { grid-column: 1 / -1; height: 3px; margin-top: 10px; border-radius: 3px; background: #e5e9f0; overflow: hidden; opacity: 0; transition: opacity .3s; }
.step .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.step.on button { background: #fff; border-color: var(--line); box-shadow: 0 20px 40px -30px rgba(15,23,42,.4); }
.step.on em { color: var(--accent); }
.step.on b { color: var(--ink); }
.step.on span { max-height: 120px; margin-top: 4px; }
.step.on .bar { opacity: 1; }
.pview { position: relative; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #eaf2ff, #f5f7fb 70%); border: 1px solid var(--line); }
.pv { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.96); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; }
.pv.on { opacity: 1; transform: none; }
/* 01 upload */
.drop { width: 70%; padding: 28px; border-radius: 20px; border: 2px dashed #9db8f2; background: rgba(255,255,255,.75); text-align: center; color: var(--muted); }
.drop__files { display: flex; justify-content: center; gap: 10px; height: 64px; }
.drop__files span { align-self: end; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink); box-shadow: 0 10px 20px -14px rgba(15,23,42,.5); }
.pv--upload.on .drop__files span { animation: fileIn 2.6s var(--ease) infinite both; }
.pv--upload.on .drop__files span:nth-child(2) { animation-delay: .25s; } .pv--upload.on .drop__files span:nth-child(3) { animation-delay: .5s; }
@keyframes fileIn { 0% { transform: translateY(-60px); opacity: 0; } 30%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.drop__bar { height: 6px; border-radius: 6px; background: #e5e9f0; overflow: hidden; margin-top: 8px; }
.drop__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.pv--upload.on .drop__bar i { animation: fill 2.6s ease-in-out infinite; }
@keyframes fill { 0%, 20% { width: 0; } 80%, 100% { width: 100%; } }
/* 02 review */
.pv--review { grid-template-columns: 1.2fr .8fr; gap: 20px; padding: 0 8%; }
.rboard { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background:
  repeating-linear-gradient(90deg, transparent 0 18px, rgba(255,255,255,.06) 18px 20px),
  repeating-linear-gradient(0deg, transparent 0 22px, rgba(255,255,255,.05) 22px 24px), linear-gradient(135deg, #1f2a37, #0f172a); box-shadow: 0 30px 50px -30px rgba(15,23,42,.8); }
.rboard::before { content: ""; position: absolute; left: 30%; top: 30%; width: 30%; height: 34%; border-radius: 6px; background: linear-gradient(135deg, #3a3f47, #16181c); box-shadow: 0 0 0 4px rgba(214,176,87,.5); }
.rscan { position: absolute; left: 0; right: 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(34,211,238,.35), transparent); }
.pv--review.on .rscan { animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0% { top: -30%; } 100% { top: 100%; } }
.ok { position: absolute; left: var(--x); top: var(--y); width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #22c55e; color: #fff; font-size: 12px; font-weight: 800; transform: scale(0); }
.pv--review.on .ok { animation: pop 2.4s var(--ease) infinite; }
.pv--review.on .ok:nth-of-type(2) { animation-delay: .3s; } .pv--review.on .ok:nth-of-type(3) { animation-delay: .6s; } .pv--review.on .ok:nth-of-type(4) { animation-delay: .9s; }
@keyframes pop { 0%, 15% { transform: scale(0); } 30%, 90% { transform: scale(1); } 100% { transform: scale(0); } }
.rlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rlist li { padding: 10px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: #166534; }
/* 03 track */
.pv--track { padding: 0 8%; align-content: center; }
.track { list-style: none; display: flex; justify-content: space-between; width: 100%; margin: 0 0 14px; padding: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.track__line { position: relative; width: 100%; height: 8px; border-radius: 8px; background: #e2e8f0; }
.track__line i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #22c55e); }
.track__line i::after { content: "🚚"; position: absolute; right: -14px; top: -26px; font-size: 22px; }
.pv--track.on .track__line i { animation: fill 3.2s ease-in-out infinite; }
/* 04 deliver */
.box { position: relative; width: 46%; aspect-ratio: 1.3; }
.box__body { position: absolute; inset: 30% 0 0; border-radius: 10px; background: linear-gradient(135deg, #e7c38b, #c99a5c); box-shadow: 0 30px 40px -24px rgba(120,80,30,.7); }
.box__lid { position: absolute; left: -3%; right: -3%; top: 22%; height: 14%; border-radius: 8px; background: linear-gradient(135deg, #f0d29f, #d4a868); transform-origin: left bottom; z-index: 2; }
.pv--deliver.on .box__lid { animation: lid 3s var(--ease) infinite; }
@keyframes lid { 0%, 15% { transform: none; } 40%, 85% { transform: rotate(-110deg) translateY(-6px); } 100% { transform: none; } }
.box__boards { position: absolute; inset: 0; z-index: 1; }
.box__boards i { position: absolute; left: 20%; right: 20%; top: 34%; height: 16%; border-radius: 4px; background: linear-gradient(135deg, #2e3640, #13161a); box-shadow: inset 0 0 0 2px rgba(214,176,87,.5); opacity: 0; }
.pv--deliver.on .box__boards i { animation: rise 3s var(--ease) infinite; }
.pv--deliver.on .box__boards i:nth-child(2) { animation-delay: .15s; left: 26%; right: 14%; } .pv--deliver.on .box__boards i:nth-child(3) { animation-delay: .3s; left: 14%; right: 26%; }
@keyframes rise { 0%, 30% { transform: none; opacity: 0; } 50%, 80% { transform: translateY(-120%) rotate(-6deg); opacity: 1; } 100% { transform: none; opacity: 0; } }

/* ---------- automotive (scroll-driven 3D car) ---------- */
.drive { position: relative; height: 520vh; background: linear-gradient(180deg, #fff 0%, #f3f6fa 100%); }
.drive__pin { position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr)); display: flex; flex-direction: column; overflow: hidden; padding: 22px clamp(16px, 3vw, 32px) 18px; }
.drive__head { text-align: center; }
.drive__head h2 { margin: 10px 0 0; font-size: clamp(26px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.035em; }
.drive__tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.drive__tabs button { all: unset; cursor: pointer; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: #475569; transition: all .3s; }
.drive__tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.drive__body { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); align-items: center; gap: 20px; max-width: 1360px; width: 100%; margin: 0 auto; }
.drive__copy { position: relative; z-index: 2; display: grid; gap: 22px; align-content: center; }
.drive__copy > .btn { justify-self: start; }
.dc { grid-area: 1 / 1; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; }
.drive__copy { grid-template-areas: "a" "b"; }
.dc { grid-area: a; }
.drive__copy > .btn { grid-area: b; }
.dc.on { opacity: 1; transform: none; pointer-events: auto; }
.dc h3 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.03em; }
.dc p { margin: 0 0 16px; color: var(--muted); line-height: 1.6; font-size: 16px; }
.dc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dc li { display: flex; align-items: center; gap: 10px; color: #334155; font-weight: 500; }
.dc li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.drive__stage { position: relative; height: 100%; min-height: 320px; }
.drive__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.drive__fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--soft); font-size: 14px; transition: opacity .4s; }
.drive.ready .drive__fallback { opacity: 0; }
.drive__progress { max-width: 420px; width: 60%; margin: 6px auto 0; height: 3px; border-radius: 3px; background: #e2e8f0; overflow: hidden; }
.drive__progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* ---------- industries (particle morph, dark) ---------- */
.ind { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 50% -10%, #12204a 0%, var(--dark) 60%); color: #fff; padding: clamp(70px, 9vw, 120px) clamp(16px, 3vw, 32px); }
.ind__stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.ind__in { position: relative; max-width: 1300px; margin: 0 auto; }
.ind__card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 20px; min-height: 460px; padding: clamp(24px, 4vw, 48px); border-radius: 28px; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); }
.ind__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.ind__tabs button { all: unset; cursor: pointer; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #a7b0c2; border: 1px solid rgba(255,255,255,.14); transition: all .3s; }
.ind__tabs button.on { color: #05070d; background: #a5f3fc; border-color: #a5f3fc; }
.ind__copy h3 { margin: 0 0 12px; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.03em; transition: opacity .3s; }
.ind__copy h3 span { color: #67e8f9; }
.ind__copy p { margin: 0 0 26px; color: #b6bfd0; line-height: 1.6; max-width: 420px; transition: opacity .3s; }
.ind__copy.swap h3, .ind__copy.swap p { opacity: 0; }
.ind__canvas { width: 100%; height: 420px; display: block; }

/* ---------- stats + globe ---------- */
.stats { padding: clamp(70px, 9vw, 120px) clamp(16px, 3vw, 32px); }
.stats__in { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.nums { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 28px; }
.num { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.num:nth-child(2) { transition-delay: .06s; } .num:nth-child(3) { transition-delay: .12s; } .num:nth-child(4) { transition-delay: .18s; }
.num b { display: block; font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.num em { font-style: normal; font-variant-numeric: tabular-nums; }
.num span { color: var(--muted); font-size: 14px; }
.globe { width: 100%; aspect-ratio: 1; max-width: 560px; justify-self: center; display: block; }

/* ---------- testimonials + logos ---------- */
.voices { padding: clamp(60px, 8vw, 100px) 0; overflow: hidden; }
.voices .sec-head { padding: 0 16px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 60s linear infinite; padding: 8px 0 18px; }
.marquee__track--rev { animation-duration: 40s; animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.vcard { width: 340px; flex: none; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -32px rgba(15,23,42,.4); }
.vcard__stars { color: #f59e0b; letter-spacing: 2px; font-size: 14px; }
.vcard p { margin: 10px 0 16px; color: #334155; line-height: 1.55; font-size: 15px; }
.vcard__who { display: flex; align-items: center; gap: 10px; }
.vcard__av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; }
.vcard__who b { display: block; font-size: 14px; }
.vcard__who small { color: var(--muted); }
.logos__title { text-align: center; margin: 40px 0 10px; color: var(--muted); font-weight: 600; }
.logos__title small { color: var(--soft); font-weight: 500; }
.lg { flex: none; display: grid; place-items: center; height: 70px; padding: 0 30px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: #64748b; font-weight: 800; font-size: 18px; letter-spacing: -.02em; filter: grayscale(1); transition: filter .3s, color .3s; }
.lg:hover { filter: none; color: var(--ink); }

/* ---------- news ---------- */
.news { max-width: 1300px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) clamp(16px, 3vw, 32px) clamp(70px, 9vw, 110px); }
.news__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ncard { display: grid; gap: 8px; text-decoration: none; color: var(--ink); }
.ncard:nth-child(2) { transition-delay: .06s; } .ncard:nth-child(3) { transition-delay: .12s; } .ncard:nth-child(4) { transition-delay: .18s; }
.ncard__img { aspect-ratio: 16 / 10; border-radius: 16px; margin-bottom: 6px; transition: transform .5s var(--ease); background-size: cover; }
.ncard:hover .ncard__img { transform: translateY(-4px) scale(1.01); }
.ncard small { color: var(--muted); font-weight: 600; }
.ncard b { font-size: 17px; line-height: 1.35; }
.ncard__img.photo { background-color: #eef2f6 !important; background-size: cover !important; background-position: center !important; box-shadow: inset 0 0 0 1px var(--line); animation: photoIn .8s var(--ease) both; }
@keyframes photoIn { from { opacity: 0; filter: blur(8px); } }
.ni1 { background: radial-gradient(circle at 70% 30%, #22d3ee, transparent 50%), linear-gradient(135deg, #1e3a8a, #0f172a); }
.ni2 { background: radial-gradient(circle at 30% 70%, #a78bfa, transparent 50%), linear-gradient(135deg, #312e81, #0f172a); }
.ni3 { background: radial-gradient(circle at 60% 60%, #34d399, transparent 50%), linear-gradient(135deg, #065f46, #0f172a); }
.ni4 { background: radial-gradient(circle at 40% 30%, #fb923c, transparent 50%), linear-gradient(135deg, #7c2d12, #0f172a); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; margin: 0 clamp(16px, 3vw, 32px) clamp(60px, 8vw, 100px); border-radius: 32px; background: linear-gradient(135deg, #1d4ed8, #0891b2); color: #fff; }
.cta__fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta__in { position: relative; max-width: 760px; margin: 0 auto; padding: clamp(50px, 7vw, 90px) 20px; text-align: center; }
.cta h2 { margin: 0 0 14px; font-size: clamp(28px, 4vw, 48px); letter-spacing: -.035em; }
.cta p { margin: 0 0 28px; color: rgba(255,255,255,.85); font-size: 17px; }
.cta .hero__cta { justify-content: center; }

/* ---------- footer ---------- */
.ftr { background: var(--dark); color: #a7b0c2; }
.ftr__in { max-width: 1300px; margin: 0 auto; padding: 64px clamp(16px, 3vw, 32px) 40px; display: grid; grid-template-columns: 1.5fr 1.1fr 1fr 1fr 1fr 1.2fr; gap: 28px; }
.ftr__brand p { max-width: 340px; line-height: 1.6; }
.ftr__col { display: grid; align-content: start; gap: 10px; }
.ftr__col p { margin: 0 0 6px; color: #fff; font-weight: 700; }
.ftr__col a { color: #a7b0c2; text-decoration: none; transition: color .2s; }
.ftr__col a:hover { color: #fff; }
.news-form { position: relative; display: flex; gap: 8px; max-width: 380px; margin-top: 18px; }
.news-form input { flex: 1; min-width: 0; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #fff; font: 14px Inter, sans-serif; }
.news-form .ok-msg { position: absolute; left: 0; top: 100%; margin-top: 8px; font-size: 13px; color: #86efac; opacity: 0; }
.news-form.done .ok-msg { opacity: 1; }
.ftr__bar { max-width: 1300px; margin: 0 auto; padding: 22px clamp(16px, 3vw, 32px); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero__in { grid-template-columns: 1fr; }
  .qcard { max-width: 560px; }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .news__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .burger { display: inline-flex; }
  .hide-sm { display: none; }
  .mnav { position: fixed; left: 0; right: 0; top: var(--hdr); bottom: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 16px; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease); }
  .hdr.open .mnav { transform: none; }
  .mnav__link { padding: 16px 8px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .mega { position: static; width: auto; grid-template-columns: 1fr 1fr; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 8px 8px 16px; }
  .mega__promo { grid-column: 1 / -1; }
  .process__grid, .stats__in, .ind__card { grid-template-columns: 1fr; }
  .ind__canvas { height: 320px; }
  .drive__body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 6px; }
  .dc p, .dc ul { display: none; }
  .dc h3 { margin: 0; font-size: 24px; text-align: center; }
  .drive__copy { gap: 10px; }
  .drive__copy > .btn { display: none; }
  .ftr__in { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .feats, .news__grid, .nums { grid-template-columns: 1fr; }
  .qrow { flex-wrap: wrap; }
  .qx { display: none; }
  .sec-head--row { flex-direction: column; align-items: start; }
  .pv--review { grid-template-columns: 1fr; }
  .rlist { display: none; }
  .drive__tabs button { padding: 7px 12px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ---------- quote widget: Gerber agent + price breakdown ---------- */
.qcard[data-kind="print"] [data-only="board"], .qcard[data-kind="cnc"] [data-only="board"] { display: none !important; }
.qcard:not([data-kind="print"]):not([data-kind="cnc"]) [data-only="mech"] { display: none !important; }
.gdrop { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1.5px dashed #9db8f2; background: linear-gradient(135deg, rgba(37,99,235,.06), rgba(6,182,212,.06)); cursor: pointer; transition: border-color .2s, background .2s, transform .25s var(--ease); }
.gdrop:hover, .gdrop.over { border-color: var(--accent); background: rgba(37,99,235,.1); transform: translateY(-1px); }
.gdrop__ic { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff; font-weight: 800; background: linear-gradient(135deg, #2563eb, #06b6d4); box-shadow: 0 8px 18px -10px rgba(37,99,235,.9); }
.gdrop__txt { display: grid; gap: 2px; }
.gdrop__txt b { font-size: 14.5px; }
.gdrop__txt small { font-size: 12.5px; color: var(--muted); }
.gres { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #f8fafc; font-size: 13.5px; display: grid; gap: 10px; animation: in .5s var(--ease) both; }
.gres.is-busy { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.gres.is-ok { border-color: #bbf7d0; background: #f0fdf4; }
.gres.is-warn { border-color: #fde68a; background: #fffbeb; }
.gres.is-err { border-color: #fecaca; background: #fef2f2; color: #991b1b; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #cbd5e1; border-top-color: var(--accent); animation: spin .8s linear infinite; }
.gres__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.badge-drc { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #22c55e; color: #fff; white-space: nowrap; }
.is-warn .badge-drc { background: #f59e0b; }
.gres__facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gres__facts li { display: grid; font-weight: 600; color: var(--ink); }
.gres__facts small { font-weight: 500; color: var(--muted); font-size: 11.5px; }
.gres__note { margin: 0; color: #92400e; }
.gres__pdf { color: var(--accent); font-weight: 600; text-decoration: none; }
.gres__by { color: var(--soft); font-size: 11.5px; }
.qcard__foot small em { font-style: normal; color: var(--soft); }
.qbreak { padding: 0 22px 16px; background: #f8fafc; font-size: 13.5px; }
.qbreak summary { cursor: pointer; color: var(--accent); font-weight: 600; padding: 2px 0 6px; list-style: none; }
.qbreak summary::-webkit-details-marker { display: none; }
.qbreak summary span { color: var(--muted); font-weight: 500; }
.qbreak ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.qbreak li { display: flex; justify-content: space-between; gap: 12px; color: #475569; }
.qbreak li b { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.qbreak li.tot { padding-top: 6px; border-top: 1px dashed var(--line); font-weight: 700; color: var(--ink); }
@media (max-width: 560px) { .gres__facts { grid-template-columns: repeat(2, 1fr); } }

/* ---------- gold "magic" button (home + advanced quote) ---------- */
.btn-gold { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  font: 700 15px Inter, sans-serif; color: #3b2300; letter-spacing: -.01em;
  background: linear-gradient(110deg, #f8d77a 0%, #e9b641 30%, #fff1bd 50%, #e3a925 70%, #f5cf6a 100%); background-size: 220% 100%;
  box-shadow: 0 10px 28px -10px rgba(217, 158, 30, .9), inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 0 rgba(150,90,0,.25);
  animation: goldFlow 4s ease-in-out infinite; transition: transform .25s var(--ease), box-shadow .25s; }
.btn-gold:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 34px -12px rgba(217, 158, 30, 1), 0 0 0 6px rgba(245, 197, 66, .18), inset 0 1px 0 rgba(255,255,255,.7); }
.btn-gold--block { width: 100%; height: 54px; font-size: 16px; }
.btn-gold__shine { position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.85) 50%, transparent 65%); transform: translateX(-120%); animation: goldShine 2.8s ease-in-out infinite; }
.btn-gold__star { display: inline-block; animation: goldStar 2.4s ease-in-out infinite; }
@keyframes goldFlow { 50% { background-position: 100% 0; } }
@keyframes goldShine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@keyframes goldStar { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(18deg) scale(1.25); } }
.gold-spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, #fff7d1, #f5c542 60%, transparent 70%); animation: spark 1.2s ease-out forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }

/* advanced-quote CTA inside the home quote card */
.qadv { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 22px 18px; background: linear-gradient(180deg, #f8fafc, #fff8e6); border-top: 1px solid #f3e3b5; }
.qadv p { margin: 0; flex: 1; font-size: 13px; color: #7a5b16; line-height: 1.4; }
.qadv p b { color: #4a3300; }

/* "need more options?" prompt after a calculation */
.upsell { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: min(380px, calc(100vw - 32px)); padding: 20px; border-radius: 22px; background: #0f172a; color: #e2e8f0;
  box-shadow: 0 30px 60px -20px rgba(15,23,42,.6), 0 0 0 1px rgba(245, 197, 66, .35); transform: translateY(30px) scale(.96); opacity: 0; pointer-events: none; transition: transform .5s var(--ease), opacity .4s; }
.upsell.show { transform: none; opacity: 1; pointer-events: auto; }
.upsell::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: conic-gradient(from var(--a, 0deg), #f5c542, transparent 30%, #22d3ee 50%, transparent 70%, #f5c542); animation: upsellSpin 4s linear infinite; filter: blur(10px); opacity: .55; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes upsellSpin { to { --a: 360deg; } }
.upsell__x { position: absolute; right: 12px; top: 8px; border: 0; background: none; color: #94a3b8; font-size: 22px; cursor: pointer; }
.upsell h4 { margin: 0 0 6px; font-size: 18px; color: #fff; letter-spacing: -.02em; }
.upsell p { margin: 0 0 14px; font-size: 14px; color: #b6c0d0; line-height: 1.5; }
.upsell ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; }
.upsell li { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fde68a; background: rgba(245, 197, 66, .12); border: 1px solid rgba(245, 197, 66, .3); }
.upsell .btn-gold { width: 100%; }
.upsell__later { display: block; margin: 10px auto 0; border: 0; background: none; color: #94a3b8; font-size: 13px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .btn-gold, .btn-gold__shine, .btn-gold__star, .upsell::before { animation: none; } }
.gres[hidden] { display: none !important; }

/* ---------- header: cart icon + language switcher ---------- */
.cartbtn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--ink); background: #fff; border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease); }
.cartbtn:hover { border-color: var(--ink); transform: translateY(-1px); }
.cartbtn__n { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; font: 700 11.5px Inter, sans-serif; color: #3b2300; background: linear-gradient(135deg, #f8d77a, #e3a925); box-shadow: 0 4px 10px -4px rgba(217,158,30,.9); }
.cartbtn__n[hidden] { display: none; }
.cartbtn__n.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.45); } }
.langsw { position: relative; }
.langsw:empty { display: none; }
.langsw__btn { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); }
.langsw__menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 60; min-width: 170px; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -24px rgba(15,23,42,.4); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.langsw__menu:focus-within, .langsw.open .langsw__menu { opacity: 1; visibility: visible; transform: none; }
.langsw__menu a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; text-decoration: none; color: #334155; font-size: 14px; font-weight: 500; }
.langsw__menu a:hover { background: #f1f5f9; }
.langsw__menu a[aria-current="true"] { color: var(--accent); font-weight: 700; }
.langsw__menu small { color: var(--soft); }

/* ---------- toast ---------- */
.bk-toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); padding: 14px 18px; border-radius: 18px; background: #0f172a; color: #e2e8f0; box-shadow: 0 24px 50px -20px rgba(15,23,42,.7); transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: transform .45s var(--ease), opacity .35s; }
.bk-toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.bk-toast__ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #22c55e; color: #fff; font-weight: 800; }
.bk-toast div { display: grid; }
.bk-toast small { color: #94a3b8; }
.bk-toast a, .bk-toast button { all: unset; cursor: pointer; color: #fde68a; font-weight: 700; white-space: nowrap; }
.qp .sum__alt { width: 100%; margin-top: 10px; }

/* ---------- Arabic (right-to-left) ---------- */
html[dir="rtl"] body { font-family: "Cairo", "Noto Kufi Arabic", "Inter", system-ui, sans-serif; }
html[dir="rtl"] .grad, html[dir="rtl"] .logo b { letter-spacing: 0; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; }
html[dir="rtl"] .plist__item:hover { transform: translateX(-4px); }
html[dir="rtl"] .mega__col a:hover { transform: translateX(-3px); }
html[dir="rtl"] .news-pill i, html[dir="rtl"] .btn svg { transform: scaleX(-1); }
html[dir="rtl"] .cartbtn__n { right: auto; left: -6px; }
html[dir="rtl"] .upsell { right: auto; left: 22px; }
html[dir="rtl"] .qp-side, html[dir="rtl"] .sum { text-align: start; }
html[dir="rtl"] .dims input, html[dir="rtl"] input[type="number"], html[dir="rtl"] input[type="email"] { direction: ltr; text-align: right; }
html[dir="rtl"] .opt.on::after { right: auto; left: -1px; border-radius: 0 4px 0 8px; }
html[dir="rtl"] .switch i::after { left: auto; right: 3px; }
html[dir="rtl"] .switch input:checked + i::after { transform: translateX(-18px); }
html[dir="rtl"] .hint { margin: 4px 182px 6px 0; }
@media (max-width: 960px) { html[dir="rtl"] .hint { margin-right: 0; } }

/* ==========================================================
   Logo — bigger, with a light sweep passing left → right
   ========================================================== */
:root { --hdr: 76px; }
.hdr .logo { font-size: 25px; gap: 12px; position: relative; isolation: isolate; padding: 4px 6px 4px 2px; border-radius: 14px; overflow: hidden; }
.logo__mk { display: block; height: 46px; width: auto; transition: transform .5s var(--ease); }
.hdr .logo .logo__txt b { font-size: 23px; }
.hdr .logo:hover .logo__mk { transform: scale(1.04); }
.hdr .logo b { background: linear-gradient(90deg, #2563eb 0%, #06b6d4 38%, #e0faff 50%, #06b6d4 62%, #2563eb 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: bkShineText 5s ease-in-out infinite; }
.hdr .logo::after { content: ""; position: absolute; top: -30%; bottom: -30%; left: 0; width: 38%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,.85) 50%, rgba(255,255,255,0) 80%, transparent 100%);
  mix-blend-mode: soft-light; transform: translateX(-120%) skewX(-18deg); animation: bkShine 5s ease-in-out infinite; }
@keyframes bkShine { 0%, 55% { transform: translateX(-120%) skewX(-18deg); } 85%, 100% { transform: translateX(330%) skewX(-18deg); } }
@keyframes bkShineText { 0%, 55% { background-position: 100% 0; } 85%, 100% { background-position: 0% 0; } }
html[dir="rtl"] .hdr .logo { direction: ltr; }
@media (prefers-reduced-motion: reduce) { .hdr .logo::after, .hdr .logo b { animation: none; } }
@media (max-width: 560px) { :root { --hdr: 66px; } .hdr .logo { font-size: 21px; gap: 9px; } .hdr .logo .logo__mk { height: 36px; } .hdr .logo .logo__txt b { font-size: 19px; } }
.ftr .logo { font-size: 24px; }

/* client-space button (next to the cart) */
.accbtn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--ink); background: #fff; border: 1px solid var(--line); transition: border-color .2s, color .2s, transform .25s var(--ease); }
.accbtn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

/* ==========================================================
   Our products & services (catalogue)
   ========================================================== */
.svc { padding: clamp(60px, 8vw, 110px) clamp(16px, 3vw, 32px); max-width: 1360px; margin: 0 auto; }
.svc__filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -18px 0 30px; }
.svc__filters button { all: unset; cursor: pointer; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; color: #475569; transition: background .2s, color .2s, border-color .2s; }
.svc__filters button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.svc__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.svc__card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; animation: svcIn .6s var(--ease) both; animation-delay: var(--d, 0ms); }
.svc__card[hidden] { display: none; }
.svc__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c); opacity: .85; }
.svc__card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%; background: var(--c); opacity: .07; transition: transform .5s var(--ease); pointer-events: none; }
.svc__card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(15,23,42,.45); border-color: color-mix(in srgb, var(--c) 40%, var(--line)); }
.svc__card:hover::after { transform: scale(1.4); }
.svc__card.is-new { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 6%, #fff), #fff 40%); }
@keyframes svcIn { from { opacity: 0; transform: translateY(14px); } }
.svc__top { display: flex; align-items: center; gap: 8px; }
.svc__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.svc__new { padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #3b2a00; background: linear-gradient(135deg, #f7d774, #e0b23a); }
.svc__tag { margin-inline-start: auto; font-size: 12.5px; font-weight: 600; color: var(--c); }
.svc__card h3 { margin: 4px 0 0; font-size: 19px; letter-spacing: -.01em; }
.svc__card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.svc__card ul { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: #334155; }
.svc__card li { display: flex; gap: 8px; }
.svc__card li::before { content: "✓"; color: var(--c); font-weight: 800; }
.svc__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--muted); }
.svc__price b { color: var(--ink); font-size: 16px; }
.svc__cta { display: flex; gap: 12px; align-items: center; }
.svc__wa { font-weight: 600; font-size: 14px; color: #15803d; text-decoration: none; }
.svc__wa:hover { text-decoration: underline; }

/* CTA contacts */
.btn--wa { background: #22c55e; color: #fff; border-color: #22c55e; gap: 8px; }
.btn--wa:hover { background: #16a34a; transform: translateY(-2px); }
.cta__contacts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 22px 0 0; padding: 0; }
.cta__contacts a { color: #e2e8f0; text-decoration: none; font-weight: 600; }
.cta__contacts a:hover { color: #fff; text-decoration: underline; }

/* WhatsApp floating button (all pages) */
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 110; display: grid; justify-items: end; gap: 10px; }
html[dir="rtl"] .wa-fab { right: auto; left: 20px; justify-items: start; }
.wa-fab__btn { all: unset; cursor: pointer; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 16px 34px -12px rgba(18,140,126,.8); transition: transform .3s var(--ease); position: relative; }
.wa-fab__btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waPulse 2.4s ease-out infinite; }
.wa-fab__btn:hover { transform: scale(1.07); }
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-fab__panel { width: 250px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -24px rgba(15,23,42,.45); display: grid; gap: 6px; animation: svcIn .3s var(--ease); }
.wa-fab__panel[hidden] { display: none; }
.wa-fab__panel small { color: var(--muted); margin-bottom: 4px; }
.wa-fab__panel a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #f0fdf4; color: #14532d; font-weight: 700; text-decoration: none; }
.wa-fab__panel a:hover { background: #dcfce7; }
.wa-fab__dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
@media print { .wa-fab { display: none; } }
@media (max-width: 1100px) { .mega { width: min(860px, calc(100vw - 40px)); } }

/* nav labels never wrap; tighter spacing on mid-size screens */
.mnav__link { white-space: nowrap; }
@media (max-width: 1360px) { .hdr__in { gap: 18px; } .mnav__link { padding: 10px 10px; font-size: 14.5px; } }
@media (max-width: 1240px) { .hdr__act .hide-sm { display: none; } }
.hdr .logo, .hdr .logo .logo__mk, .hdr__act { flex: none; }

/* BK monogram — footer (white on dark) */
.logo--light .logo__mk { height: 40px; filter: brightness(0) invert(1); }
.logo .logo__txt { display: inline-flex; align-items: center; }
.hdr .logo { gap: 8px; }

/* "by BKCorp" under the wordmark */
.logo .logo__txt { flex-direction: column; align-items: flex-start; line-height: 1; gap: 3px; }
.logo .logo__txt small { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #64748b; }
.logo--light .logo__txt small { color: #94a3b8; }

/* the header must fit between 1101 and 1500 px (French / Arabic labels are longer): section links reachable by scrolling are hidden */
@media (min-width: 1101px) and (max-width: 1500px) { .mnav__link[href="#drive"], .mnav__link[href="#industries"] { display: none; } }

/* hero starts closer to the menu: text aligned with the top of the quote card */
.hero { padding-top: clamp(20px, 2.6vw, 36px); }
.hero__in { align-items: start; }
.hero .news-pill { margin-top: 6px; }
.hero h1 { margin-top: 18px; }
/* menu links open the exact block */
#solutions, #showcase, .svc__card { scroll-margin-top: calc(var(--hdr) + 16px); }
.svc__card.is-flash { animation: svc-flash 2.2s ease-out; }
@keyframes svc-flash { 0%, 35% { box-shadow: 0 0 0 3px var(--c, #2563eb), 0 24px 48px -24px rgba(15,23,42,.45); transform: translateY(-4px); } 100% { box-shadow: 0 0 0 0 transparent; transform: none; } }
@media (prefers-reduced-motion: reduce) { .svc__card.is-flash { animation: none; box-shadow: 0 0 0 3px var(--c, #2563eb); } }

/* ---------- « PCB Tunisia » section: services, delivery area, FAQ (SEO) ---------- */
.seo { padding: clamp(70px, 9vw, 120px) clamp(16px, 3vw, 32px); max-width: 1300px; margin: 0 auto; }
.seo__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.seo__card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.seo__card:hover { transform: translateY(-3px); border-color: #bfdbfe; box-shadow: 0 18px 40px -24px rgba(37, 99, 235, .45); }
.seo__card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.01em; }
.seo__card p, .seo__zone p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 15px; }
.seo__zone { margin: 26px 0 0; padding: 20px 22px; border-radius: 18px; background: linear-gradient(135deg, #eff6ff, #ecfeff); border: 1px solid #dbeafe; }
.seo__zone h3 { margin: 0 0 6px; font-size: 18px; }
.seo__faq { max-width: 860px; margin: 48px auto 0; display: grid; gap: 10px; }
.seo__faq > h3 { text-align: center; font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 12px; letter-spacing: -.02em; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--accent); font-weight: 600; }
.faq[open] summary::after { content: "−"; }
.faq__a { padding: 0 0 16px; color: var(--muted); line-height: 1.65; }
@media (max-width: 900px) { .seo__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .seo__grid { grid-template-columns: 1fr; } }

/* ---------- service pages (/fr/fabrication-pcb …) ---------- */
.svc-page { background: var(--bg); }
.svc { max-width: 1100px; margin: 0 auto; padding: 110px clamp(16px, 3vw, 32px) 60px; }
.svc__crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.svc__crumbs a { color: var(--accent); text-decoration: none; }
.svc__hero { background: linear-gradient(135deg, #0b1220, #1e3a8a 60%, #0e7490); color: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 56px); margin-bottom: 26px; }
.svc__hero .eyebrow { background: rgba(255,255,255,.12); color: #bae6fd; }
.svc__hero h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -.035em; margin: 16px 0 14px; }
.svc__lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; color: #dbeafe; max-width: 820px; margin: 0; }
.svc__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.svc__hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); background: transparent; }
.svc__sec { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; margin-bottom: 16px; }
.svc__sec h2, .svc__more h2, .svc__faq h2 { margin: 0 0 6px; font-size: clamp(20px, 2.3vw, 26px); letter-spacing: -.02em; }
.svc__sec > p { margin: 0 0 14px; color: var(--muted); line-height: 1.6; }
.svc__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 14px; }
.svc__list li { position: relative; padding: 8px 10px 8px 30px; border-radius: 10px; background: #f8fafc; font-size: 14.5px; line-height: 1.4; }
.svc__list li::before { content: "✓"; position: absolute; inset-inline-start: 10px; top: 8px; color: var(--accent); font-weight: 800; }
[dir="rtl"] .svc__list li { padding: 8px 30px 8px 10px; }
.svc__faq { margin: 34px auto; }
.svc__faq h2 { text-align: center; margin-bottom: 14px; }
.svc__more { margin: 30px 0; }
.svc__links { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-top: 12px; }
.svc__links a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; transition: border-color .2s, transform .2s; }
.svc__links a:hover { border-color: #93c5fd; transform: translateY(-2px); }
.svc__links span { font-size: 20px; }
.svc__band { text-align: center; background: linear-gradient(135deg, #eff6ff, #ecfeff); border: 1px solid #dbeafe; border-radius: 22px; padding: 34px 20px; }
.svc__band h2 { margin: 0 0 8px; font-size: clamp(22px, 2.6vw, 30px); }
.svc__band p { margin: 0; color: var(--muted); }
.svc__band .svc__cta { justify-content: center; }
.svc__band small { display: block; margin-top: 16px; color: var(--soft); }

/* ---------- phones: the header always fits the screen ---------- */
@media (max-width: 960px) {
  /* closed off-canvas menu: hidden for real (no page widening, no keyboard focus) */
  .mnav { visibility: hidden; transition: transform .4s var(--ease), visibility 0s linear .4s; }
  .hdr.open .mnav { visibility: visible; transition: transform .4s var(--ease); }
  /* the header blur would trap the fixed menu inside the 68 px header: removed while the menu is open */
  .hdr.open { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
}
.mnav__mob { display: none; }
@media (max-width: 960px) { .mnav .mnav__mob { display: block; } }
@media (max-width: 600px) {
  .hdr__in { gap: 10px; }
  .hdr .logo { font-size: 20px; gap: 6px; padding: 2px; }
  .hdr .logo .logo__mk { height: 36px; }
  .hdr .logo .logo__txt small { display: none; }
  .hdr__act { gap: 6px; margin-left: auto; }
  .hdr__act .accbtn, .hdr__act .cartbtn, .hdr__act .burger { width: 38px; height: 38px; }
  .hdr__act .langsw__btn { height: 38px; padding: 0 9px; }
  .hdr__act .btn--primary.btn--sm { display: none; } /* the hero has the same « Instant quote » button */
}
@media (max-width: 420px) {
  .hdr .logo .logo__txt { display: none; }
  .hdr__act .accbtn[href="rendez-vous.html"] { display: none; } /* reachable from the menu */
}
