/* ===== Redesign v3 (loaded after site.css). Brand palette kept; adds light sections + royal-blue bands. ===== */
:root {
  --bg: #020e1a;
  --bg-2: #061a2e;
  --royal: #0060a8;
  --royal-2: #0b5087;
  --ink: #0b1f33;
  --ink-2: #4a5d70;
  --paper: #ffffff;
  --paper-2: #f3f6fa;
  --paper-3: #e8eef5;
  --gold-grad: linear-gradient(100deg, #c07818 0%, #f0c060 45%, #d89030 70%, #c07818 100%);
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --shadow-l: 0 20px 50px -22px rgba(11, 31, 51, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
body { background: var(--bg); line-height: 1.75; }
.splashing body { overflow: hidden; }
::selection { background: rgba(216, 144, 48, .35); }
.wrap { max-width: 1240px; padding: 0 20px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); font-weight: 900; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; letter-spacing: .16em; }
[dir='rtl'] .kicker { letter-spacing: 0; font-size: .95rem; }
.kicker::before { content: ''; width: 28px; height: 2px; background: var(--gold-grad); border-radius: 2px; }
.gold-grad { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
a:hover { text-decoration: none; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.h2-head { max-width: 760px; margin-bottom: 44px; }
.h2-head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.see-all, .link-strong { font-weight: 800; }

/* Buttons */
.btn { border-radius: 999px; padding: 12px 24px; font-weight: 800; background: var(--gold-grad); background-size: 200% 100%; color: #0b1622; border: 0; box-shadow: 0 10px 30px -12px rgba(216, 144, 48, .7); transition: background-position .5s var(--ease), transform .25s var(--ease), box-shadow .25s; }
.btn:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(240, 192, 96, .8); }
.btn-ghost { background: rgba(255, 255, 255, .03); color: #fff; border: 1px solid rgba(240, 192, 96, .45); box-shadow: none; }
.btn-ghost:hover { background: rgba(240, 192, 96, .1); border-color: var(--gold-hi); box-shadow: none; }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: none; }
.btn-glass:hover { background: rgba(255, 255, 255, .22); box-shadow: none; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid rgba(11, 31, 51, .25); box-shadow: none; }
.btn-outline:hover { border-color: var(--royal); color: var(--royal); box-shadow: none; }
.btn-white { background: #fff; color: var(--royal-2); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); }
.btn-lg { padding: 15px 30px; font-size: 1.03rem; }
.btn-sm { padding: 8px 16px; }

/* Header */
.site-header { background: rgba(2, 14, 26, .78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); transition: background .35s, border-color .35s; }
.has-hx .site-header { position: fixed; inset: 0 0 auto 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-hx .site-header.scrolled, .has-hx .site-header:has(.nav-toggle:checked) { background: rgba(2, 14, 26, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: rgba(255, 255, 255, .06); }
.header-row { min-height: 76px; }
.brand-mark { position: relative; display: inline-block; overflow: hidden; }
.brand-mark img { width: 56px; height: auto; mix-blend-mode: normal; }
.brand-mark::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 244, 210, .85) 50%, transparent 65%); background-size: 300% 100%; -webkit-mask: url(/img/v2/logo/icon.webp) center/100% 100% no-repeat; mask: url(/img/v2/logo/icon.webp) center/100% 100% no-repeat; mix-blend-mode: screen; animation: glint 5s ease-in-out infinite; }
.nav a { font-weight: 700; position: relative; }
.nav a[aria-current]::after { content: ''; position: absolute; inset-inline: 10px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold-grad); }
.nav .nav-cta { background: var(--gold-grad); color: #0b1622; border-radius: 999px; padding: 8px 16px; margin-inline-start: 6px; }
.nav .nav-cta:hover { background: var(--gold-grad); filter: brightness(1.08); }
.nav .nav-cta::after { display: none; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ===== Animated logo lockup (from the official intro layers) ===== */
@keyframes glint { 0%, 55% { background-position: 150% 0; } 85%, 100% { background-position: -50% 0; } }
@keyframes lkDrop { from { opacity: 0; transform: perspective(900px) rotateX(55deg) translateY(-30px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes lkUp { from { opacity: 0; transform: translateY(14px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes lkWide { from { opacity: 0; letter-spacing: .4em; transform: scaleX(1.15); } to { opacity: 1; transform: none; } }
@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }
.lockup { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; width: min(100%, 460px); margin-inline: auto; animation: float 7s ease-in-out 2.4s infinite; }
.lockup img { display: block; height: auto; }
.lk-icon { position: relative; width: 78%; animation: lkDrop 1.1s var(--ease) both; }
.lk-icon img { width: 100%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55)) drop-shadow(0 0 30px rgba(74, 144, 208, .35)); }
.lk-glint, .lk-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 244, 210, .9) 50%, transparent 60%); background-size: 300% 100%; mix-blend-mode: screen; animation: glint 4.5s ease-in-out 1.2s infinite; pointer-events: none; }
.lk-glint { -webkit-mask: url(/img/v2/logo/icon.webp) center/100% 100% no-repeat; mask: url(/img/v2/logo/icon.webp) center/100% 100% no-repeat; }
.lk-ring { position: absolute; left: 50%; top: 52%; width: 118%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1.5px dashed rgba(240, 192, 96, .35); animation: ringSpin 40s linear infinite; pointer-events: none; }
.lk-ring::before { content: ''; position: absolute; inset: 8%; border-radius: 50%; border: 1px solid rgba(74, 144, 208, .25); }
.lk-n1 { width: 92%; animation: lkUp .8s var(--ease) .7s both; }
.lk-n2 { position: relative; width: 82%; animation: lkUp .8s var(--ease) .9s both; }
.lk-n2 img { width: 100%; }
.lk-shine { -webkit-mask: url(/img/v2/logo/name2.webp) center/100% 100% no-repeat; mask: url(/img/v2/logo/name2.webp) center/100% 100% no-repeat; animation-delay: 1.8s; }
.lk-tag { width: 90%; animation: lkWide .9s var(--ease) 1.15s both; }
.lk-srv { width: 86%; animation: lkUp .8s var(--ease) 1.35s both; }
.lk-script { font-family: 'Dancing Script', cursive; font-weight: 700; font-size: clamp(1.15rem, 3vw, 2.3rem); background: linear-gradient(180deg, #ffe6a8, #f0c060 45%, #c07818); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 12px rgba(0, 0, 0, .5)); animation: lkUp 1s var(--ease) 1.7s both; direction: ltr; white-space: nowrap; align-self: center; text-align: center; }

/* Splash */
.splash { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 45%, #0b2a4a, #020e1a 70%); transition: opacity .7s var(--ease), visibility .7s; }
.splash.out { opacity: 0; visibility: hidden; }
.splash .lockup { animation: none; width: min(78vw, 520px); }
.splash-skip { position: absolute; bottom: 28px; inset-inline-end: 28px; background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 6px 16px; font: inherit; font-weight: 700; cursor: pointer; }
html:not(.js) .splash { display: none; }

/* ===== Photo hero ===== */
.hx { position: relative; min-height: min(100svh, 920px); display: flex; align-items: center; overflow: hidden; color: #fff; padding: 110px 0 90px; }
.hx-slides, .hx-slide { position: absolute; inset: 0; }
.hx-slide { opacity: 0; transition: opacity 1.6s ease; }
.hx-slide.on { opacity: 1; }
.hx-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hx-slide.on img { animation: kb 7s linear forwards; }
@keyframes kb { from { transform: scale(1.12) translateX(0); } to { transform: scale(1.02) translateX(-1.5%); } }
.hx-tint { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0, 48, 96, .92) 0%, rgba(0, 60, 120, .72) 40%, rgba(2, 14, 26, .35) 75%, rgba(2, 14, 26, .55) 100%), linear-gradient(0deg, rgba(2, 14, 26, .85), transparent 35%); }
[dir='rtl'] .hx-tint { background: linear-gradient(260deg, rgba(0, 48, 96, .92) 0%, rgba(0, 60, 120, .72) 40%, rgba(2, 14, 26, .35) 75%, rgba(2, 14, 26, .55) 100%), linear-gradient(0deg, rgba(2, 14, 26, .85), transparent 35%); }
.hx-row { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(8px); color: #fff; font-weight: 700; font-size: .9rem; margin: 0 0 22px; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 0 4px rgba(240, 192, 96, .25); animation: pulseDot 2s ease-in-out infinite; }
@keyframes pulseDot { 50% { box-shadow: 0 0 0 9px rgba(240, 192, 96, 0); } }
.hx-title { font-size: clamp(2.4rem, 6.2vw, 4.9rem); line-height: 1.08; font-weight: 900; margin: 0 0 14px; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
html[lang='en'] .hx-title { font-family: 'Montserrat', sans-serif; letter-spacing: -.02em; }
.hx-title .gold-grad { display: inline-block; }
.hx-rot { font-size: clamp(1.2rem, 2.4vw, 1.75rem); font-weight: 800; margin: 0 0 16px; }
.rot { display: inline-block; color: var(--gold-hi); border-bottom: 3px solid rgba(240, 192, 96, .6); transition: opacity .35s, transform .35s var(--ease); }
.rot.swap { opacity: 0; transform: translateY(-12px); }
.hx-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #e4edf6; max-width: 600px; margin: 0 0 28px; }
.hx-ctas { gap: 14px; }
.hx-logo { justify-self: center; width: 100%; }
.hx-dots { position: absolute; bottom: 34px; inset-inline-start: 50%; translate: -50% 0; display: flex; gap: 8px; }
[dir='rtl'] .hx-dots { translate: 50% 0; }
.hx-dots span { width: 26px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); transition: background .4s, width .4s; }
.hx-dots span.on { width: 44px; background: var(--gold-hi); }
.hx-scroll { position: absolute; bottom: 26px; inset-inline-end: 32px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; }
.hx-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: none; opacity: 0; } }

/* Marquee */
.marquee { overflow: hidden; background: var(--gold-grad); color: #0b1622; padding: 14px 0; font-weight: 800; white-space: nowrap; direction: ltr; }
.mq-track { display: inline-flex; gap: 26px; align-items: center; animation: mq 38s linear infinite; }
.mq-track span { font-size: 1.02rem; }
.mq-track i { font-style: normal; opacity: .55; font-size: .7rem; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Royal-blue stats band */
.band-blue { background: linear-gradient(110deg, #0060a8 0%, #0b5087 45%, #003060 100%); position: relative; overflow: hidden; }
.band-blue::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 44px 44px; }
.stats-row { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.st { padding: 38px 18px; text-align: center; border-inline-start: 1px solid rgba(255, 255, 255, .14); }
.st:first-child { border-inline-start: 0; }
.st b { display: block; font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.05; color: #fff; text-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.st b::after { content: ''; display: block; width: 36px; height: 3px; margin: 10px auto 8px; border-radius: 3px; background: var(--gold-grad); }
.st span { color: #d6e6f6; font-weight: 700; }

/* ===== Light sections ===== */
.light { background: var(--paper); color: var(--ink); }
.light-2 { background: linear-gradient(180deg, var(--paper-2), var(--paper-3)); color: var(--ink); }
.light h2, .light-2 h2, .light h3, .light-2 h3 { color: var(--ink); }
.light .kicker, .light-2 .kicker { color: #b06d12; }
.light .muted, .light-2 .muted { color: var(--ink-2); }
.light a:not(.btn), .light-2 a:not(.btn) { color: var(--royal); }

/* CV */
.cv-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.cv-card { position: sticky; top: 96px; background: linear-gradient(170deg, #0b2a4a, #020e1a); color: #fff; border-radius: 26px; padding: 16px 16px 24px; box-shadow: var(--shadow-l); text-align: center; }
.cv-photo { border-radius: 18px; overflow: hidden; position: relative; }
.cv-photo::after { content: ''; position: absolute; inset: 8px; border: 1.5px solid rgba(240, 192, 96, .6); border-radius: 12px; }
.cv-photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 10%; }
.cv-card h3 { color: #fff !important; margin: 18px 0 2px; font-size: 1.25rem; }
.cv-role { color: var(--gold-hi); font-weight: 700; margin: 0 0 14px; }
.cv-facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0; margin: 0 0 16px; }
.cv-facts li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 8px 4px; display: flex; flex-direction: column; line-height: 1.3; }
.cv-facts b { font-family: 'Montserrat', sans-serif; font-size: 1.15rem; color: var(--gold-hi); }
.cv-facts span { font-size: .78rem; color: #c9d6e3; }
.cv-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.cv-card .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .35); }
.lead-dark { font-size: 1.15rem; color: #22374c; margin: 0 0 30px; }
.timeline { list-style: none; margin: 0 0 40px; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; inset-block: 8px; inset-inline-start: 124px; width: 2px; background: linear-gradient(180deg, #d89030, #0060a8); }
.timeline li { position: relative; display: grid; grid-template-columns: 108px 1fr; gap: 26px; padding: 0 0 22px; }
.timeline li::before { content: ''; position: absolute; inset-inline-start: 117px; top: 18px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); box-shadow: 0 0 0 5px rgba(216, 144, 48, .15); }
.tl-y { align-self: start; justify-self: start; margin-top: 4px; font-weight: 800; font-size: .82rem; color: #fff; background: var(--royal-2); padding: 4px 10px; border-radius: 12px; position: relative; z-index: 1; width: 100%; text-align: center; line-height: 1.35; }
.timeline li > div { background: #fff; border: 1px solid #e1e8f0; border-radius: 16px; padding: 14px 18px; box-shadow: 0 10px 30px -22px rgba(11, 31, 51, .4); margin-inline-start: 10px; transition: transform .3s var(--ease), border-color .3s; }
.timeline li > div:hover { transform: translateX(-4px); border-color: rgba(216, 144, 48, .6); }
[dir='ltr'] .timeline li > div:hover { transform: translateX(4px); }
.timeline b { display: block; color: var(--ink); font-size: 1.05rem; }
.timeline p { margin: 2px 0 0; color: var(--ink-2); font-size: .95rem; }
.cred-h { margin: 0 0 16px; }
.creds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.cred-card { position: relative; overflow: hidden; background: #fff; border: 1px solid #e1e8f0; border-radius: 18px; padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 14px 34px -24px rgba(11, 31, 51, .45); }
.cred-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gold-grad); }
.cred-k { align-self: flex-start; font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.05rem; color: #fff; background: linear-gradient(135deg, #0060a8, #003060); padding: 6px 12px; border-radius: 10px; margin-bottom: 6px; }
.cred-card b { color: var(--ink); line-height: 1.4; }
.cred-card small { color: var(--ink-2); }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { background: #fff; border: 1px solid #dfe7f0; border-radius: 22px; padding: 26px; box-shadow: 0 18px 40px -30px rgba(11, 31, 51, .5); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.svc:hover { box-shadow: 0 26px 50px -26px rgba(0, 96, 168, .45); border-color: rgba(0, 96, 168, .35); }
.svc-ic { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: linear-gradient(135deg, #0b2a4a, #020e1a); margin-bottom: 16px; box-shadow: 0 10px 24px -12px rgba(0, 48, 96, .7); }
.svc-ic img { width: 38px; height: 38px; }
.svc h3 { font-size: 1.2rem; margin: 0 0 6px; }
.svc p { color: var(--ink-2); margin: 0; }

/* Gallery */
.dark-photo { background: radial-gradient(50% 60% at 90% 0, rgba(0, 96, 168, .35), transparent 70%), var(--bg); }
.g-sub { max-width: 380px; margin: 0; }
.g-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.g-tab { font: inherit; font-weight: 700; color: #dfe8f1; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 8px 18px; cursor: pointer; transition: all .25s; }
.g-tab:hover { border-color: var(--gold-hi); }
.g-tab.on { background: var(--gold-grad); color: #0b1622; border-color: transparent; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; grid-auto-flow: dense; gap: 12px; }
.g-item { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: #0b2a4a; }
.g-item.wide { grid-column: span 2; }
.g-item.tall { grid-row: span 2; }
.g-item.hide { display: none; }
.g-item a, .g-item picture { display: block; width: 100%; height: 100%; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.g-item:hover img { transform: scale(1.07); filter: brightness(1.08); }
.g-item figcaption { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; background: linear-gradient(0deg, rgba(2, 14, 26, .9), transparent); font-weight: 700; font-size: .92rem; transform: translateY(6px); opacity: .92; transition: transform .35s var(--ease), opacity .35s; pointer-events: none; }
.g-item:hover figcaption { transform: none; opacity: 1; }
.g-note { color: var(--muted); margin-top: 16px; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(2, 10, 18, .92); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 80vh; border-radius: 12px; box-shadow: var(--shadow); }
.lightbox p { color: #fff; font-weight: 700; margin: 12px 0 0; text-align: center; }
.lb-x { position: absolute; top: 18px; inset-inline-end: 22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.6rem; cursor: pointer; }
.lb-open { overflow: hidden; }

/* Products */
.prod-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.prod { position: relative; border-radius: 24px; padding: 28px; background: var(--paper-2); border: 1px solid #e1e8f0; box-shadow: var(--shadow-l); transition: transform .35s var(--ease), box-shadow .35s; overflow: hidden; }
.prod h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 8px 0; }
.prod p { color: var(--ink-2); }
.prod .actions { gap: 10px; }
.tag { display: inline-block; font-size: .8rem; font-weight: 800; color: #fff; background: var(--royal); padding: 4px 12px; border-radius: 999px; }
.prod-book { grid-column: span 6; display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 54px); align-items: center; background: linear-gradient(120deg, #fff8ec, #ffffff 45%, #eef4fb); }
.prod-cover img { width: clamp(170px, 20vw, 240px); border-radius: 8px; transform: perspective(900px) rotateY(16deg) rotateX(4deg); box-shadow: 24px 30px 50px -16px rgba(11, 31, 51, .45); transition: transform .5s var(--ease); }
[dir='ltr'] .prod-cover img { transform: perspective(900px) rotateY(-16deg) rotateX(4deg); box-shadow: -24px 30px 50px -16px rgba(11, 31, 51, .45); }
.prod-book:hover .prod-cover img { transform: none; }
.prod-price { display: flex; align-items: baseline; gap: 12px; }
.prod-price b { font-family: 'Montserrat', sans-serif; font-size: 2.2rem; color: #b06d12; }
.prod-course { grid-column: span 3; background: linear-gradient(170deg, #0b2a4a, #020e1a); color: #fff; padding: 0 0 28px; border: 0; }
.prod-course > *:not(.prod-mosaic) { margin-inline: 28px; }
.prod-course h3 { color: #fff !important; }
.prod-course p { color: #c9d6e3; }
.prod-course .tag { margin-top: 22px; background: var(--gold); color: #0b1622; }
.prod-course .btn-ghost { color: #fff; }
.prod-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.prod-mosaic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prod-sw { grid-column: span 3; background: linear-gradient(150deg, #0060a8, #003060); color: #fff; border: 0; display: flex; flex-direction: column; justify-content: center; }
.prod-sw::after { content: ''; position: absolute; inset-inline-end: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(255, 255, 255, .06); }
.prod-sw h3 { color: #fff !important; }
.prod-sw p { color: #d6e6f6; }
.prod-sw .tag { align-self: flex-start; background: rgba(255, 255, 255, .16); }
.prod-sw .btn-outline, .prod-course .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .4); }

/* Free lessons rail */
.free { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.lx-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: rgba(216, 144, 48, .5) transparent; }
.lx { scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; color: #fff; }
.lx-media { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); }
.lx-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease); }
.lx:hover .lx-media img { transform: scale(1.06); }
.lx-play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgba(2, 14, 26, .6); border: 2px solid var(--gold-hi); backdrop-filter: blur(4px); transition: transform .3s var(--ease); }
.lx:hover .lx-play { transform: scale(1.12); }
.lx-play::after { content: ''; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-block: 9px solid transparent; border-left: 14px solid var(--gold-hi); transform: translateX(2px); }
.lx-dur { position: absolute; bottom: 8px; inset-inline-end: 8px; background: rgba(2, 14, 26, .8); padding: 1px 8px; border-radius: 6px; font-size: .8rem; font-weight: 700; }
.lx-code { color: var(--gold-hi); font-weight: 800; font-size: .82rem; }
.lx-title { font-weight: 700; line-height: 1.5; }

/* CTA band */
.cta-band { padding: clamp(56px, 8vw, 96px) 0; background: linear-gradient(110deg, #0060a8 0%, #0b5087 40%, #003060 100%); position: relative; overflow: hidden; color: #fff; }
.cta-band::before { content: ''; position: absolute; inset-inline-end: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 192, 96, .35), transparent 65%); }
.cta-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-row h2 { margin: 0 0 6px; }
.cta-row p { color: #d6e6f6; margin: 0; max-width: 560px; }

/* Inner pages */
.page-hero { padding: clamp(60px, 9vw, 110px) 0 clamp(40px, 6vw, 70px); background: linear-gradient(110deg, rgba(0, 96, 168, .55), rgba(2, 14, 26, .9) 70%), url(/img/v2/g/r1.webp) center/cover; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; margin: 6px 0 10px; }
.page-hero .lead { color: #e1ebf5; }
main > section:first-child:not(.hx):not(.page-hero) { background: linear-gradient(110deg, rgba(0, 96, 168, .35), transparent 60%), var(--bg); }
main > section:first-child h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 900; }
.card-panel, .buybox, .module, .sw-card { border-radius: 20px; }
.module[open] { border-color: rgba(240, 192, 96, .3); }
.card { border-radius: 20px; transition: transform .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: rgba(240, 192, 96, .35); }
.about-photo { border-radius: 24px; }

/* Footer */
.site-footer { background: #010a13; border-top: 0; position: relative; }
.site-footer::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--gold-grad); }
.follow { background: linear-gradient(90deg, #003060, #020e1a); }

/* Responsive */
/* Projects, approvals, certificate wall (CV data, 2026-11-29) */
.pj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 8px; }
.pj { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(6px); transition: transform .5s var(--ease), border-color .3s, background .3s; transition-delay: var(--d, 0ms); }
.pj:hover { border-color: rgba(240, 192, 96, .55); background: rgba(255, 255, 255, .08); }
.pj-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.pj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pj:hover .pj-media img { transform: scale(1.07); }
.pj-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(2, 14, 26, .85)); }
.pj-code { position: absolute; z-index: 1; top: 12px; inset-inline-start: 12px; font: 800 .82rem 'Montserrat', sans-serif; color: #fff; background: rgba(0, 96, 168, .9); padding: 5px 11px; border-radius: 8px; }
.pj-v { position: absolute; z-index: 1; bottom: 10px; inset-inline-end: 14px; font: 900 1.5rem 'Montserrat', sans-serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pj-body { padding: 16px 18px 20px; }
.pj-body h3 { font-size: 1.08rem; line-height: 1.5; margin: 0 0 6px; color: #fff; }
.pj-client { color: var(--gold-hi, #f0c060); font-weight: 700; margin: 0; font-size: .92rem; }
.pj-role { color: var(--muted); margin: 2px 0 0; font-size: .88rem; }
.g-head2 { margin-top: clamp(48px, 7vw, 84px); }
.muted-dark { color: var(--ink-2); margin: -6px 0 12px; }
.appr { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
.appr-i { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, #0b2a4a, #003060); color: #dfe9f5; font-size: .9rem; line-height: 1.45; box-shadow: 0 14px 34px -22px rgba(0, 48, 96, .8); }
.appr-k { font: 900 1.25rem 'Montserrat', sans-serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; align-self: flex-start; }
.appr-ok { position: absolute; top: 12px; inset-inline-end: 12px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .8rem; color: #020e1a; background: var(--gold-grad); }
.cert-wall { display: grid; grid-template-columns: .72fr 1fr 1fr; gap: 16px; align-items: start; margin-bottom: 10px; }
.cert { display: flex; flex-direction: column; gap: 8px; color: var(--ink); background: #fff; border: 1px solid #e1e8f0; border-radius: 14px; padding: 10px; box-shadow: var(--shadow-l); transition: transform .4s var(--ease), box-shadow .4s; }
.cert:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 30px 60px -26px rgba(11, 31, 51, .5); }
.cert img { width: 100%; height: auto; border-radius: 8px; }
.cert span { font-size: .85rem; font-weight: 700; line-height: 1.45; }
/* Free tools + checklists (2026-11-29) */
.tools-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tools-nav a { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid #d5e0ec; color: var(--ink); font-weight: 700; font-size: .92rem; }
.tools-nav a:hover { border-color: var(--royal); color: var(--royal); }
.tool { background: #fff; border: 1px solid #e1e8f0; border-radius: 22px; padding: clamp(18px, 3vw, 30px); margin-bottom: 26px; box-shadow: var(--shadow-l); scroll-margin-top: 90px; }
.tool-h { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.tool-h h2 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin: 0 0 4px; }
.tool-h p { margin: 0; color: var(--ink-2); }
.tool-n { flex: none; font: 900 1.3rem 'Montserrat', sans-serif; color: #fff; background: linear-gradient(135deg, #0060a8, #003060); width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; }
.tool-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; align-items: start; }
.tool-in { display: grid; gap: 12px; }
.tf { display: grid; gap: 5px; font-weight: 700; color: var(--ink); font-size: .95rem; }
.tf small { font-weight: 400; color: var(--ink-2); }
.tf input { width: 100%; font: 700 1.05rem 'Montserrat', sans-serif; padding: 11px 14px; border-radius: 12px; border: 1.5px solid #cfdae6; background: var(--paper-2); color: var(--ink); text-align: left; }
.tf input:focus { outline: none; border-color: var(--royal); background: #fff; box-shadow: 0 0 0 4px rgba(0, 96, 168, .12); }
.tf-hint { font-size: .82rem; }
.tf-more { border: 1px dashed #c4d2e1; border-radius: 12px; padding: 10px 14px; }
.tf-more summary { cursor: pointer; font-weight: 800; color: var(--royal); }
.tf-more[open] { display: grid; gap: 12px; }
.tool-out { background: linear-gradient(150deg, #04182c, #0b2a4a); color: #fff; border-radius: 18px; padding: 18px; display: grid; gap: 8px; position: sticky; top: 90px; }
.to { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.to span { color: #cfe0f2; font-size: .92rem; }
.to b { font: 900 1.35rem 'Montserrat', sans-serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.tool-f { margin: 6px 0 0; font: 600 .85rem 'Montserrat', sans-serif; color: #9fc3e6; }
.tool-note:empty { display: none; }
.tool-note { margin: 4px 0 0; color: #ffc2a8; font-weight: 700; font-size: .9rem; }
.tool-src { margin: 16px 0 0; font-size: .88rem; color: var(--ink-2); line-height: 1.8; }
.tool-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ck-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; }
.ck { background: #fff; border: 1px solid #e1e8f0; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-l); position: relative; overflow: hidden; }
.ck::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--gold-grad); }
.ck-top { display: flex; justify-content: space-between; align-items: center; }
.ck-pdf { font: 900 .8rem 'Montserrat', sans-serif; color: #fff; background: #c0392b; padding: 4px 10px; border-radius: 8px; }
.ck-n { color: var(--royal); font-weight: 800; font-size: .9rem; }
.ck h3 { margin: 4px 0 0; font-size: 1.15rem; }
.ck p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.ck-li { margin: 4px 0; padding-inline-start: 18px; color: var(--ink); font-size: .9rem; line-height: 1.8; }
.ck-more { list-style: none; color: var(--ink-2); }
.ck-src { font-size: .8rem !important; }
.ck-dl { margin-top: auto; align-self: flex-start; }
.ck-dl[aria-disabled] { opacity: .85; }
.ck-dl[aria-disabled]::before { content: '🔒 '; }
.ck-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; background: linear-gradient(135deg, #0060a8, #003060); color: #fff; border-radius: 22px; padding: clamp(20px, 3vw, 34px); margin-bottom: 18px; scroll-margin-top: 90px; }
.ck-form h2 { color: #fff !important; font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin: 0 0 8px; }
.ck-form p { color: #dbe8f6; margin: 0; }
.ck-form form { display: grid; gap: 10px; }
.ck-form input[type=text], .ck-form input[type=email] { font: 600 1rem 'Cairo', sans-serif; padding: 12px 14px; border-radius: 12px; border: 0; background: #fff; color: var(--ink); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ck-ok { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; color: #dbe8f6; }
.ck-msg { min-height: 1.4em; font-weight: 700; color: #f0c060 !important; }
.ck-form.done form input, .ck-form.done form .ck-ok, .ck-form.done form button { display: none; }
@media (max-width: 1080px) {
  .pj-grid { grid-template-columns: repeat(2, 1fr); }
  .appr { grid-template-columns: repeat(2, 1fr); }
  .cv-grid { grid-template-columns: 1fr; }
  .cv-card { position: static; max-width: 420px; margin-inline: auto; }
  .creds { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .tool-grid, .ck-form { grid-template-columns: 1fr; }
  .tool-out { position: static; }
  .ck-grid { grid-template-columns: 1fr 1fr; }
  .hx { padding-top: 96px; }
  .hx-row { grid-template-columns: 1fr; }
  .hx-logo { order: -1; width: min(70%, 300px); }
  .lockup { gap: 6px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; }
  .prod-course, .prod-sw { grid-column: span 6; }
}
@media (max-width: 640px) {
  .ck-grid { grid-template-columns: 1fr; }
  .pj-grid { grid-template-columns: 1fr; }
  .cert-wall { grid-template-columns: 1fr; }
  .cert.land { order: 0; }
  .hx { min-height: auto; padding: 108px 0 70px; }
  .hx-logo { width: 58%; }
  .hx-ctas .btn { flex: 1 1 100%; text-align: center; }
  .hx-scroll { display: none; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .st { padding: 24px 8px; border-top: 1px solid rgba(255, 255, 255, .12); }
  .st:nth-child(3) { border-inline-start: 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .g-item.wide { grid-column: span 2; }
  .prod-book { grid-template-columns: 1fr; text-align: center; }
  .prod-book .actions, .prod-price { justify-content: center; }
  .prod-cover { justify-self: center; }
  .timeline::before { inset-inline-start: 7px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; padding-inline-start: 26px; }
  .timeline li::before { inset-inline-start: 0; top: 6px; }
  .timeline li > div { margin: 0; }
  .creds { grid-template-columns: 1fr 1fr; }
  .marquee { padding: 10px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ===== Weekly cases «هل هذا التنفيذ مقبول؟» ===== */
.cs-wrap { display: grid; gap: 40px; }
.cs { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 32px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-l); padding: 24px; color: var(--ink); }
.cs-media img { width: 100%; height: auto; border-radius: 12px; display: block; }
.cs-tag { color: var(--royal); font-weight: 800; margin: 0 0 6px; }
.cs h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0 0 10px; color: var(--ink); }
.cs-q { font-size: 1.12rem; color: var(--ink-2); }
.cs-vote { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0; }
.cs-btn { border: 2px solid var(--paper-3); background: var(--paper-2); color: var(--ink); border-radius: 999px; padding: 10px 22px; font: inherit; font-weight: 800; cursor: pointer; }
.cs-btn.on { border-color: #d89030; background: #fff6e6; }
.cs-mine { flex-basis: 100%; margin: 4px 0 0; color: var(--ink-2); }
.cs-mine.right b { color: #1a7f37; }
.cs-mine.wrong b { color: #b42318; }
.cs-ans { border-top: 1px solid var(--paper-3); padding-top: 16px; }
.cs-ans ul { padding-inline-start: 20px; }
.cs-ans li { margin-bottom: 6px; }
.cs-ans .btn { margin: 6px 0 0 6px; }
.cs-verdict { font-size: 1.8rem; font-weight: 900; color: #b42318; margin: 0 0 6px; }
.cs-ref { font-size: .92rem; color: var(--ink-2); }
.cs-wait { background: var(--paper-2); border-radius: 12px; padding: 16px 18px; }
.cs-wait p { margin: 0 0 6px; }
.cs-soc { display: flex; gap: 16px; font-weight: 800; }
.cs-soc a { color: var(--royal); }
.cs-slides { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cs-slides img { width: 100%; height: auto; border-radius: 10px; display: block; }
.cs-next { background: var(--paper); border-radius: var(--radius); padding: 22px 24px; color: var(--ink); text-align: center; box-shadow: var(--shadow-l); }
.cs-next p, .cs-next h2 { margin: 0; color: var(--ink); }
@media (max-width: 860px) {
  .cs { grid-template-columns: 1fr; padding: 16px; gap: 18px; }
  .cs-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; }
  .cs-slides a { flex: 0 0 78%; scroll-snap-align: center; }
}

/* ===== Unit 0 quiz + certificate ===== */
.qz-wrap { max-width: 900px; }
.qz { display: grid; gap: 18px; }
.qz-q { border: 0; margin: 0; background: var(--paper); border-radius: 14px; box-shadow: var(--shadow-l); padding: 18px 20px; color: var(--ink); }
.qz-q legend { float: inline-start; width: 100%; font-weight: 800; font-size: 1.06rem; margin-bottom: 10px; line-height: 1.7; }
.qz-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--royal); color: #fff; font-size: .9rem; margin-inline-end: 6px; }
.qz-l { color: var(--ink-2); font-weight: 600; font-size: .8rem; margin-inline-start: 6px; white-space: nowrap; }
.qz-o { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--paper-3); margin-top: 8px; cursor: pointer; clear: both; }
.qz-o:hover { background: var(--paper-2); }
.qz-o input { margin-top: 7px; accent-color: #d89030; width: 18px; height: 18px; flex: 0 0 18px; padding: 0; }
.qz-o span { flex: 1; }
.qz-q.bad { box-shadow: 0 0 0 3px #f04438, var(--shadow-l); }
.qz-q.miss { box-shadow: 0 0 0 3px #f0c060, var(--shadow-l); }
.qz-end { background: var(--paper); border-radius: 14px; box-shadow: var(--shadow-l); padding: 20px; color: var(--ink); display: grid; gap: 14px; }
.qz-end input[type=text] { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--paper-3); font: inherit; }
.qz-msg { margin: 0; font-weight: 700; }
.uc-ok { text-align: center; color: #1a7f37; font-weight: 800; margin: 0; }
.uc { max-width: 1000px; margin: 0 auto; aspect-ratio: 1.414; container-type: inline-size; background: linear-gradient(135deg, #ffffff, #f6f1e7); border-radius: 10px; padding: 18px; box-shadow: var(--shadow-l); color: var(--ink); border: 1px solid #ecdfc6; }
.uc-in { height: 100%; border: 3px solid #d89030; outline: 1px solid rgba(240, 192, 96, .6); outline-offset: -12px; border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 3% 6%; gap: 1%; }
.uc-logo { width: 9%; height: auto; }
.uc-k { color: #b06d12; font-weight: 800; font-size: clamp(.9rem, 2.2vw, 1.4rem); margin: 0; }
.uc-to { color: var(--ink-2); margin: 0; font-size: clamp(.75rem, 1.6vw, 1rem); }
.uc-name { color: var(--royal-2); font-size: clamp(1.5rem, 5vw, 3.2rem); font-weight: 900; margin: 0; line-height: 1.3; border-bottom: 2px solid #d89030; padding: 0 4% 1%; }
.uc-what { margin: 0; font-size: clamp(.72rem, 1.6vw, 1.05rem); color: var(--ink); line-height: 1.6; }
.uc-what.en { font-family: Montserrat, sans-serif; color: var(--ink-2); }
.uc-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; width: 100%; border-top: 1px solid #e3cfa6; padding-top: 2%; margin-top: 2%; }
.uc-foot span { display: block; color: var(--ink-2); font-size: clamp(.6rem, 1.2vw, .85rem); }
.uc-foot b { font-size: clamp(.7rem, 1.5vw, 1rem); }
.uc-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 24px 0 10px; }
.uc-note { text-align: center; }
@media (max-width: 640px) { .uc { aspect-ratio: auto; padding: 10px; } .uc-in { padding: 22px 14px; gap: 8px; } .uc-logo { width: 64px; } }
@media print {
  body * { visibility: hidden; }
  .uc, .uc * { visibility: visible; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .uc { position: fixed; inset: 0; margin: auto; width: 100%; max-width: none; box-shadow: none; }
  @page { size: A4 landscape; margin: 8mm; }
}

/* Light hero for cases + quiz, light certificate page (owner: «خلي اللون فاتح» 2026-11-29) */
.page-hero.hero-light { background: linear-gradient(180deg, #ffffff, var(--paper-2)); color: var(--ink); border-bottom: 1px solid var(--paper-3); }
.page-hero.hero-light h1 { color: var(--ink); }
.page-hero.hero-light .lead { color: var(--ink-2); }
.page-hero.hero-light .kicker { color: #b06d12; }
.uc-sec { background: var(--paper-2); padding-top: clamp(40px, 6vw, 70px); }
.page-hero.uc-hero { padding-bottom: 16px; display: flow-root; border-bottom: 0; background: var(--paper-2); }
.uc-hero + .uc-sec { padding-top: 10px; }

/* ===== Engineer's bundle ===== */
.bundle { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; background: var(--paper); border: 1px solid #ecdfc6; border-radius: var(--radius); box-shadow: var(--shadow-l); padding: 24px; color: var(--ink); }
.bundle-media img { width: 100%; height: auto; border-radius: 12px; display: block; }
.bundle h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--ink); margin: 8px 0 10px; }
.bundle .tag { display: inline-block; background: #fff3dc; color: #b06d12; font-weight: 800; border-radius: 999px; padding: 4px 14px; font-size: .85rem; }
.bundle-list { list-style: none; padding: 0; margin: 12px 0; }
.bundle-list li { padding: 6px 0; border-bottom: 1px dashed var(--paper-3); display: flex; justify-content: space-between; gap: 10px; }
.bundle-list s, .bundle-price s { color: var(--ink-2); }
.bundle-price { margin: 14px 0; }
.bundle-price b { font-size: 2.2rem; font-weight: 900; color: var(--royal-2); }
@media (max-width: 860px) { .bundle { grid-template-columns: 1fr; padding: 16px; gap: 16px; } }
/* ===== Community channels ===== */
.community { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 14px; }
.cm-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-weight: 800; color: #fff; text-decoration: none; }
.cm-link svg { width: 20px; height: 20px; flex: 0 0 20px; }
.cm-wa { background: #1fa855; }
.cm-tg { background: #229ed9; }
.cm-link:hover { filter: brightness(1.08); color: #fff; }
.cm-foot .cm-link { padding: 7px 12px; font-size: .9rem; }
.mt-s { margin-top: 18px; }
.cm-inline { margin-top: 26px; padding: 16px 18px; border-radius: 14px; background: rgba(240, 192, 96, .08); border: 1px solid rgba(240, 192, 96, .3); }
.cm-inline p { margin: 0 0 6px; font-weight: 700; }

/* Gumroad overlay host: Gumroad appends an absolutely positioned host with no left/top; on RTL pages it lands off-screen. */
body > div[style*="z-index: 999999"] { left: 0 !important; top: 0 !important; right: auto !important; direction: ltr; }
