/* =========================================================
   Beko-Elite — Global stylesheet (mobile-first, RTL default)
   Uses logical properties so the same CSS serves AR (RTL) and EN (LTR).
   ========================================================= */

:root {
  --blue-900: #041431;
  --blue-800: #071f4a;
  --blue-700: #0a2d6b;
  --blue-600: #0046a8;
  --blue-500: #0057d0;   /* primary — Beko-inspired blue */
  --blue-400: #2f7cff;
  --blue-300: #6fa6ff;
  --blue-100: #e6efff;
  --ink: #0b1220;
  --ink-2: #1c2638;
  --muted: #5b6678;
  --line: #e3e8f0;
  --metal-50: #f6f8fb;
  --metal-100: #eef2f7;
  --metal-200: #dfe5ee;
  --metal-300: #c3ccd9;
  --metal-500: #8592a6;
  --white: #fff;
  --wa: #1fae5b;
  --ok: #19a463;
  --warn: #e8a317;

  --grad-blue: linear-gradient(135deg, #0057d0 0%, #2f7cff 60%, #6fa6ff 100%);
  --grad-night: radial-gradient(1200px 600px at 80% -10%, #12408f 0%, transparent 60%),
                radial-gradient(900px 500px at 0% 110%, #0b2a66 0%, transparent 60%),
                linear-gradient(180deg, #041431 0%, #06183a 100%);
  --grad-metal: linear-gradient(180deg, #ffffff 0%, #eef2f7 55%, #dfe5ee 100%);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(9, 30, 66, .06);
  --shadow: 0 10px 30px rgba(9, 30, 66, .10), 0 2px 6px rgba(9, 30, 66, .05);
  --shadow-lg: 0 30px 60px -20px rgba(4, 20, 49, .35), 0 12px 24px -12px rgba(4, 20, 49, .2);
  --glass: rgba(255, 255, 255, .08);
  --glass-line: rgba(255, 255, 255, .18);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  --mobile-bar-h: 64px;

  --font-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-en: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font: var(--font-ar);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}
html[lang="en"] { --font: var(--font-en); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--white);
  font-size: 16px; line-height: 1.75; overflow-x: hidden; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body { line-height: 1.65; }
img, svg, video, canvas { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue-500); text-decoration: none; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { overflow-wrap: break-word; line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2rem, 6.2vw, 4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.3rem); }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.2em; margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--metal { background: var(--grad-metal); }
.section--night { background: var(--grad-night); color: #dbe6ff; }
.section--night h2, .section--night h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  color: var(--blue-500); background: var(--blue-100); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}
.section--night .eyebrow, .hero .eyebrow, .page-hero .eyebrow { background: rgba(111, 166, 255, .14); color: #a9c8ff; border: 1px solid rgba(111,166,255,.25); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(47,124,255,.18); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section--night .section-head p { color: #a9b8d6; }
.section-head--center { text-align: center; margin-inline: auto; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); }
.grad-text { background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue-500); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px;
  border-radius: 14px; border: 0; background: var(--bg); color: var(--fg); font-weight: 600; font-size: 1rem; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  box-shadow: 0 8px 20px -8px rgba(0, 87, 208, .55);
}
.btn::after { /* shine sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(0, 87, 208, .6); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--wa { --bg: var(--wa); box-shadow: 0 8px 20px -8px rgba(31, 174, 91, .55); }
.btn--ghost { --bg: rgba(255,255,255,.08); --fg: #fff; border: 1px solid rgba(255,255,255,.28); box-shadow: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); box-shadow: none; }
.btn--light { --bg: #fff; --fg: var(--blue-600); box-shadow: var(--shadow); }
.btn--outline { --bg: transparent; --fg: var(--blue-600); border: 1.5px solid var(--metal-300); box-shadow: none; }
.btn--outline:hover { border-color: var(--blue-500); box-shadow: none; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .93rem; border-radius: 12px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
html[dir="rtl"] .link-arrow svg, html[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
.link-arrow:hover svg { transform: translateX(4px); }
html[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(4px); }

/* ---------- Top utility bar ---------- */
.topbar { display: none; background: var(--blue-900); color: #b9c8e6; font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 38px; }
.topbar a { color: #dfe8ff; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; }
.topbar__group { display: flex; gap: 22px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, background .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(9, 30, 66, .25); border-color: var(--line); background: rgba(255,255,255,.94); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 40px; height: 40px; }
.brand__word { font-family: var(--font-en); font-weight: 800; font-size: 1.28rem; letter-spacing: -.02em; line-height: 1; direction: ltr; }
.brand__word b { color: var(--blue-500); font-weight: 800; }
.brand__tag { display: block; font-family: var(--font-ar); font-size: .68rem; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-top: 3px; }

.main-nav { display: none; margin-inline-start: auto; }
.main-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.main-nav a {
  display: block; white-space: nowrap; padding: 8px 11px; border-radius: 10px; color: var(--ink-2); font-weight: 500; font-size: .95rem; position: relative;
}
.main-nav a::after { content: ""; position: absolute; inset-inline: 11px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--blue-500); transform: scaleX(0); transition: transform .3s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--blue-600); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  display: inline-grid; place-items: center; transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: var(--metal-50); border-color: var(--metal-300); }
.icon-btn svg { width: 20px; height: 20px; }
.lang-link { font-weight: 700; font-size: .9rem; padding: 0 12px; height: 44px; display: none; align-items: center; border-radius: 12px; color: var(--ink-2); }
.lang-link:hover { background: var(--metal-50); }
.header-cta { display: none; }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease), opacity .2s; }

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.burger { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--blue-900); color: #fff;
  padding: 20px var(--gutter) calc(var(--mobile-bar-h) + 28px); overflow-y: auto; overscroll-behavior: contain;
  clip-path: circle(0% at 92% 0%); transition: clip-path .55s var(--ease); visibility: hidden;
}
html[dir="ltr"] .drawer { clip-path: circle(0% at 8% 0%); }
.drawer.is-open { clip-path: circle(150% at 92% 0%); visibility: visible; }
html[dir="ltr"] .drawer.is-open { clip-path: circle(150% at 8% 0%); }
.drawer ul { list-style: none; padding: 0; margin: 0 0 24px; }
.drawer li { opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .4s var(--ease); }
.drawer.is-open li { opacity: 1; transform: none; }
.drawer.is-open li:nth-child(1){transition-delay:.08s}.drawer.is-open li:nth-child(2){transition-delay:.11s}.drawer.is-open li:nth-child(3){transition-delay:.14s}.drawer.is-open li:nth-child(4){transition-delay:.17s}.drawer.is-open li:nth-child(5){transition-delay:.2s}.drawer.is-open li:nth-child(6){transition-delay:.23s}.drawer.is-open li:nth-child(7){transition-delay:.26s}.drawer.is-open li:nth-child(8){transition-delay:.29s}.drawer.is-open li:nth-child(9){transition-delay:.32s}.drawer.is-open li:nth-child(10){transition-delay:.35s}
.drawer a.drawer__link {
  display: flex; align-items: center; justify-content: space-between; color: #fff; font-size: 1.25rem; font-weight: 600;
  padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.drawer a.drawer__link svg { width: 18px; height: 18px; opacity: .5; }
.drawer a.drawer__link[aria-current="page"] { color: var(--blue-300); }
.drawer__devices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
.drawer__devices a { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 12px; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; }
.drawer__devices svg { width: 64px; height: 64px; }
.drawer__contact { display: grid; gap: 10px; }
.drawer__contact .btn { width: 100%; }
body.no-scroll { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-end; color: #fff; overflow: hidden;
  background: var(--blue-900); isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,20,49,.35) 0%, rgba(4,20,49,.15) 30%, rgba(4,20,49,.85) 78%, #041431 100%);
}
.hero__grid-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(111,166,255,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(111,166,255,.10) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(180deg, transparent 0%, #000 60%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%, transparent 100%);
}
.hero__inner { padding-block: 40px 36px; width: 100%; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 9vw, 5rem); line-height: 1.12; margin-bottom: 14px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; }
.hero__desc { font-size: clamp(1rem, 2.4vw, 1.25rem); color: #c9d6f2; max-width: 620px; margin-bottom: 22px; }
.hero__phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-en); font-weight: 800; font-size: clamp(1.3rem, 4vw, 1.7rem); color: #fff; direction: ltr; margin-bottom: 22px; letter-spacing: .02em; }
.hero__phone .pulse { width: 12px; height: 12px; border-radius: 50%; background: #39d98a; box-shadow: 0 0 0 0 rgba(57,217,138,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(57,217,138,.55); } 70% { box-shadow: 0 0 0 14px rgba(57,217,138,0); } 100% { box-shadow: 0 0 0 0 rgba(57,217,138,0); } }
.hero .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 560px; }
.hero .btn-row .btn { padding: 0 12px; }
.hero__floats { display: none; }
.hero__video-note { position: absolute; inset-inline-end: 12px; top: 12px; font-size: .7rem; color: rgba(255,255,255,.55); background: rgba(0,0,0,.25); padding: 3px 8px; border-radius: 6px; z-index: 2; }
.hero__video-toggle { position: absolute; inset-inline-end: 12px; bottom: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(4,20,49,.5); color: #fff; display: grid; place-items: center; }
.hero__video-toggle svg { width: 16px; height: 16px; }
.scroll-cue { display: none; }

/* Floating glass cards in hero */
.glass {
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  border: 1px solid var(--glass-line); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: var(--radius); box-shadow: 0 20px 40px -20px rgba(0,0,0,.5);
}
.float-card { padding: 14px 16px; display: flex; align-items: center; gap: 12px; color: #fff; min-width: 220px; }
.float-card svg { width: 46px; height: 46px; flex: none; }
.float-card strong { display: block; font-size: .98rem; }
.float-card span { font-size: .8rem; color: #b8c7e6; }
.float-card .chk { width: 22px; height: 22px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; flex: none; }
.float-card .chk svg { width: 14px; height: 14px; }
.floaty { animation: floaty 6s ease-in-out infinite; }
.floaty--2 { animation-delay: -2s; animation-duration: 7s; }
.floaty--3 { animation-delay: -4s; animation-duration: 8s; }
@keyframes floaty { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -14px, 0); } }

/* Quick search strip */
.quick-search { position: relative; z-index: 5; margin-top: -1px; background: #041431; padding-bottom: 28px; }
.quick-search__box { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 18px; padding: 8px; box-shadow: var(--shadow-lg); }
.quick-search__box svg { width: 22px; height: 22px; color: var(--muted); margin-inline-start: 10px; flex: none; }
.quick-search__box input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1rem; padding: 10px 4px; background: transparent; color: var(--ink); }
.quick-search__chips { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.quick-search__chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 500; background: rgba(255,255,255,.08); color: #dbe6ff; border: 1px solid rgba(255,255,255,.14); }
.chip:hover { background: rgba(255,255,255,.16); color: #fff; }
.chip--light { background: var(--metal-100); color: var(--ink-2); border-color: var(--line); }
.chip--light:hover { background: var(--blue-100); color: var(--blue-600); }

/* ---------- Device category cards ---------- */
.device-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.device-card {
  --tilt-x: 0deg; --tilt-y: 0deg;
  position: relative; border-radius: var(--radius-lg); overflow: hidden; color: var(--ink);
  background: var(--grad-metal); border: 1px solid #fff; box-shadow: var(--shadow);
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)); transform-style: preserve-3d;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); display: flex; flex-direction: column;
}
.device-card:hover { box-shadow: var(--shadow-lg); color: var(--ink); }
.device-card__stage {
  position: relative; height: 220px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(70% 80% at 50% 100%, rgba(47,124,255,.18), transparent 70%), linear-gradient(180deg, #f9fbff, #e9eef6);
}
.device-card__stage::before { /* floor reflection */
  content: ""; position: absolute; bottom: 18px; width: 60%; height: 22px; border-radius: 50%; background: radial-gradient(closest-side, rgba(4,20,49,.25), transparent); filter: blur(4px);
}
.device-card__stage svg { height: 186px; width: auto; position: relative; transform: translateZ(40px); transition: transform .6s var(--ease); }
.device-card:hover .device-card__stage svg { transform: translateZ(40px) translateY(-6px) scale(1.03); }
.device-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; transform: translateZ(20px); }
.device-card__body h3 { margin: 0; font-size: 1.35rem; }
.device-card__body p { color: var(--muted); margin: 0 0 8px; font-size: .96rem; }
.device-card__meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--blue-100); color: var(--blue-600); }
.device-card__glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.55), transparent 40%); opacity: 0; transition: opacity .3s; mix-blend-mode: soft-light; }
.device-card:hover .device-card__glare { opacity: 1; }

