/* =====================================================================
   الناصر للصرافة — تصميم الموقع العام (v2)
   خصائص منطقية لدعم العربية والإنجليزية، وحركات تحترم prefers-reduced-motion.
   ===================================================================== */

@font-face { font-family: "Plex Arabic"; src: url("/fonts/IBMPlexSansArabic-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("/fonts/IBMPlexSansArabic-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("/fonts/IBMPlexSansArabic-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("/fonts/IBMPlexSansArabic-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
    --navy-950: #030e24;
    --navy-900: #071e43;
    --navy-800: #0b2b5e;
    --navy-700: #12407f;
    --navy-500: #2563c9;
    --navy-100: #e6eefb;
    --navy-50: #f3f7fd;
    --orange-600: #e07400;
    --orange-500: #ff8c00;
    --orange-400: #ffa53d;
    --orange-100: #fff1df;
    --ink: #0d1b33;
    --ink-2: #44526a;
    --ink-3: #7a879b;
    --line: #e5eaf2;
    --bg: #ffffff;
    --bg-soft: #f6f8fc;
    --success: #12805c;
    --danger: #c42b38;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(7, 30, 67, .06);
    --shadow: 0 10px 30px -12px rgba(7, 30, 67, .18);
    --shadow-lg: 0 30px 60px -20px rgba(7, 30, 67, .35);
    --container: 1240px;
    --header-h: 76px;
    --font: "Plex Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.75; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; font-weight: 700; color: var(--ink); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 200; transition: top .2s; }
.skip:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
/* أيقونات ثنائية اللون (duo.svg): الخط --duo-a، التعبئة الناعمة --duo-b، اللمسة --duo-c */
:root { --duo-a: #0a4ea8; --duo-b: rgba(10, 78, 168, .13); --duo-c: #ff8c00; --duo-bg: #fff; }
.duo { width: 26px; height: 26px; flex: none; display: inline-block; vertical-align: middle; overflow: visible; }
.duo-lg { width: 34px; height: 34px; }
.duo-xl { width: 44px; height: 44px; }
.icon-lg { width: 28px; height: 28px; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.muted { color: var(--ink-3); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding-inline: 24px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 140, 0, .7); }
.btn-primary:hover { box-shadow: 0 16px 30px -12px rgba(255, 140, 0, .8); }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-800); }
.btn-outline { border-color: currentColor; color: var(--navy-900); background: transparent; }
.btn-light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.btn-light:hover { background: rgba(255, 255, 255, .24); }
.btn-sm { height: 40px; padding-inline: 18px; font-size: 14px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--orange-600); }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(-4px); }
[dir="ltr"] .link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Announcement + header ---------- */
.announce { background: var(--navy-950); color: #cfdaf0; font-size: 13.5px; text-align: center; padding: 8px 20px; }
.announce a { color: var(--orange-400); font-weight: 600; }
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, background .3s; }
.header.scrolled { box-shadow: 0 10px 30px -18px rgba(7, 30, 67, .35); border-bottom-color: var(--line); background: rgba(255, 255, 255, .95); }
.header .container { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: auto; height: 40px; object-fit: contain; }
.brand strong { display: block; font-size: 16px; line-height: 1.2; color: var(--navy-900); }
.brand small { display: block; font-size: 11.5px; color: var(--ink-3); letter-spacing: .03em; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav > a, .nav-drop > button { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding-inline: 14px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 14.5px; color: var(--ink-2); background: none; border: 0; cursor: pointer; transition: background .2s, color .2s; }
.nav > a:hover, .nav-drop > button:hover, .nav > a.active, .nav-drop.active > button { color: var(--navy-900); background: var(--navy-50); }
.nav-drop { position: relative; }
.nav-drop .menu { position: absolute; top: calc(100% + 10px); inset-inline-start: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); }
.nav-drop:hover .menu, .nav-drop:focus-within .menu, .nav-drop.open .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink); font-weight: 500; }
.menu a:hover { background: var(--navy-50); }
.menu a .mi { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-600); flex: none; }
.menu a small { display: block; color: var(--ink-3); font-size: 12px; font-weight: 400; }
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding-inline: 14px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--navy-900); }
.lang-switch:hover { border-color: var(--navy-900); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
html, body { overflow-x: clip; }
@media (max-width: 480px) {
    .header .container { gap: 10px; padding-inline: 14px; }
    .brand { gap: 8px; min-width: 0; flex: 1; }
    .brand img { width: auto; height: 32px; }
    .brand strong { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .brand small { display: none; }
    .lang-switch { height: 40px; padding-inline: 11px; font-size: 13px; }
    .burger { width: 40px; height: 40px; }
}
@media (max-width: 1100px) {
    .nav { display: none; }
    .burger { display: inline-flex; }
    .header-actions .btn { display: none; }
}

/* ---------- Burger ---------- */
.burger-lines { position: relative; width: 20px; height: 14px; display: block; }
.burger-lines i { position: absolute; inset-inline: 0; height: 2px; border-radius: 2px; background: var(--navy-900); transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.burger-lines i:nth-child(1) { top: 0; } .burger-lines i:nth-child(2) { top: 6px; } .burger-lines i:nth-child(3) { top: 12px; }
body.drawer-open .burger-lines i:nth-child(1) { top: 6px; transform: rotate(45deg); }
body.drawer-open .burger-lines i:nth-child(2) { opacity: 0; }
body.drawer-open .burger-lines i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ---------- Mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; pointer-events: none; overflow: hidden; }
.drawer.open { visibility: visible; pointer-events: auto; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(3, 14, 36, .55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(400px, 88vw); background: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .38s var(--ease); }
[dir="rtl"] .drawer-panel { transform: translateX(-100%); }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer-head .brand img { width: auto; height: 34px; }
.drawer-head .brand strong { font-size: 15px; }
.drawer-close { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--navy-900); }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px; }
.drawer-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.drawer-quick a { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; border-radius: 16px; background: linear-gradient(160deg, var(--navy-50), #fff); border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--navy-900); transition: border-color .2s, transform .2s; }
.drawer-quick a:active { transform: scale(.98); }
.drawer-quick a:hover { border-color: var(--navy-500); }
.drawer-quick .duo { width: 30px; height: 30px; }
.drawer-nav { display: flex; flex-direction: column; gap: 2px; }
.dn-link { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 0 12px; border-radius: 14px; border: 0; background: none; font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer; text-align: start; }
.dn-link .duo { width: 24px; height: 24px; }
.dn-link:hover, .dn-link.active { background: var(--navy-50); color: var(--navy-900); }
.dn-chev { margin-inline-start: auto; color: var(--ink-3); transition: transform .25s var(--ease); }
.dn-group.open .dn-chev { transform: rotate(180deg); }
.dn-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.dn-sub > * { overflow: hidden; }
.dn-group.open .dn-sub { grid-template-rows: 1fr; }
.dn-sub-inner { display: flex; flex-direction: column; padding: 2px 0 8px; padding-inline-start: 48px; }
.dn-sub a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-size: 15px; }
.dn-sub a:hover { background: var(--bg-soft); color: var(--navy-900); }
.drawer-foot { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-contact { display: flex; gap: 10px; }
.dc-call { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--navy-900); color: #fff; }
.dc-call small { display: block; font-size: 11.5px; opacity: .75; line-height: 1.2; }
.dc-call b { display: block; font-size: 17px; letter-spacing: .05em; line-height: 1.3; }
.dc-wa { width: 56px; border-radius: 14px; background: #25d366; color: #fff; display: grid; place-items: center; }
.dc-wa .icon { width: 26px; height: 26px; }
.drawer-lang { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 14px; border: 1px solid var(--line); font-weight: 600; color: var(--navy-900); }
body.drawer-open { overflow: hidden; }
body.drawer-open .fab { display: none; }

/* ---------- Hero slider ---------- */
.hero { position: relative; background: var(--navy-950); color: #fff; overflow: hidden; }
.hero .swiper { height: clamp(600px, calc(100svh - var(--header-h) - 20px), 780px); }
.hero .swiper-slide { position: relative; overflow: hidden; }
.hero .slide-media { position: absolute; inset: 0; }
.hero .slide-media picture { display: block; height: 100%; }
.hero .slide-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero .swiper-slide-active .slide-media img { transform: scale(1); }
.hero .slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 14, 36, .82) 0%, rgba(3, 14, 36, .45) 45%, rgba(3, 14, 36, 0) 75%); }
[dir="rtl"] .hero .slide-shade { background: linear-gradient(270deg, rgba(3, 14, 36, .82) 0%, rgba(3, 14, 36, .45) 45%, rgba(3, 14, 36, 0) 75%); }
.hero .slide-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: 620px; padding-block: 60px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: rgba(255, 140, 0, .16); color: var(--orange-400); font-weight: 600; font-size: 13.5px; border: 1px solid rgba(255, 140, 0, .35); margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: clamp(30px, 5vw, 56px); margin-bottom: 16px; text-wrap: balance; }
.hero p.lead { color: #d3def4; font-size: clamp(16px, 1.6vw, 19px); max-width: 520px; }
.hero .slide-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.hero .swiper-slide-active .anim { animation: rise .9s var(--ease) both; }
.hero .swiper-slide-active .anim:nth-child(2) { animation-delay: .1s; }
.hero .swiper-slide-active .anim:nth-child(3) { animation-delay: .2s; }
.hero .swiper-slide-active .anim:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-controls { position: absolute; z-index: 5; inset-inline: 0; bottom: 28px; }
.hero-controls .container { display: flex; align-items: center; gap: 14px; }
.hero-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s; }
.hero-arrow:hover { background: rgba(255, 255, 255, .25); }
.hero.is-light .hero-arrow { color: var(--navy-900); border-color: rgba(7, 30, 67, .2); background: rgba(255, 255, 255, .7); }
.hero.is-light .swiper-pagination-bullet { background: rgba(7, 30, 67, .18); }
.hero .swiper-pagination { position: static; display: flex; gap: 8px; width: auto; }
.hero .swiper-pagination-bullet { width: 34px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); opacity: 1; margin: 0 !important; position: relative; overflow: hidden; }
.hero .swiper-pagination-bullet-active { background: rgba(255, 255, 255, .35); }
.hero .swiper-pagination-bullet-active::after { content: ""; position: absolute; inset: 0; background: var(--orange-500); transform-origin: right; animation: progress 6s linear forwards; }
[dir="ltr"] .hero .swiper-pagination-bullet-active::after { transform-origin: left; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* على الجوال: البانر بلا نص يُعرض بنسبته الأصلية (1920×720) حتى لا يُقص النص المطبوع داخل الصورة،
   والبانر بصورة جوال (1080×1350) بنسبتها، والبانر بنص له ارتفاع أدنى يكفي للمحتوى */
@media (max-width: 760px) {
    .hero .swiper { height: auto; }
    .hero .swiper-wrapper { align-items: flex-start; }
    .hero .swiper-slide { aspect-ratio: 1920 / 720; height: auto; }
    .hero .swiper-slide.has-mobile { aspect-ratio: 1080 / 1350; }
    .hero .swiper-slide.with-text { aspect-ratio: auto; min-height: 480px; }
    .hero .swiper-slide.designed { aspect-ratio: auto; }
    .hero-controls { bottom: 14px; }
    .hero-controls .container { justify-content: center; }
    .hero-arrow { display: none; }
    .hero .swiper-pagination { flex-wrap: wrap; justify-content: center; gap: 6px; }
    .hero .swiper-pagination-bullet { width: 18px; }
}
.hero-fallback { min-height: 520px; display: flex; align-items: center; background: radial-gradient(900px 500px at 15% 10%, rgba(255, 140, 0, .28), transparent 60%), linear-gradient(150deg, var(--navy-700), var(--navy-950)); }

/* ---------- Rates strip ---------- */
.rates-strip { position: relative; z-index: 6; margin-top: -48px; }
.rates-card { background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); display: flex; align-items: stretch; overflow: hidden; border: 1px solid var(--line); }
.rates-head { flex: none; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 18px 24px; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; min-width: 210px; }
.rates-head strong { font-size: 16px; color: #fff; }
.rates-head span { font-size: 12.5px; color: #b9c8e6; }
.rates-head .live { display: inline-flex; align-items: center; gap: 6px; color: #7ff0bf; font-weight: 600; font-size: 12px; }
.rates-head .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2fe39a; box-shadow: 0 0 0 0 rgba(47, 227, 154, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(47, 227, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 227, 154, 0); } }
.rates-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); display: flex; }
.rates-row { display: flex; gap: 0; animation: marquee 38s linear infinite; padding-block: 14px; }
.rates-track:hover .rates-row { animation-play-state: paused; }
[dir="rtl"] .rates-row { animation-name: marquee-rtl; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
.rate { display: flex; align-items: center; gap: 12px; padding-inline: 22px; border-inline-end: 1px solid var(--line); white-space: nowrap; }
.rate img { width: 32px; height: 24px; border-radius: 5px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.rate .code { font-weight: 700; color: var(--navy-900); font-size: 14px; }
.rate .name { font-size: 12px; color: var(--ink-3); }
.rate .vals { display: flex; gap: 14px; font-variant-numeric: tabular-nums; }
.rate .vals small { display: block; font-size: 11px; color: var(--ink-3); }
.rate .vals b { font-size: 15px; }
.rate .buy b { color: var(--success); }
.rate .sell b { color: var(--danger); }
.rates-more { flex: none; display: flex; align-items: center; padding-inline: 20px; border-inline-start: 1px solid var(--line); font-weight: 600; color: var(--navy-700); gap: 6px; }
@media (max-width: 760px) { .rates-card { flex-direction: column; } .rates-head { min-width: 0; padding: 12px 16px; flex-direction: row; align-items: center; justify-content: space-between; } .rates-head span { display: none; } .rates-more { display: none; } .rates-strip { margin-top: 16px; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(60px, 9vw, 110px); position: relative; }
.section.soft { background: var(--bg-soft); }
.section.navy { background: radial-gradient(800px 400px at 85% 0%, rgba(255, 140, 0, .18), transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-950)); color: #dbe5f7; }
.section.navy h2, .section.navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; color: var(--orange-600); letter-spacing: .04em; margin-bottom: 12px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section.navy .kicker { color: var(--orange-400); }
.section-head h2 { font-size: clamp(26px, 3.6vw, 40px); text-wrap: balance; }
.section-head p { color: var(--ink-2); font-size: 17px; }
.section.navy .section-head p { color: #b9c8e6; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.head-row .section-head { margin-bottom: 0; }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

/* Quick actions */
.quick { margin-top: 56px; }
.quick-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; overflow: hidden; }
.quick-card::after { content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--orange-100); transition: transform .4s var(--ease); z-index: 0; }
.quick-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.quick-card:hover::after { transform: scale(1.6); }
.quick-card > * { position: relative; z-index: 1; }
.quick-card .qi { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--navy-900); color: #fff; }
.quick-card h3 { font-size: 18px; margin: 6px 0 0; }
.quick-card p { color: var(--ink-2); font-size: 14.5px; margin: 0; }
@media (max-width: 680px) {
    .quick .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .quick-card { padding: 16px; gap: 6px; }
    .quick-card .qi { width: 42px; height: 42px; border-radius: 12px; }
    .quick-card h3 { font-size: 15.5px; }
    .quick-card p { font-size: 13px; }
}

/* About split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.about-visual { position: relative; }
.about-visual .frame { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.2; background: linear-gradient(140deg, var(--navy-700), var(--navy-950)); }
.about-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .badge-float { position: absolute; inset-inline-end: -14px; bottom: 30px; background: #fff; border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px; animation: float 5s ease-in-out infinite; }
.about-visual .badge-float b { display: block; font-size: 26px; color: var(--navy-900); line-height: 1; }
.about-visual .badge-float span { font-size: 13px; color: var(--ink-3); }
@keyframes float { 50% { transform: translateY(-10px); } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-block: 28px; }
.stat b { display: block; font-size: clamp(26px, 3vw, 36px); color: var(--navy-900); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13.5px; color: var(--ink-3); }

/* Value cards */
.value-card { padding: 30px 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: transform .3s var(--ease), background .3s; height: 100%; }
.value-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .09); }
.value-card .vi { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); color: #fff; margin-bottom: 18px; box-shadow: 0 12px 24px -12px rgba(255, 140, 0, .9); }
.value-card h3 { font-size: 20px; }
.value-card p { color: #b9c8e6; margin: 0; font-size: 15px; }

/* Service cards */
.service-card { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; height: 100%; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card .media { aspect-ratio: 4 / 3; background: var(--navy-50); overflow: hidden; }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .media img { transform: scale(1.06); }
.service-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-card h3 { font-size: 18px; margin: 0; }
.service-card p { color: var(--ink-2); font-size: 14.5px; margin: 0; flex: 1; }

/* News cards */
.news-card { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; height: 100%; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card .media { aspect-ratio: 16 / 9; background: var(--navy-50); overflow: hidden; position: relative; }
.news-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .media img { transform: scale(1.06); }
.news-card .date { position: absolute; inset-inline-start: 14px; top: 14px; background: rgba(255, 255, 255, .94); border-radius: 12px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; color: var(--navy-900); }
.news-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card h3 { font-size: 18px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card p { color: var(--ink-2); font-size: 14.5px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }

/* Partners marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-row { display: flex; gap: 22px; width: max-content; animation: marquee 40s linear infinite; }
[dir="rtl"] .marquee-row { animation-name: marquee-rtl; }
.marquee:hover .marquee-row { animation-play-state: paused; }
.partner { width: 190px; height: 104px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 16px; transition: box-shadow .3s, transform .3s; }
.partner img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.partner:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.partner:hover img { filter: none; opacity: 1; }

/* App / CTA banners */
.cta { border-radius: 30px; padding: clamp(32px, 5vw, 60px); background: radial-gradient(600px 300px at 10% 0%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(135deg, var(--orange-500), var(--orange-600)); color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta h2 { color: #fff; font-size: clamp(24px, 3.2vw, 36px); }
.cta p { color: #fff3e4; font-size: 17px; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.cta::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .08); inset-inline-end: -120px; bottom: -180px; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } .cta .actions { justify-content: flex-start; } }
.store-btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding-inline: 20px; border-radius: 14px; background: #fff; color: var(--navy-900); font-weight: 700; }
.store-btn small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 500; line-height: 1; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding-block: clamp(56px, 8vw, 96px) clamp(48px, 6vw, 72px); background: radial-gradient(800px 380px at 85% -10%, rgba(255, 140, 0, .24), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: #fff; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(to bottom, #000, transparent); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 50px); margin-bottom: 10px; }
.page-hero p { color: #c4d2ec; font-size: 18px; max-width: 680px; margin: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: #9fb2d6; margin-bottom: 14px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }

/* ---------- Prose (rich text) ---------- */
.prose { font-size: 17px; color: var(--ink-2); line-height: 1.95; max-width: 820px; }
.prose h2 { font-size: 24px; margin-top: 1.6em; color: var(--ink); }
.prose h3 { font-size: 20px; margin-top: 1.4em; color: var(--ink); }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--orange-500); }
.prose a { color: var(--navy-500); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.5em 0; padding: 16px 22px; border-inline-start: 4px solid var(--orange-500); background: var(--orange-100); border-radius: 12px; color: var(--ink); }
.prose .ql-align-center { text-align: center; } .prose .ql-align-justify { text-align: justify; }
[dir="rtl"] .prose .ql-align-right, [dir="ltr"] .prose .ql-align-left { text-align: start; }
.prose img { border-radius: 14px; }
.prose-en { direction: ltr; text-align: left; }
.prose-ar { direction: rtl; text-align: right; }
.doc-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-sm); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fgrid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fgrid { grid-template-columns: 1fr; } }
.field label, .field .lbl { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.field .req { color: var(--danger); }
.input, .select, .textarea { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg-soft); font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy-500); background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 201, .15); }
.input-validation-error { border-color: var(--danger) !important; }
.field-error, .field-validation-error { color: var(--danger); font-size: 13px; margin-top: 4px; display: block; }
.hint { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.file-drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border: 2px dashed var(--line); border-radius: 14px; background: var(--bg-soft); cursor: pointer; transition: border-color .2s, background .2s; }
.file-drop:hover { border-color: var(--orange-500); background: var(--orange-100); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop .fi { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--orange-600); flex: none; }
.alert { display: flex; gap: 12px; padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; font-weight: 500; }
.alert-success { background: #e3f6ee; color: var(--success); }
.alert-error { background: #fde7e9; color: var(--danger); }
.honeypot { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Branch / filter cards ---------- */
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.filters .input, .filters .select { height: 48px; width: auto; min-width: 220px; flex: 1; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; height: 40px; padding-inline: 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: .2s; }
.chip.active, .chip:hover { border-color: var(--navy-900); color: #fff; background: var(--navy-900); }
.branch-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; height: 100%; }
.branch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.branch-card .bh { display: flex; align-items: flex-start; gap: 14px; }
.branch-card .bi { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy-700); flex: none; }
.branch-card h3 { font-size: 18px; margin: 0; }
.branch-card .gov { font-size: 13px; color: var(--orange-600); font-weight: 600; }
.branch-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.branch-card li { display: flex; gap: 10px; align-items: flex-start; }
.branch-card li .icon { color: var(--ink-3); margin-top: 3px; }
.branch-card .actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-3); }
.empty-state .ei { width: 76px; height: 76px; border-radius: 22px; margin: 0 auto 16px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy-700); }

/* Tables (find-us, rates) */
.tbl-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--line); }
.tbl th { background: var(--bg-soft); color: var(--ink-2); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.tbl tbody tr:hover { background: var(--navy-50); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl .num { font-variant-numeric: tabular-nums; font-weight: 700; }
.tbl .buy { color: var(--success); }
.tbl .sell { color: var(--danger); }
.tbl .flag { width: 30px; height: 22px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); display: inline-block; vertical-align: middle; margin-inline-end: 10px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; padding-inline: 12px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--line); font-weight: 600; color: var(--ink-2); }
.pager .active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.pager a:hover { border-color: var(--navy-900); }

/* Job cards */
.job-card { display: flex; gap: 20px; align-items: center; padding: 24px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.job-card .ji { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-600); flex: none; }
.job-card h3 { font-size: 19px; margin: 0 0 4px; }
.job-card .meta { font-size: 13.5px; color: var(--ink-3); display: flex; gap: 14px; flex-wrap: wrap; }
.job-card .go { margin-inline-start: auto; }
@media (max-width: 640px) { .job-card { flex-wrap: wrap; } .job-card .go { margin-inline-start: 0; width: 100%; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 28px; }
.gallery a { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(3, 14, 36, .92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; border-radius: 12px; }
.lightbox button { position: absolute; top: 20px; inset-inline-end: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; cursor: pointer; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #a9b9d8; padding-top: 70px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 140, 0, .14), transparent 70%); inset-inline-end: -160px; top: -200px; }
.footer .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer .brand strong { color: #fff; }
.footer .brand small { color: #8395b8; }
.footer p { font-size: 14.5px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.footer ul a { display: inline-flex; gap: 8px; align-items: center; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer .contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer .contact .icon { color: var(--orange-400); margin-top: 4px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: #fff; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--orange-500); transform: translateY(-3px); }
.footer .stores { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.footer .stores a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); color: #fff; font-weight: 600; font-size: 14px; }
.footer .stores a:hover { background: rgba(255, 255, 255, .12); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom a:hover { color: #fff; }

/* Floating actions */
.fab { position: fixed; z-index: 60; inset-block-end: 22px; inset-inline-end: 22px; display: flex; flex-direction: column; gap: 10px; }
.fab a, .fab button { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); border: 0; cursor: pointer; transition: transform .2s; }
.fab a:hover, .fab button:hover { transform: scale(1.08); }
.fab .wa { background: #25d366; }
.fab .top { background: var(--navy-900); opacity: 0; pointer-events: none; transition: opacity .3s, transform .2s; }
.fab .top.show { opacity: 1; pointer-events: auto; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}
@media print { .header, .footer, .fab, .announce { display: none !important; } }

.hidden-el { display: none !important; }

/* =====================================================================
   v3 — بلاطات الأيقونات الثنائية، الأغلفة المصمَّمة، ورسومات "من نحن"
   ===================================================================== */
.qi, .ji, .ei, .menu a .mi { background: linear-gradient(150deg, #f4f8ff, #e3ecfc); color: var(--navy-700); box-shadow: inset 0 0 0 1px rgba(10, 78, 168, .1), 0 12px 24px -16px rgba(10, 78, 168, .55); display: grid; place-items: center; border-radius: 18px; }
.qi { width: 60px; height: 60px; flex: none; }
.qi .duo { width: 34px; height: 34px; }
.qi-sm { width: 48px; height: 48px; border-radius: 14px; } .qi-sm .duo { width: 28px; height: 28px; }
.quick-card .qi { width: 62px; height: 62px; border-radius: 18px; background: linear-gradient(150deg, #f4f8ff, #e3ecfc); color: var(--navy-700); transition: background .35s var(--ease), transform .35s var(--ease); }
.quick-card:hover .qi { background: linear-gradient(150deg, var(--navy-700), var(--navy-900)); --duo-a: #fff; --duo-b: rgba(255, 255, 255, .2); --duo-c: var(--orange-400); --duo-bg: var(--navy-800); transform: rotate(-6deg) scale(1.05); }
.menu a .mi { width: 40px; height: 40px; border-radius: 12px; }
.menu a .mi .duo { width: 24px; height: 24px; }
.value-card .vi { width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .6); --duo-a: #fff; --duo-b: rgba(255, 255, 255, .2); --duo-c: var(--orange-400); --duo-bg: var(--navy-900); }
.value-card .vi .duo { width: 36px; height: 36px; }
.empty-state .ei { width: 88px; height: 88px; border-radius: 26px; }
.empty-state .ei .duo { width: 46px; height: 46px; }
.job-card .ji { width: 60px; height: 60px; }
.job-card .ji .duo { width: 32px; height: 32px; }
@media (max-width: 680px) {
    .quick-card .qi { width: 48px; height: 48px; border-radius: 14px; }
    .quick-card .qi .duo { width: 28px; height: 28px; }
}

/* ---------- Designed covers (services / news without photo) ---------- */
.cover { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; color: #fff; isolation: isolate;
    --c1: #0b2b5e; --c2: #12407f; --duo-a: #fff; --duo-b: rgba(255, 255, 255, .2); --duo-c: var(--orange-400); --duo-bg: #0b2b5e;
    background: radial-gradient(120% 90% at 85% 0%, rgba(255, 255, 255, .18), transparent 55%), linear-gradient(140deg, var(--c1), var(--c2)); }
.cover.c-1 { --c1: #06306f; --c2: #0a57bd; --duo-bg: #0a4ea8; }
.cover.c-2 { --c1: #ff9d1c; --c2: #f05f00; --duo-c: #0b2b5e; --duo-bg: #f27a0a; }
.cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .22) 1.2px, transparent 1.2px); background-size: 20px 20px; mask-image: radial-gradient(80% 80% at 30% 30%, #000, transparent 75%); }
.cover::after { content: ""; position: absolute; width: 140%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 0 0 40px rgba(255, 255, 255, .04), 0 0 0 80px rgba(255, 255, 255, .03); inset-inline-start: 40%; top: 35%; z-index: -1; }
.cover-tile { width: 92px; height: 92px; border-radius: 28px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .25); backdrop-filter: blur(8px); transition: transform .5s var(--ease); }
.cover-tile .duo { width: 52px; height: 52px; }
.cover-mark { position: absolute; inset-inline-end: -18px; bottom: -22px; width: 150px; height: 150px; opacity: .12; --duo-a: #fff; --duo-b: #fff; --duo-c: #fff; }
.service-card:hover .cover-tile, .news-card:hover .cover-tile { transform: translateY(-6px) rotate(-6deg); }
.cover-lg .cover-tile { width: 130px; height: 130px; border-radius: 36px; }
.cover-lg .cover-tile .duo { width: 74px; height: 74px; }
.cover-lg .cover-mark { width: 260px; height: 260px; }

/* ---------- About visual (designed) ---------- */
.about-art { position: relative; aspect-ratio: 4 / 3.3; border-radius: 30px; overflow: hidden; isolation: isolate; box-shadow: var(--shadow-lg);
    background: radial-gradient(70% 60% at 80% 10%, rgba(80, 150, 255, .4), transparent 60%), linear-gradient(150deg, #06306f, #030e24); }
.about-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .14) 1.2px, transparent 1.2px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.about-art .aa-map { position: absolute; width: 230%; aspect-ratio: 1440 / 544; left: -82%; top: -4%; background: rgba(160, 195, 255, .5); -webkit-mask: url("/v2/art/world-dots.svg") center / 100% 100% no-repeat; mask: url("/v2/art/world-dots.svg") center / 100% 100% no-repeat; }
.about-art .aa-globe { position: absolute; width: 74%; aspect-ratio: 1; left: 13%; top: 10%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(120, 170, 255, .4), rgba(20, 60, 140, .3) 50%, transparent 72%); box-shadow: inset -24px -30px 60px rgba(0, 0, 0, .45), 0 0 80px rgba(80, 140, 255, .35); }
.about-art .aa-globe::after { content: ""; position: absolute; inset: 0; background: rgba(170, 200, 255, .9); -webkit-mask: url("/v2/art/globe-dots.svg") center / contain no-repeat; mask: url("/v2/art/globe-dots.svg") center / contain no-repeat; }
.about-art .aa-logo { position: absolute; left: 50%; top: 46%; width: 46%; transform: translate(-50%, -50%); filter: drop-shadow(0 18px 36px rgba(0, 0, 0, .45)); }
.about-art .aa-ring { position: absolute; left: 50%; top: 46%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed rgba(255, 179, 71, .45); animation: dsSpinC 60s linear infinite; }
.about-art .aa-ring.r2 { width: 92%; border-style: solid; border-color: rgba(255, 255, 255, .1); animation-duration: 90s; }
.about-art .aa-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 14px; background: rgba(9, 28, 66, .7); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-weight: 700; font-size: 14px; backdrop-filter: blur(10px); box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .7); --duo-a: #fff; --duo-b: rgba(255, 255, 255, .2); --duo-c: var(--orange-400); white-space: nowrap; animation: dsBobC 7s ease-in-out infinite; }
.about-art .aa-chip .duo { width: 24px; height: 24px; }
.about-art .ch-1 { top: 9%; inset-inline-start: 7%; }
.about-art .ch-2 { top: 20%; inset-inline-end: 6%; animation-delay: -2s; }
.about-art .ch-3 { bottom: 26%; inset-inline-start: 5%; animation-delay: -4s; }
.about-visual .badge-float { z-index: 2; }
@keyframes dsSpinC { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes dsBobC { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 560px) { .about-art .aa-chip { font-size: 12px; padding: 7px 10px 7px 8px; } .about-art .aa-chip .duo { width: 18px; height: 18px; } }
@media (prefers-reduced-motion: reduce) { .about-art * { animation: none !important; } }

/* ---------- Page hero art ---------- */
.ph-art { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(46%, 560px); pointer-events: none; z-index: 0; }
.ph-map { position: absolute; inset: -10% -20% -10% 0; background: rgba(150, 185, 245, .35); -webkit-mask: url("/v2/art/world-dots.svg") 40% 40% / 220% auto no-repeat; mask: url("/v2/art/world-dots.svg") 40% 40% / 220% auto no-repeat; -webkit-mask-composite: source-in; opacity: .7; }
.ph-ring { position: absolute; top: 50%; inset-inline-end: 12%; width: 240px; height: 240px; margin-top: -120px; border-radius: 50%; border: 1px dashed rgba(255, 179, 71, .5); animation: dsSpinR 50s linear infinite; }
.ph-ring.r2 { width: 340px; height: 340px; margin-top: -170px; inset-inline-end: calc(12% - 50px); border: 1px solid rgba(255, 255, 255, .1); animation-duration: 80s; }
.ph-tile { position: absolute; top: 50%; inset-inline-end: calc(12% + 60px); width: 120px; height: 120px; margin-top: -60px; border-radius: 34px; display: grid; place-items: center; background: linear-gradient(150deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .3); backdrop-filter: blur(10px); --duo-a: #fff; --duo-b: rgba(255, 255, 255, .22); --duo-c: var(--orange-400); --duo-bg: var(--navy-800); animation: dsBobC 6s ease-in-out infinite; }
.ph-tile .duo { width: 66px; height: 66px; }
.ph-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-400); box-shadow: 0 0 14px 4px rgba(255, 140, 0, .45); }
.ph-dot.d1 { top: 22%; inset-inline-end: 40%; } .ph-dot.d2 { bottom: 20%; inset-inline-end: 10%; } .ph-dot.d3 { top: 30%; inset-inline-end: 6%; width: 5px; height: 5px; }
@keyframes dsSpinR { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .ph-art { width: 100%; opacity: .35; } .ph-tile, .ph-ring { display: none; } }
@media (prefers-reduced-motion: reduce) { .ph-art * { animation: none !important; } }

/* Desktop nav: never wrap labels; tighten spacing on medium screens (English labels are longer) */
.nav > a, .nav-drop > button { white-space: nowrap; }
@media (min-width: 1101px) and (max-width: 1340px) {
    .header .container { gap: 14px; }
    .nav { gap: 0; }
    .nav > a, .nav-drop > button { padding-inline: 10px; font-size: 14px; }
    .brand small { display: none; }
    .header-actions .btn-sm { padding-inline: 12px; }
}
@media (min-width: 1101px) and (max-width: 1220px) {
    .header-actions .btn { display: none; }
}
