/* الوسيل للتجارة والمقاولات: هوية ذهبي/برونزي + أسود على خلفية فاتحة */
@font-face { font-family: "GE"; src: url("../fonts/ge-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "GE"; src: url("../fonts/ge-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "GE"; src: url("../fonts/ge-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Futura"; src: url("../fonts/futura-book.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Futura"; src: url("../fonts/futura-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Futura"; src: url("../fonts/futura-demi.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #f6f2ea; --paper-2: #efe8db; --card: #fffdf9; --ink: #17171b; --ink-2: #2b2a2f; --muted: #6e675c; --line: #e2d9c8;
  --gold: #a87433; --gold-2: #c69248; --gold-3: #7d5119; --gold-soft: #ead9bd;
  --grad: linear-gradient(135deg, #8a5a1c 0%, #c69248 46%, #7a4d16 100%);
  --r: 4px; --shadow: 0 30px 60px -30px rgba(40, 28, 10, .35);
  --ar: "GE", "Segoe UI", Tahoma, sans-serif; --en: "Futura", "Century Gothic", "Segoe UI", sans-serif;
  --wrap: min(1240px, calc(100vw - 32px));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--ar); font-weight: 300; line-height: 1.85; font-size: 17px; overflow-x: hidden; }
html[lang="en"] body { font-family: var(--en); font-weight: 400; line-height: 1.7; letter-spacing: .005em; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.en, .num { font-family: var(--en); }
.num { direction: ltr; unicode-bidi: isolate; }
input[dir="ltr"], .search input { font-family: var(--en); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, box-shadow .35s, color .35s; color: #fff; }
.hdr .wrap { display: flex; align-items: center; gap: 22px; height: 78px; }
.hdr.solid, .hdr.light { background: rgba(246, 242, 234, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 12px; margin-inline-end: auto; }
.brand .mk { width: 54px; height: auto; }
.brand .nm { display: flex; flex-direction: column; line-height: 1.1; }
.brand .nm svg { height: 25px; width: auto; }
.brand .nm small { font-family: var(--en); font-size: 9.5px; letter-spacing: .26em; margin-top: 6px; opacity: .8; }
.hdr .mk .dk { fill: currentColor; }
.nav { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; opacity: .88; }
.nav a::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--gold-2); transform: scaleX(0); transition: transform .3s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.lang { border: 1px solid currentColor; border-radius: 99px; padding: 5px 14px; font-size: 13px; background: none; opacity: .85; }
html[lang="ar"] .lang { font-family: var(--en); }
html[lang="en"] .lang { font-family: var(--ar); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 99px; font-weight: 500; font-size: 15.5px; border: 1px solid transparent; transition: transform .25s, background .25s, color .25s, box-shadow .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--grad); color: #fff; box-shadow: 0 14px 30px -14px rgba(138, 90, 28, .8); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-line { border-color: currentColor; background: transparent; }
.btn svg { width: 19px; height: 19px; }
.hdr .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; }
.burger span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 6px auto; transition: transform .3s; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; background: #1b1712; }
.hero-media, .hero-media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity 1.4s ease; }
.hero-media video.on { opacity: 1; }
/* 20 Oct: the hero text must stay readable over every clip (bright gate / sky / interior) — dark scrim on the text side + text shadows */
.hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(14, 11, 7, .6) 0%, rgba(14, 11, 7, .18) 24%, rgba(14, 11, 7, .32) 50%, rgba(14, 11, 7, .62) 74%, rgba(14, 11, 7, .9) 100%),
  linear-gradient(270deg, rgba(14, 11, 7, .78) 0%, rgba(14, 11, 7, .5) 40%, rgba(14, 11, 7, 0) 72%); }
html[lang="en"] .hero::after { background:
  linear-gradient(180deg, rgba(14, 11, 7, .6) 0%, rgba(14, 11, 7, .18) 24%, rgba(14, 11, 7, .32) 50%, rgba(14, 11, 7, .62) 74%, rgba(14, 11, 7, .9) 100%),
  linear-gradient(90deg, rgba(14, 11, 7, .78) 0%, rgba(14, 11, 7, .5) 40%, rgba(14, 11, 7, 0) 72%); }
.hero h1 { text-shadow: 0 2px 28px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .45); }
.hero p, .hero .kicker { text-shadow: 0 1px 14px rgba(0, 0, 0, .75), 0 1px 2px rgba(0, 0, 0, .65); }
.hero-in { position: relative; z-index: 2; padding: 150px 0 74px; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--gold); }
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.hero .kicker { color: var(--gold-soft); }
.hero h1 { font-weight: 700; font-size: clamp(44px, 7.6vw, 104px); line-height: 1.12; margin: 18px 0 20px; white-space: pre-line; letter-spacing: -.01em; text-wrap: balance; }
html[lang="en"] .hero h1 { font-weight: 500; letter-spacing: -.02em; line-height: 1.02; }
.hero h1 .g { background: linear-gradient(120deg, #e8c892, #c69248 50%, #f0d6a8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { max-width: 640px; font-size: clamp(16px, 1.6vw, 19px); opacity: 1; margin: 0 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-cta .btn-line { color: #fff; }
.hero-foot { position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, .18); }
.hero-foot .wrap { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font-size: 13px; opacity: .85; }
.hero-dots { display: flex; gap: 8px; align-items: center; }
.hero-dots i { width: 26px; height: 2px; background: rgba(255, 255, 255, .35); transition: background .4s, width .4s; }
.hero-dots i.on { background: var(--gold-2); width: 44px; }

/* ---------- marquee ---------- */
.marq { background: var(--ink); color: var(--gold-soft); overflow: hidden; white-space: nowrap; padding: 18px 0; font-size: 19px; }
.marq div { display: inline-flex; gap: 46px; animation: marq 46s linear infinite; padding-inline-start: 46px; }
.marq span { display: inline-flex; align-items: center; gap: 46px; }
.marq span::after { content: ""; width: 8px; height: 8px; background: var(--grad); transform: rotate(45deg); }
@keyframes marq { to { transform: translateX(50%); } }
html[lang="en"] .marq div { animation-name: marq-en; }
@keyframes marq-en { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.pad { padding: clamp(80px, 11vw, 150px) 0; }
.h2 { font-weight: 700; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.22; margin: 14px 0 18px; white-space: pre-line; text-wrap: balance; letter-spacing: -.005em; }
html[lang="en"] .h2 { font-weight: 500; line-height: 1.1; letter-spacing: -.02em; }
.lead { color: var(--muted); max-width: 620px; font-size: 18px; margin: 0; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }

/* about */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about p { color: var(--ink-2); margin: 0 0 18px; }
.about-img { position: relative; aspect-ratio: 4 / 5; }
.about-img > img:first-child { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.about-img .sm { position: absolute; width: 44%; height: auto; aspect-ratio: 1; object-fit: cover; inset: auto auto -7% -4%; border: 8px solid var(--paper); border-radius: var(--r); box-shadow: var(--shadow); }
html[lang="en"] .about-img .sm { inset: auto -4% -8% auto; }
.badge30 { position: absolute; inset: 7% -3% auto auto; background: var(--ink); color: #fff; width: 132px; height: 132px; border-radius: 50%; display: grid; place-content: center; text-align: center; box-shadow: var(--shadow); }
html[lang="en"] .badge30 { inset: 7% auto auto -3%; }
.badge30 b { font-family: var(--en); font-weight: 500; font-size: 40px; line-height: 1; background: linear-gradient(120deg, #e8c892, #c69248); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge30 small { font-size: 12px; opacity: .8; margin-top: 6px; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 34px; border-top: 1px solid var(--line); }
.timeline div { padding: 22px 0 0; padding-inline-end: 18px; position: relative; }
.timeline div::before { content: ""; position: absolute; top: -5px; inset-inline-start: 0; width: 9px; height: 9px; background: var(--grad); transform: rotate(45deg); }
.timeline b { display: block; font-family: var(--en); font-weight: 500; font-size: 30px; color: var(--gold); line-height: 1.2; }
.timeline strong { display: block; font-weight: 700; font-size: 16px; margin-top: 6px; }
.timeline span { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-top: 4px; }

/* divisions */
.divs { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.div { position: relative; grid-column: span 4; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); color: #fff; isolation: isolate; background: #222; }
.div:nth-child(1), .div:nth-child(2) { grid-column: span 6; aspect-ratio: 16 / 11; }
.div:nth-child(6), .div:nth-child(7) { grid-column: span 6; aspect-ratio: 16 / 11; }
.div img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); z-index: -2; }
.div::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(12, 9, 5, .82)); z-index: -1; transition: opacity .5s; }
.div:hover img { transform: scale(1.06); }
.div .in { position: absolute; inset: auto 0 0; padding: clamp(20px, 2.6vw, 34px); }
.div .no { font-family: var(--en); font-size: 13px; letter-spacing: .2em; color: var(--gold-soft); }
.div h3 { font-weight: 700; font-size: clamp(21px, 2.2vw, 30px); line-height: 1.3; margin: 6px 0 8px; }
html[lang="en"] .div h3 { font-weight: 500; }
.div .meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; opacity: .9; }
.div .arr { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); display: grid; place-items: center; transition: background .3s, border-color .3s; flex: none; }
.div:hover .arr { background: var(--grad); border-color: transparent; }
.div .arr svg { width: 16px; }
html[lang="ar"] .arr svg, html[lang="ar"] .flip { transform: scaleX(-1); }

/* مختارات من أعمالنا */
.picks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.picks a { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.picks a:nth-child(1), .picks a:nth-child(6) { grid-column: span 2; aspect-ratio: auto; }
.picks img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.picks a:hover img { transform: scale(1.05); }
.picks .code { position: absolute; inset: 12px auto auto 12px; }
html[lang="en"] .picks .code { inset: 12px 12px auto auto; }
.picks .cap { position: absolute; inset: auto 0 0; padding: 40px 16px 14px; color: #fff; font-size: 14.5px; font-weight: 500; line-height: 1.5;
  background: linear-gradient(180deg, transparent, rgba(12, 9, 5, .78)); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.picks a:hover .cap, .picks a:focus-visible .cap { opacity: 1; transform: none; }
.code { font-family: var(--en); font-size: 12px; letter-spacing: .12em; background: rgba(23, 23, 27, .78); color: #fff; padding: 4px 10px; border-radius: 99px; backdrop-filter: blur(4px); }

/* why */
.dark { background: var(--ink); color: #fff; }
.dark .lead { color: rgba(255, 255, 255, .7); }
.why { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .14); }
.why div { padding: 34px 26px 6px 0; padding-inline: 0 28px; }
.why div + div { border-inline-start: 1px solid rgba(255, 255, 255, .14); padding-inline-start: 28px; }
.why .ic { width: 46px; height: 46px; color: var(--gold-2); margin-bottom: 18px; }
.why h3 { font-weight: 700; font-size: 21px; margin: 0 0 8px; }
html[lang="en"] .why h3 { font-weight: 500; }
.why p { margin: 0; color: rgba(255, 255, 255, .68); font-size: 15.5px; }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px; position: relative; overflow: hidden; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--en); font-size: 64px; font-weight: 500; line-height: 1; display: block; margin-bottom: 26px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-weight: 700; font-size: 21px; margin: 0 0 6px; }
html[lang="en"] .step h3 { font-weight: 500; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }
.step .bar { position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .8s .2s; }
html[lang="en"] .step .bar { transform-origin: left; }
.step.in .bar { transform: scaleX(1); }

/* pdf band */
.pdfband { position: relative; overflow: hidden; color: #fff; background: #120f0b; }
.pdfband img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.pdfband .wrap { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: clamp(60px, 8vw, 110px) 0; }
.pdfband h2 { font-weight: 700; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.25; margin: 0 0 10px; }
html[lang="en"] .pdfband h2 { font-weight: 500; }
.pdfband p { margin: 0; opacity: .8; max-width: 560px; }
.pdfband .acts { display: flex; gap: 12px; flex-wrap: wrap; }
.pdfband .btn-line { color: #fff; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 70px); }
.cinfo { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.cinfo div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.cinfo dt, .cinfo .k { color: var(--muted); font-size: 14px; }
.cinfo a { border-bottom: 1px solid var(--gold-soft); }
.cinfo .num { direction: ltr; unicode-bidi: isolate; }
.map { margin-top: 26px; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); }
.mapbtn { width: 100%; height: 100%; border: 0; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 20px;
  background: radial-gradient(circle at 50% 40%, #fffdf9, #efe8db 70%); color: var(--ink); }
.mapbtn svg { width: 44px; height: 44px; color: var(--gold); }
.mapbtn strong { font-weight: 500; font-size: 16px; }
.mapbtn span { font-size: 14px; color: var(--gold-3); border-bottom: 1px solid var(--gold-soft); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.15); }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow); align-self: start; }
.form h3 { font-weight: 700; font-size: 24px; margin: 0 0 22px; }
html[lang="en"] .form h3 { font-weight: 500; }
.fg { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: grid; gap: 6px; margin-bottom: 14px; }
.fld.full { grid-column: 1 / -1; }
.fld label { font-size: 13.5px; color: var(--muted); }
.fld input, .fld select, .fld textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; width: 100%; min-height: 48px; }
.fld textarea { min-height: 110px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168, 116, 51, .15); }
.hp { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; clip-path: inset(50%); }
.form .row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.form .msg { font-size: 14.5px; margin: 12px 0 0; min-height: 1.6em; }
.form .msg.ok { color: #2f6b3a; } .form .msg.err { color: #9a2f22; }

/* footer */
.ftr { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 60px 0 34px; font-size: 14.5px; }
.ftr .top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: start; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ftr .logo { width: 170px; }
.ftr nav { display: flex; gap: 22px; flex-wrap: wrap; }
.ftr .bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; }

/* floating whatsapp */
.fab { position: fixed; z-index: 40; inset: auto 18px 18px auto; width: 58px; height: 58px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); transition: transform .25s; }
html[lang="ar"] .fab { inset: auto auto 18px 18px; }
.fab:hover { transform: scale(1.06); }
.fab svg { width: 28px; height: 28px; }

/* reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .marq div { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- catalogue page ---------- */
.cat-hero { padding: 150px 0 40px; background: var(--paper); border-bottom: 1px solid var(--line); }
.cat-hero .h2 { font-size: clamp(30px, 4vw, 52px); }
.tabs-wrap { position: sticky; top: 78px; z-index: 30; background: rgba(246, 242, 234, .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; min-height: 66px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 9px 18px; font-size: 14.5px; font-weight: 500; min-height: 42px; transition: background .25s, color .25s, border-color .25s; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab .n { font-family: var(--en); font-size: 12px; opacity: .6; margin-inline-start: 6px; }
.subbar { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 26px 0 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; min-height: 38px; }
.chip { border: 1px solid var(--line); background: transparent; border-radius: 99px; padding: 6px 15px; font-size: 14px; min-height: 38px; }
.chip[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-3); background: rgba(198, 146, 72, .12); }
.search { position: relative; }
.search input { font: inherit; font-size: 15px; border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 9px 18px; min-height: 42px; width: 230px; font-family: var(--en); }
.sec-intro { min-height: 128px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; padding: 26px 0 24px; }
.sec-intro h2 { margin: 0; font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.3; }
html[lang="en"] .sec-intro h2 { font-weight: 500; }
.sec-intro p { margin: 6px 0 0; color: var(--muted); max-width: 720px; }
.grid { columns: 3 320px; column-gap: 18px; padding-bottom: 90px; min-height: 100vh; }
.card { break-inside: avoid; -webkit-column-break-inside: avoid; margin: 0 0 18px; display: inline-block; vertical-align: top; width: 100%; padding: 0; border: 0; background: var(--card); border-radius: var(--r); overflow: hidden; position: relative; text-align: start; box-shadow: 0 1px 0 var(--line); transition: transform .35s, box-shadow .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { width: 100%; height: auto; background: var(--paper-2); }
.card .code { position: absolute; inset: 12px auto auto 12px; }
html[lang="en"] .card .code { inset: 12px 12px auto auto; }
.card .cap { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 13px 16px 15px; font-size: 15px; font-weight: 500; }
.card .cap small { color: var(--gold); font-size: 12.5px; white-space: nowrap; }
.empty { color: var(--muted); padding: 40px 0 120px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: #0e0c09; color: #fff; display: grid; grid-template-rows: auto 1fr auto; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lb.open { opacity: 1; pointer-events: auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; gap: 12px; }
.lb-top .code { font-size: 13px; background: rgba(255, 255, 255, .1); }
.ibtn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .04); display: grid; place-items: center; flex: none; }
.ibtn svg { width: 18px; height: 18px; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; overflow: hidden; padding: 0 70px; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: calc(100svh - 210px); width: auto; height: auto; object-fit: contain; border-radius: 2px; user-select: none; -webkit-user-drag: none; }
.lb-stage .ibtn { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { inset-inline-start: 14px; } .lb-next { inset-inline-end: 14px; }
.lb-bot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 22px 22px; }
.lb-bot h3 { margin: 0; font-weight: 500; font-size: 18px; }
.lb-bot p { margin: 2px 0 0; font-size: 13.5px; opacity: .65; }
.lb-bot .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.lb-bot .btn-line { color: #fff; }

/* sheet (quote form inside catalogue) */
.sheet { position: fixed; inset: 0; z-index: 120; background: rgba(12, 10, 7, .55); display: grid; place-items: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.sheet.open { opacity: 1; pointer-events: auto; }
.sheet .form { width: min(560px, 100%); max-height: calc(100svh - 32px); overflow: auto; position: relative; }
.sheet .x { position: absolute; inset: 14px 14px auto auto; border-color: var(--line); background: var(--paper); }
html[lang="ar"] .sheet .x { inset: 14px auto auto 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr .btn-gold { display: none; }
  .nav.open { display: flex; position: fixed; inset: 78px 0 auto; flex-direction: column; gap: 0; background: var(--paper); color: var(--ink); padding: 8px 16px 20px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .3); }
  .nav.open a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .why { grid-template-columns: 1fr 1fr; }
  .why div:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .why div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .about, .contact { grid-template-columns: 1fr; }
  .about-img { max-width: 520px; margin-inline: auto 0; width: 100%; }
  .divs { grid-template-columns: 1fr 1fr; gap: 12px; }
  .div, .div:nth-child(1), .div:nth-child(2) { grid-column: span 1; aspect-ratio: 3 / 4; }
  .div .in { padding: 14px; } .div h3 { font-size: 17px; } .div .arr { width: 34px; height: 34px; }
  .div:nth-child(1) { grid-column: span 2; aspect-ratio: 4 / 3; }
  .div:nth-child(6), .div:nth-child(7) { grid-column: span 1; aspect-ratio: 3 / 4; }
  .pdfband .wrap { grid-template-columns: 1fr; }
  .picks { grid-template-columns: 1fr 1fr; gap: 10px; }
  .picks a:nth-child(1), .picks a:nth-child(6) { grid-column: span 2; aspect-ratio: 16 / 10; }
  .picks .cap { opacity: 1; transform: none; font-size: 13px; padding: 30px 12px 10px; }
  .sec-intro { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hdr .wrap { height: 66px; gap: 10px; }
  .brand .mk { width: 44px; }
  .brand .nm svg { height: 20px; }
  .brand .nm small { font-size: 8px; letter-spacing: .2em; }
  .nav.open { inset: 66px 0 auto; }
  .tabs-wrap { top: 66px; }
  .hero-in { padding: 120px 0 44px; }
  /* phones: the text spans the full width, so darken the whole text band evenly */
  .hero::after, html[lang="en"] .hero::after { background: linear-gradient(180deg, rgba(14, 11, 7, .6) 0%, rgba(14, 11, 7, .4) 22%, rgba(14, 11, 7, .66) 40%, rgba(14, 11, 7, .66) 78%, rgba(14, 11, 7, .92) 100%); }
  .hero-foot .wrap { font-size: 12px; }
  .hero-foot .hide-s, .hero-foot .num { display: none; }
  .hero-foot .wrap { justify-content: center; }
  .hero-cta .btn { flex: 1 1 100%; }
  .timeline { grid-template-columns: 1fr; border-top: 0; }
  .timeline div { border-inline-start: 1px solid var(--line); padding: 0 0 22px; padding-inline-start: 22px; }
  .timeline div::before { top: 8px; inset-inline-start: -5px; }
  .badge30 { width: 104px; height: 104px; } .badge30 b { font-size: 32px; }
  .why { grid-template-columns: 1fr; }
  .why div, .why div + div { border-inline-start: 0; padding-inline: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .why div:first-child { border-top: 0; }
  .steps { grid-template-columns: 1fr; }
  .fg { grid-template-columns: 1fr; }
  .cinfo div { grid-template-columns: 92px 1fr; }
  .grid { columns: 2 150px; column-gap: 10px; }
  .card { margin-bottom: 10px; }
  .card .cap { padding: 9px 10px 11px; font-size: 13px; flex-direction: column; align-items: start; gap: 2px; }
  .card .code { font-size: 10.5px; padding: 3px 8px; inset: 8px auto auto 8px; }
  .search input { width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; padding-bottom: 2px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .sec-intro { min-height: 150px; }
  .search { width: 100%; }
  .lb-stage { padding: 0 8px; }
  .lb-stage img { max-height: calc(100svh - 270px); }
  .lb-stage .ibtn { display: none; }
  .lb-bot .acts, .lb-bot .acts .btn { width: 100%; }
}
@media print { .hdr, .fab, .marq { display: none !important; } }