/* ---------- Showcase (pinned on desktop) ---------- */
.showcase { background: var(--grad-night); color: #dbe6ff; overflow: hidden; }
.showcase h2 { color: #fff; }
.showcase__wrap { display: grid; gap: 28px; }
.showcase__wrap > * { min-width: 0; }
.showcase__stage { display: none; }
.showcase__steps { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
.showcase__steps::-webkit-scrollbar { display: none; }
.showcase__step {
  scroll-snap-align: center; flex: 0 0 86%; padding: 22px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12);
}
.showcase__step .step-art { height: 210px; display: grid; place-items: center; margin-bottom: 10px; }
.showcase__step .step-art svg { height: 200px; width: auto; }
.showcase__step h3 { color: #fff; font-size: 1.35rem; }
.showcase__step .eyebrow, .showcase__step .btn { align-self: flex-start; }
.showcase__step p { color: #a9b8d6; }
.showcase__step ul { list-style: none; padding: 0; display: grid; gap: 8px; margin-bottom: 18px; }
.showcase__step li { display: flex; gap: 10px; align-items: center; color: #dbe6ff; font-size: .95rem; }
.showcase__step li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: rgba(47,124,255,.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236fa6ff' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.showcase__dots { display: flex; justify-content: center; gap: 8px; }
.showcase__dots span { width: 8px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.25); transition: width .3s, background .3s; }
.showcase__dots span.is-active { width: 26px; background: var(--blue-400); }

/* ---------- Feature / why cards ---------- */
.card-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.p-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfdcf3; }
.p-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-blue); color: #fff; margin-bottom: 14px; box-shadow: 0 10px 20px -10px rgba(0,87,208,.7); }
.p-card__icon svg { width: 26px; height: 26px; }
.p-card h3 { margin-bottom: 6px; }
.p-card p { color: var(--muted); margin: 0; font-size: .96rem; }
.section--night .p-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); box-shadow: none; }
.section--night .p-card p { color: #a9b8d6; }

/* Problem cards */
.problem-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.problem-card {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.problem-card:hover { transform: translateY(-3px); border-color: var(--blue-300); box-shadow: var(--shadow); color: var(--ink); }
.problem-card__num { width: 38px; height: 38px; border-radius: 11px; background: var(--metal-100); color: var(--blue-600); display: grid; place-items: center; font-weight: 700; font-family: var(--font-en); font-size: .9rem; flex: none; transition: background .3s, color .3s; }
.problem-card:hover .problem-card__num { background: var(--blue-500); color: #fff; }
.problem-card__t { font-weight: 600; flex: 1; line-height: 1.45; }
.problem-card svg { width: 18px; height: 18px; color: var(--metal-500); flex: none; }

/* ---------- Team / video split ---------- */
.split { display: grid; gap: 32px; align-items: center; }
.split > *, .layout-article > *, .page-hero__grid > *, .areas-wrap > *, .hero__inner > * { min-width: 0; }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--blue-900); aspect-ratio: 16 / 10; }
.media-frame video, .media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame__badge { position: absolute; inset-inline-start: 14px; bottom: 14px; }
.skill-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none; padding: 0; margin: 20px 0 0; }
.skill-list li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font-weight: 600; font-size: .9rem; line-height: 1.35; }
.skill-list svg { width: 22px; height: 22px; color: var(--blue-500); flex: none; }

/* ---------- Process timeline ---------- */
.process { display: grid; gap: 14px; counter-reset: step; position: relative; }
.process__item { position: relative; padding: 20px 20px 20px 20px; padding-inline-start: 72px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.process__item::before {
  counter-increment: step; content: counter(step); position: absolute; inset-inline-start: 18px; top: 20px; width: 38px; height: 38px; border-radius: 12px;
  background: var(--grad-blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--font-en);
}
.process__item h3 { margin-bottom: 4px; font-size: 1.1rem; }
.process__item p { margin: 0; color: var(--muted); font-size: .95rem; }
.progress-line { position: absolute; inset-inline-start: 37px; top: 0; bottom: 0; width: 2px; background: var(--line); z-index: -1; }
.progress-line i { display: block; width: 100%; height: 100%; background: var(--blue-500); transform-origin: top; transform: scaleY(var(--p, 0)); }

/* ---------- Areas ---------- */
.areas-wrap { display: grid; gap: 24px; align-items: center; }
.jo-map { position: relative; max-width: 460px; margin-inline: auto; width: 100%; }
.jo-map svg { width: 100%; height: auto; }
.jo-map .pin { cursor: pointer; }
.jo-map .pin circle.ping { transform-box: fill-box; transform-origin: center; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3); opacity: 0; } }
.area-list { display: grid; gap: 10px; }
.area-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #fff; transition: background .3s, transform .3s var(--ease); }
.area-item:hover, .area-item.is-hot { background: rgba(47,124,255,.18); color: #fff; transform: translateX(-4px); }
html[dir="ltr"] .area-item:hover, html[dir="ltr"] .area-item.is-hot { transform: translateX(4px); }
.area-item__dot { width: 40px; height: 40px; border-radius: 12px; background: rgba(47,124,255,.25); display: grid; place-items: center; flex: none; }
.area-item__dot svg { width: 20px; height: 20px; color: var(--blue-300); }
.area-item strong { display: block; font-size: 1.05rem; }
.area-item span { font-size: .85rem; color: #a9b8d6; }

/* Area cards (areas page) */
.area-card { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; color: var(--ink); }
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.area-card__img { aspect-ratio: 16/9; background: var(--grad-night); position: relative; overflow: hidden; }
.area-card__img svg { width: 100%; height: 100%; }
.area-card__body { padding: 18px 20px 20px; }
.area-card__body p { color: var(--muted); font-size: .95rem; }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq--center { margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: #c6d7f5; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--metal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230057d0' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--blue-100); }
.faq .faq__a { padding: 0 20px 18px; color: var(--muted); }
.faq .faq__a p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(28px, 5vw, 56px); color: #fff; background: var(--grad-blue); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 10% 0%, rgba(255,255,255,.25), transparent 60%), radial-gradient(500px 300px at 100% 100%, rgba(4,20,49,.5), transparent 60%); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e3edff; max-width: 640px; }
.cta-band__deco { position: absolute; inset-inline-end: -40px; bottom: -40px; width: 260px; height: 260px; opacity: .18; z-index: -1; animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-band .numbers { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 4px 0 20px; font-family: var(--font-en); font-weight: 700; direction: ltr; justify-content: flex-end; }
html[dir="ltr"] .cta-band .numbers { justify-content: flex-start; }
.cta-band .numbers span { display: inline-flex; align-items: center; gap: 8px; }
.cta-band .numbers small { font-family: var(--font); font-weight: 500; opacity: .8; }

/* ---------- Blog ---------- */
.post-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.post-card__img { aspect-ratio: 16/9; overflow: hidden; position: relative; background: var(--grad-night); }
.post-card__img svg { width: 100%; height: 100%; transition: transform .8s var(--ease); }
.post-card:hover .post-card__img svg { transform: scale(1.06); }
.post-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: var(--muted); }
.post-card__meta .badge { font-size: .74rem; }
.post-card h3 { margin: 0; font-size: 1.12rem; line-height: 1.45; }
.post-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.post-card .link-arrow { margin-top: auto; padding-top: 6px; }
.blog-toolbar { display: grid; gap: 12px; margin-bottom: 24px; }
.blog-toolbar input { width: 100%; height: 52px; border-radius: 14px; border: 1px solid var(--line); padding: 0 16px; font: inherit; background: #fff; }
.filter-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chips button { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: .9rem; color: var(--ink-2); }
.filter-chips button[aria-pressed="true"] { background: var(--blue-500); border-color: var(--blue-500); color: #fff; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; background: var(--grad-night); color: #dbe6ff; overflow: hidden; padding-block: 28px 44px; isolation: isolate; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 6vw, 3.4rem); }
.page-hero .lead { color: #b3c3e3; }
.page-hero__grid { display: grid; gap: 24px; align-items: center; }
.page-hero__art { display: grid; place-items: center; }
.page-hero__art svg { height: 240px; width: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .3; background-image: linear-gradient(rgba(111,166,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(111,166,255,.08) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); }
.breadcrumbs { font-size: .85rem; margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: #8fa3c9; }
.breadcrumbs li + li::before { content: "/"; opacity: .5; }
.breadcrumbs a { color: #c7d6f5; }
.page-hero .btn-row { margin-top: 8px; }

/* ---------- Article / prose ---------- */
.layout-article { display: grid; gap: 32px; }
.prose { font-size: 1.04rem; max-width: 780px; }
.prose h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin-top: 1.8em; display: flex; align-items: center; gap: 10px; }
.prose h2::before { content: ""; width: 6px; height: 1.1em; border-radius: 3px; background: var(--grad-blue); flex: none; }
.prose ul.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.prose ul.ticks li { display: flex; gap: 12px; align-items: flex-start; background: var(--metal-50); border: 1px solid var(--line); padding: 12px 14px; border-radius: 12px; }
.prose ul.ticks li::before { content: ""; width: 22px; height: 22px; flex: none; margin-top: 3px; border-radius: 7px; background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230057d0' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/13px no-repeat; }
.prose ol.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 10px; }
.prose ol.steps li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); }
.prose ol.steps li::before { content: counter(s); width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--blue-500); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .85rem; font-family: var(--font-en); margin-top: 2px; }
.parts-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.parts-chips span { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; display: inline-flex; gap: 8px; align-items: center; }
.parts-chips span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-400); }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff8e8; border: 1px solid #f3dca0; color: #6b4d00; font-size: .95rem; margin: 18px 0; }
.notice svg { width: 22px; height: 22px; flex: none; color: var(--warn); margin-top: 2px; }
.notice--info { background: var(--blue-100); border-color: #c6d7f5; color: var(--blue-700); }
.notice--info svg { color: var(--blue-500); }
.tech-box { background: var(--grad-night); color: #dbe6ff; border-radius: var(--radius); padding: 22px; margin: 22px 0; }
.tech-box h2 { color: #fff; margin-top: 0; }
.tech-box h2::before { background: #fff; }
.sidebar { display: grid; gap: 16px; align-content: start; }
.side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.side-card h3 { font-size: 1.05rem; }
.side-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.side-card ul a { display: block; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); font-size: .95rem; }
.side-card ul a:hover { background: var(--metal-50); color: var(--blue-600); }
.side-card--cta { background: var(--grad-blue); color: #fff; border: 0; }
.side-card--cta h3 { color: #fff; }
.side-card--cta p { color: #e3edff; font-size: .93rem; }
.side-card--cta .btn { width: 100%; margin-top: 8px; }

/* Error code table */
.code-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.code-table th { text-align: start; font-size: .82rem; color: var(--muted); font-weight: 600; padding: 0 14px; }
.code-table td { background: #fff; border-block: 1px solid var(--line); padding: 14px; vertical-align: top; font-size: .95rem; }
.code-table td:first-child { border-inline-start: 1px solid var(--line); border-start-start-radius: 12px; border-end-start-radius: 12px; }
.code-table td:last-child { border-inline-end: 1px solid var(--line); border-start-end-radius: 12px; border-end-end-radius: 12px; }
.code-pill { display: inline-block; font-family: "Courier New", monospace; font-weight: 700; font-size: 1.05rem; padding: 6px 10px; border-radius: 8px; background: var(--blue-900); color: #7dffb0; letter-spacing: .06em; text-shadow: 0 0 8px rgba(125,255,176,.5); direction: ltr; }
.code-table small { color: var(--muted); display: block; margin-top: 4px; }

/* ---------- 3D exploded section ---------- */
.explode { position: relative; background: #050f24; color: #dbe6ff; }
.explode__pin { position: relative; height: auto; }
.explode__canvas-wrap { position: relative; height: 72svh; min-height: 420px; border-radius: var(--radius-lg); overflow: hidden; background: radial-gradient(60% 60% at 50% 45%, #10306b 0%, #061634 60%, #040d20 100%); }
.explode__canvas-wrap canvas { width: 100% !important; height: 100% !important; }
.explode__labels { position: absolute; inset: 0; pointer-events: none; }
.explode__label { position: absolute; transform: translate(-50%, -50%); padding: 5px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap;
  background: rgba(4,20,49,.75); border: 1px solid rgba(111,166,255,.45); color: #e6efff; opacity: 0; transition: opacity .3s; backdrop-filter: blur(6px); }
.explode__label::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #39d98a; margin-inline-end: 6px; vertical-align: middle; box-shadow: 0 0 8px #39d98a; }
.explode__hint { position: absolute; bottom: 14px; inset-inline: 0; text-align: center; font-size: .85rem; color: #8fa3c9; pointer-events: none; }
.explode__fallback { display: none; padding: 20px; }
.explode.is-fallback .explode__canvas-wrap { display: none; }
.explode.is-fallback .explode__fallback { display: block; }
.explode__progress { height: 3px; background: rgba(255,255,255,.1); border-radius: 2px; margin-top: 14px; overflow: hidden; }
.explode__progress i { display: block; height: 100%; background: var(--grad-blue); transform-origin: left; transform: scaleX(var(--p, 0)); }
html[dir="rtl"] .explode__progress i { transform-origin: right; }
.parts-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 16px; }
.parts-legend span { padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); font-size: .88rem; transition: background .3s, border-color .3s, color .3s; }
.parts-legend span.is-on { background: rgba(47,124,255,.2); border-color: rgba(111,166,255,.5); color: #fff; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.form-row { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .93rem; }
.field label .req { color: #d33; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; border-radius: 12px; border: 1.5px solid var(--metal-200); padding: 10px 14px; font: inherit; font-size: 16px; background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(47,124,255,.15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d33; }
.field__err { color: #d33; font-size: .82rem; min-height: 0; }
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(20px, 4vw, 36px); border: 1px solid var(--line); }
.form-note { font-size: .85rem; color: var(--muted); }

/* Contact cards */
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.contact-card__ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-blue); color: #fff; flex: none; }
.contact-card__ic--wa { background: linear-gradient(135deg, #1fae5b, #43d17f); }
.contact-card__ic svg { width: 26px; height: 26px; }
.contact-card small { display: block; color: var(--muted); font-size: .82rem; }
.contact-card strong { font-family: var(--font-en); font-size: 1.25rem; direction: ltr; display: inline-block; }

/* ---------- Footer ---------- */
.site-footer { background: #030d22; color: #93a4c6; padding-top: clamp(48px, 7vw, 80px); font-size: .95rem; }
.site-footer a { color: #c5d3ee; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand__word { color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 380px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact svg { width: 16px; height: 16px; }
.footer-contact .num { font-family: var(--font-en); direction: ltr; font-weight: 700; }
.footer-bottom { margin-top: 44px; padding-block: 22px calc(22px + var(--mobile-bar-h)); border-top: 1px solid rgba(255,255,255,.07); display: grid; gap: 12px; font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-disclaimer { color: #6f80a3; }

/* ---------- Floating / sticky CTAs ---------- */
.mobile-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(9,30,66,.25); transform: translateY(0); transition: transform .35s var(--ease);
}
.mobile-bar.is-hidden { transform: translateY(110%); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 48px; border-radius: 13px; font-weight: 700; font-size: .92rem; color: #fff; }
.mobile-bar svg { width: 20px; height: 20px; }
.mobile-bar .mb-call { background: var(--blue-500); }
.mobile-bar .mb-wa { background: var(--wa); }
.mobile-bar .mb-req { background: var(--ink); }
.fab-stack { display: none; }

/* ---------- Search modal ---------- */
.search-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.search-modal.is-open { display: block; }
.search-modal__backdrop { position: absolute; inset: 0; background: rgba(4,20,49,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .25s; }
.search-modal__panel { position: relative; margin: 10px auto 0; width: calc(100% - 20px); max-width: 720px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; animation: drop .35s var(--ease); display: flex; flex-direction: column; max-height: calc(100svh - 20px); }
@keyframes fade { from { opacity: 0; } }
@keyframes drop { from { opacity: 0; transform: translateY(-16px) scale(.98); } }
.search-modal__head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.search-modal__head svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.search-modal__head input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; font: inherit; font-size: 16px; }
.search-results { overflow-y: auto; padding: 8px; }
.search-results a { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 12px; color: var(--ink); }
.search-results a:hover, .search-results a.is-active { background: var(--metal-50); }
.search-results a strong { font-size: 1rem; }
.search-results a span { font-size: .84rem; color: var(--muted); }
.search-results .sr-type { font-size: .72rem; font-weight: 700; color: var(--blue-500); text-transform: uppercase; letter-spacing: .05em; }
.search-results .empty { padding: 20px; color: var(--muted); text-align: center; }
.search-results mark { background: #fff1b8; color: inherit; border-radius: 3px; }

/* Stats strip (real numbers only) */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fact { padding: 18px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.fact b { display: block; font-size: 2.2rem; color: #fff; line-height: 1.1; font-family: var(--font-en); }
.fact span { color: #a9b8d6; font-size: .9rem; }

/* Utility */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.center { text-align: center; }
.num-ltr { direction: ltr; unicode-bidi: isolate; font-family: var(--font-en); font-weight: 700; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* SVG display text is always LTR (times, temperatures) */
svg text { direction: ltr; unicode-bidi: plaintext; }
