/* ===== Iraqi Craftsmen Club ===== */
:root {
  --blue: #33449C;
  --blue-600: #2A3985;
  --blue-50: #EEF0FA;
  --navy: #0E1433;
  --navy-2: #161E47;
  --gold: #F2B544;
  --gold-600: #D99A22;
  --ink: #141833;
  --muted: #5B6180;
  --line: #E3E6F2;
  --bg: #F7F8FC;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 20px 50px -20px rgba(20, 30, 90, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: 'Noto Sans Arabic', 'Outfit', system-ui, sans-serif;
  --font-h: 'Noto Kufi Arabic', 'Outfit', system-ui, sans-serif;
  --header-h: 76px;
}
html[lang="en"] { --font: 'Outfit', system-ui, sans-serif; --font-h: 'Outfit', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.75; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html[lang="en"] body { line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-h); margin: 0; line-height: 1.3; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-weight: 700; font-size: .85rem; letter-spacing: .04em; color: var(--blue); text-transform: uppercase;
}
.kicker::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: var(--gold); }
.h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); font-weight: 800; margin-bottom: 18px; letter-spacing: -.01em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 64ch; }
.muted { color: var(--muted); }
.head { margin-bottom: clamp(36px, 6vw, 64px); }
.head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.head--center .lead { margin-inline: auto; }
.head--light .kicker { color: var(--gold); }
.head--light .h2 { color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-family: var(--font-h);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  border: 2px solid transparent; font-size: .98rem;
}
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 12px 30px -10px rgba(242, 181, 68, .7); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(242, 181, 68, .9); }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-3px); }
.pill { display: inline-block; padding: 6px 16px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-weight: 700; font-size: .85rem; }

/* ===== Logo mark animation ===== */
.mark .b { transform-box: fill-box; transform-origin: center bottom; }
.mark.is-drawn .b, .loader .b { animation: barUp .9s var(--ease) both; animation-delay: calc(var(--i) * 55ms + var(--md, 0s)); }
@keyframes barUp { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }

/* Loader */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--navy);
  transition: opacity .6s var(--ease), visibility .6s;
}
.mark--loader { width: 120px; color: #fff; }
.loader .b { animation: barPulse 1.2s var(--ease) infinite alternate; animation-delay: calc(var(--i) * 45ms); }
@keyframes barPulse { from { transform: scaleY(.15); opacity: .35; } to { transform: scaleY(1); opacity: 1; } }
body.loaded .loader { opacity: 0; visibility: hidden; }

/* ===== Header ===== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .4s, box-shadow .4s, height .4s var(--ease);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { position: relative; flex-shrink: 0; }
.brand__logo { height: 48px; width: auto; transition: opacity .3s, height .4s var(--ease); }
.brand__logo--color { position: absolute; inset: 0; opacity: 0; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a {
  padding: 8px 12px; border-radius: 999px; color: rgba(255, 255, 255, .88); font-weight: 600; font-size: .92rem;
  position: relative; transition: color .3s, background .3s; white-space: nowrap;
}
.nav a:hover, .nav a.active { color: #fff; background: rgba(255, 255, 255, .12); }
.nav__cta { background: var(--gold) !important; color: var(--navy) !important; margin-inline-start: 6px; }
.lang { display: flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .12); gap: 2px; }
.lang button {
  border: 0; background: transparent; color: #fff; padding: 6px 11px; border-radius: 999px;
  font-weight: 700; font-size: .8rem; font-family: 'Noto Kufi Arabic', 'Outfit', sans-serif; transition: background .3s, color .3s;
}
.lang button.on { background: #fff; color: var(--blue); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: rgba(255, 255, 255, .12); border-radius: 12px; position: relative; }
.burger span { position: absolute; inset-inline: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.header.scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); box-shadow: 0 8px 30px -18px rgba(20, 30, 90, .4); --header-h: 66px; }
.header.scrolled .brand__logo--color { opacity: 1; }
.header.scrolled .brand__logo--white { opacity: 0; }
.header.scrolled .brand__logo { height: 42px; }
.header.scrolled .nav a { color: var(--ink); }
.header.scrolled .nav a:hover, .header.scrolled .nav a.active { background: var(--blue-50); color: var(--blue); }
.header.scrolled .lang { background: var(--blue-50); }
.header.scrolled .lang button { color: var(--blue); }
.header.scrolled .lang button.on { background: var(--blue); color: #fff; }
.header.scrolled .burger { background: var(--blue-50); }
.header.scrolled .burger span { background: var(--blue); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 120px; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.18) translate(-1.5%, 1%); } }
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14, 20, 51, .55) 0%, rgba(14, 20, 51, .78) 55%, rgba(14, 20, 51, .94) 100%),
              linear-gradient(0deg, rgba(14, 20, 51, .9), transparent 45%);
}
html[dir="ltr"] .hero__shade {
  background: linear-gradient(260deg, rgba(14, 20, 51, .55) 0%, rgba(14, 20, 51, .78) 55%, rgba(14, 20, 51, .94) 100%),
              linear-gradient(0deg, rgba(14, 20, 51, .9), transparent 45%);
}
.hero__mark { position: absolute; width: min(46vw, 560px); inset-inline-end: -4vw; bottom: -6vh; color: rgba(255, 255, 255, .06); --md: .4s; }
.hero__content { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; padding: 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-weight: 600; font-size: .9rem; backdrop-filter: blur(8px); }
.hero__title { font-size: clamp(2.5rem, 7vw, 5.6rem); font-weight: 800; margin: 22px 0 18px; line-height: 1.15; letter-spacing: -.02em; }
.hero__title em { font-style: normal; color: var(--gold); position: relative; }
.hero__sub { max-width: 58ch; font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .82); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 46px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 5vw, 60px); margin: 0; }
.hero__stats div { border-inline-start: 3px solid var(--gold); padding-inline-start: 16px; }
.hero__stats dt { font-family: 'Outfit', sans-serif; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.1; }
.hero__stats dd { margin: 4px 0 0; color: rgba(255, 255, 255, .72); font-size: .92rem; }
.hero__in { opacity: 0; transform: translateY(30px); }
body.loaded .hero__in { animation: rise 1s var(--ease) forwards; animation-delay: var(--d); }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .8rem; color: rgba(255, 255, 255, .7); }
.hero__scroll i { width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; position: relative; }
.hero__scroll i::after { content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.reveal[data-anim="right"] { transform: translateX(60px); }
html[dir="ltr"] .reveal[data-anim="right"] { transform: translateX(-60px); }
.reveal[data-anim="zoom"] { transform: scale(.9); }
.reveal[data-anim="up"] { transform: translateY(80px); }
.reveal.in { opacity: 1; transform: none; }

/* ===== About ===== */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__media { position: relative; aspect-ratio: 1 / 1.05; }
.about__img { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__img:hover img { transform: scale(1.06); }
.about__img--a { inset: 0 0 22% 18%; }
.about__img--b { inset: 48% 40% 0 0; border: 6px solid var(--bg); }
html[dir="ltr"] .about__img--a { inset: 0 18% 22% 0; }
html[dir="ltr"] .about__img--b { inset: 48% 0 0 40%; }
.about__badge {
  position: absolute; inset-inline-start: 0; top: 8%; background: var(--blue); color: #fff; padding: 18px 22px;
  border-radius: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; animation: bob 5s ease-in-out infinite;
}
.about__badge small { opacity: .75; font-weight: 600; }
.about__badge strong { font-family: 'Outfit', sans-serif; font-size: 1.9rem; line-height: 1.1; direction: ltr; }
.about__badge span { font-size: .82rem; color: var(--gold); font-weight: 600; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.about__cards { display: grid; gap: 14px; margin-top: 28px; }
.icard { display: flex; gap: 18px; padding: 20px; background: #fff; border-radius: 18px; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.icard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.icard__icon { flex-shrink: 0; width: 50px; height: 50px; border-radius: 14px; background: var(--blue-50); display: grid; place-items: center; }
.icard__icon svg { width: 24px; fill: var(--blue); }
.icard h3 { font-size: 1.08rem; margin-bottom: 4px; }
.icard p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ===== Services ===== */
.services { background: #fff; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.svc {
  position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--bg); overflow: hidden;
  border: 1px solid var(--line); transition: transform .5s var(--ease), background .5s, color .5s; isolation: isolate;
}
.svc::before { content: ''; position: absolute; inset: 0; background: var(--blue); transform: translateY(101%); transition: transform .55s var(--ease); z-index: -1; }
.svc:hover { transform: translateY(-6px); color: #fff; }
.svc:hover::before { transform: none; }
.svc__icon { width: 56px; height: 56px; border-radius: 16px; background: #fff; display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 8px 20px -10px rgba(51, 68, 156, .5); transition: transform .5s var(--ease); }
.svc:hover .svc__icon { transform: rotate(-8deg) scale(1.08); }
.svc__icon svg { width: 28px; fill: var(--blue); }
.svc h3 { font-size: 1.05rem; }
.svc__n { position: absolute; inset-inline-end: 20px; top: 16px; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 2.6rem; opacity: .08; }

/* ===== Timeline ===== */
.timeline { position: relative; display: grid; gap: 34px; padding: 10px 0; }
.timeline__line { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; margin-left: -2px; background: var(--line); border-radius: 4px; }
.timeline__line span { position: absolute; top: 0; inset-inline: 0; height: var(--prog, 0%); background: linear-gradient(var(--blue), var(--gold)); border-radius: 4px; }
.tl { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; position: relative; }
.tl::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border-radius: 50%; background: #fff; border: 5px solid var(--blue); transition: transform .5s var(--ease), border-color .5s; transform: scale(.5);
}
.tl.in::after { transform: scale(1); border-color: var(--gold); }
.tl__card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 14px 40px -26px rgba(20, 30, 90, .45);
  border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s;
}
.tl__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tl__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--blue-50); }
.tl__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tl__img--contain img { object-fit: contain; padding: 16px; }
.tl__card:hover .tl__img img { transform: scale(1.07); }
.tl__body { padding: 20px 24px 22px; }
.tl__body h3 { font-size: 1.2rem; margin-bottom: 6px; }
.tl__body p { margin: 0; color: var(--muted); font-size: .96rem; }
.tl__year { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(2rem, 4vw, 3.4rem); color: var(--blue); line-height: 1; direction: ltr; unicode-bidi: isolate; }
.tl__year small { display: block; font-size: .9rem; color: var(--gold-600); letter-spacing: .1em; margin-top: 6px; font-weight: 700; }
.tl:nth-child(even) .tl__card { order: 2; }
.tl:nth-child(odd) .tl__year { text-align: start; }
.tl:nth-child(even) .tl__year { text-align: end; }
.tl.reveal { transform: translateY(50px); }

/* ===== Numbers ===== */
.numbers { background: radial-gradient(circle at 15% 0%, #24318A 0%, var(--navy) 60%); color: #fff; overflow: hidden; }
.numbers__mark { position: absolute; width: 520px; inset-inline-start: -120px; top: 40px; color: rgba(255, 255, 255, .04); }
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden; position: relative; }
.num { background: var(--navy); padding: clamp(24px, 3.5vw, 42px) clamp(18px, 2.4vw, 30px); transition: background .4s; }
.num:hover { background: var(--navy-2); }
.num strong { font-family: 'Outfit', sans-serif; font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 800; line-height: 1; display: block; color: var(--gold); direction: ltr; text-align: start; unicode-bidi: isolate; }
html[dir="rtl"] .num strong { text-align: end; }
.num p { margin: 12px 0 0; color: rgba(255, 255, 255, .75); font-size: .95rem; }

/* ===== World ===== */
.world__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.world__text > p:not(.kicker) { color: var(--muted); }
.world__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.chip { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); }
.chip b { display: block; font-family: var(--font-h); margin-bottom: 4px; }
.chip span { font-size: .9rem; color: var(--muted); }
.world__photos { position: relative; aspect-ratio: 1; }
.ph { position: absolute; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ph:hover img { transform: scale(1.08); }
.ph--1 { inset: 0 30% 30% 0; z-index: 1; }
.ph--2 { inset: 22% 0 22% 52%; z-index: 2; border: 6px solid var(--bg); }
.ph--3 { inset: 62% 20% 0 8%; z-index: 3; border: 6px solid var(--bg); }
.flags__label, .press__label, .aware__label { text-align: center; color: var(--muted); font-weight: 600; margin: 70px 0 22px; }

/* Marquee */
.marquee { overflow: hidden; direction: ltr; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 18px; animation: scroll var(--dur, 40s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--rev .marquee__track { animation-direction: reverse; }
@keyframes scroll { to { transform: translateX(-50%); } }
.flag { display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); white-space: nowrap; font-weight: 600; }
.flag img { width: 44px; height: 30px; object-fit: cover; border-radius: 6px; }
.logo-tile { width: 170px; height: 96px; flex-shrink: 0; display: grid; place-items: center; background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 14px; }
.logo-tile img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.logo-tile:hover img { filter: none; opacity: 1; transform: scale(1.08); }
.marquee--partners .logo-tile { width: 210px; height: 120px; }

/* ===== Care ===== */
.care { background: #fff; }
.care__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.care__phone { max-width: 320px; margin-inline: auto; border-radius: 36px; overflow: hidden; border: 10px solid var(--navy); box-shadow: var(--shadow); transform-origin: center; }
.care__phone img { width: 100%; }
.care__stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 10px; }
.ring { position: relative; width: 170px; aspect-ratio: 1; display: grid; place-items: center; text-align: center; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--blue-50); stroke-width: 10; }
.ring .ring__fg { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 2s var(--ease) .3s; }
.ring--gold .ring__fg { stroke: var(--gold); }
.ring.in .ring__fg { stroke-dashoffset: calc(327 - 327 * var(--p)); }
.ring strong { display: block; font-family: 'Outfit', sans-serif; font-size: 2.6rem; line-height: 1; color: var(--blue); }
.ring span { font-size: .82rem; color: var(--muted); display: block; max-width: 110px; margin-top: 4px; line-height: 1.4; }
.aware { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.aware figure { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 1; box-shadow: 0 10px 30px -20px rgba(20, 30, 90, .5); }
.aware img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.aware figure:hover img { transform: scale(1.07) rotate(-1deg); }

/* ===== Rewards (bento) ===== */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 18px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.tile > img:not(.float) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile:hover > img:not(.float) { transform: scale(1.06); }
.tile::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 20, 51, .92), rgba(14, 20, 51, .1) 65%); z-index: -1; }
.tile__body { padding: 24px; }
.tile__body strong { font-family: 'Outfit', sans-serif; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; color: var(--gold); display: block; direction: ltr; text-align: start; unicode-bidi: isolate; }
html[dir="rtl"] .tile__body strong { text-align: end; }
.tile__body p { margin: 8px 0 0; font-weight: 600; }
.tile--cars { grid-column: span 2; grid-row: span 2; }
.tile--flat { grid-column: span 2; }
.tile--light { background: #fff; color: var(--ink); border: 1px solid var(--line); flex-direction: column; justify-content: space-between; align-items: stretch; }
.tile--light::before { display: none; }
.tile--light .tile__body strong { color: var(--blue); }
.tile--home .float { width: 80%; margin: 18px auto 0; }
.tile--blue { background: var(--blue); flex-direction: column; justify-content: space-between; align-items: stretch; }
.tile--blue::before { display: none; }
.tile__icon { width: 64px; margin: 24px 24px 0; fill: rgba(255, 255, 255, .9); animation: spinTool 6s var(--ease) infinite; }
@keyframes spinTool { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-25deg); } 90% { transform: rotate(10deg); } }
.tile--gifts { grid-column: span 4; grid-row: span 1; flex-direction: row; align-items: center; }
.tile--gifts .tile__body { flex: 1; font-family: var(--font-h); font-size: clamp(1.1rem, 2vw, 1.5rem); }
.gifts { display: flex; gap: 12px; height: 100%; padding: 18px; flex: 1.4; }
.gifts img { flex: 1; min-width: 0; object-fit: contain; mix-blend-mode: multiply; }
.float { animation: float 6s ease-in-out infinite; animation-delay: var(--f, 0s); }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ===== Umrah ===== */
.umrah { position: relative; padding: clamp(80px, 12vw, 150px) 0; overflow: hidden; color: #fff; }
.umrah__bg { position: absolute; inset: 0; }
.umrah__bg img { width: 100%; height: 120%; object-fit: cover; transform: translateY(var(--py, 0)); will-change: transform; }
.umrah::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 20, 51, .85), rgba(14, 20, 51, .55)); z-index: 1; }
.umrah__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.umrah__card { background: rgba(255, 255, 255, .08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .18); border-radius: 28px; padding: clamp(28px, 4vw, 48px); }
.umrah__card .kicker { color: var(--gold); }
.umrah__card .muted { color: rgba(255, 255, 255, .7); }
.umrah__num { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 16px; }
.umrah__num strong { font-family: 'Outfit', sans-serif; font-size: clamp(3rem, 6vw, 4.6rem); color: var(--gold); line-height: 1; direction: ltr; }
.umrah__ph { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); border: 6px solid rgba(255, 255, 255, .15); transform: rotate(2deg); }
.umrah__ph.in { transform: rotate(2deg); }
.umrah__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ===== Stars ===== */
.stars__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.star {
  position: relative; border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, #DDE2F4, #F2F4FB);
  cursor: pointer; text-align: start; border: 0; padding: 0; color: inherit; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.star:hover, .star:focus-visible { transform: translateY(-8px); box-shadow: var(--shadow); outline: none; }
.star__img { aspect-ratio: 4 / 5; overflow: hidden; }
.star__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.star:hover .star__img img { transform: scale(1.06); }
.star__rank {
  position: absolute; top: 14px; inset-inline-start: 14px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--blue); font-family: 'Outfit', sans-serif; font-weight: 800; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .4);
}
.star:nth-child(-n+3) .star__rank { background: var(--gold); color: var(--navy); }
.star__info { position: absolute; inset: auto 0 0; padding: 60px 18px 18px; background: linear-gradient(0deg, rgba(14, 20, 51, .95), transparent); color: #fff; }
.star__gov { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--gold); color: var(--navy); margin-bottom: 8px; }
.star__name { font-family: var(--font-h); font-weight: 700; font-size: 1.05rem; line-height: 1.35; display: block; }
.star__pts { font-family: 'Outfit', sans-serif; font-size: .9rem; opacity: .8; display: block; direction: ltr; text-align: start; unicode-bidi: isolate; }
html[dir="rtl"] .star__pts { direction: rtl; text-align: start; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(14, 20, 51, .7); backdrop-filter: blur(6px); animation: fade .3s; }
.modal__card { position: relative; width: min(820px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: #fff; border-radius: 28px; display: grid; grid-template-columns: .9fr 1.1fr; animation: pop .5s var(--ease); }
.modal__img { background: linear-gradient(180deg, #DDE2F4, #F2F4FB); }
.modal__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.modal__body { padding: clamp(24px, 4vw, 44px); align-self: center; }
.modal__body h3 { font-size: 1.6rem; margin: 12px 0 6px; }
.modal__pts { color: var(--muted); }
.modal__pts strong { font-family: 'Outfit', sans-serif; font-size: 1.6rem; color: var(--blue); }
.modal__x { position: absolute; top: 12px; inset-inline-end: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--blue-50); color: var(--blue); font-size: 1.6rem; line-height: 1; z-index: 2; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(20px); } }

/* ===== Media ===== */
.media { background: #fff; overflow: hidden; }
.media__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.feat { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.feat__n { font-family: 'Outfit', sans-serif; font-weight: 800; color: var(--gold); font-size: 1.4rem; }
.feat h3 { font-size: 1.15rem; margin-bottom: 6px; }
.feat p { color: var(--muted); margin: 0; font-size: .96rem; }
.media__stats { display: flex; gap: 40px; margin-top: 26px; }
.media__stats strong { font-family: 'Outfit', sans-serif; font-size: 2.8rem; color: var(--blue); display: block; line-height: 1; }
.media__stats span { color: var(--muted); font-size: .92rem; }
.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 56%; border-radius: 34px; overflow: hidden; border: 9px solid var(--navy); box-shadow: var(--shadow); background: var(--navy); }
.phone img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.phone--a { inset-inline-start: 0; top: 0; }
.phone--b { inset-inline-end: 0; bottom: 0; }
.play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: rgba(255, 255, 255, .9); }
.play::before { content: ''; position: absolute; left: 25px; top: 19px; border-left: 18px solid var(--blue); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.play::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }

/* ===== Sawa ===== */
.sawa { background: linear-gradient(160deg, #F3F0FF 0%, #EEF0FA 50%, #fff 100%); overflow: hidden; }
.sawa__glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 92, 255, .25), transparent 70%); top: -100px; inset-inline-end: -150px; animation: drift 12s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-80px, 120px); } }
.sawa__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; position: relative; }
.sawa__visual { position: relative; aspect-ratio: 1; }
.sawa__p1 { position: absolute; width: 78%; inset-inline-start: 0; top: 0; animation: float 7s ease-in-out infinite; }
.sawa__p2 { position: absolute; width: 62%; inset-inline-end: 0; bottom: 0; animation: float 7s ease-in-out infinite 1.5s; }
.tabs { display: inline-flex; padding: 5px; background: #fff; border-radius: 999px; border: 1px solid var(--line); margin: 8px 0 18px; }
.tabs button { border: 0; background: none; padding: 9px 22px; border-radius: 999px; font-weight: 700; color: var(--muted); transition: background .35s, color .35s; font-family: var(--font-h); }
.tabs button[aria-selected="true"] { background: var(--blue); color: #fff; }
.checks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checks li { position: relative; padding: 12px 14px; padding-inline-start: 44px; background: #fff; border-radius: 14px; font-weight: 600; font-size: .94rem; animation: rise .6s var(--ease) both; animation-delay: calc(var(--k) * 60ms); opacity: 0; transform: translateY(14px); }
.checks li::before { content: '✓'; position: absolute; inset-inline-start: 12px; top: 50%; translate: 0 -50%; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-size: .75rem; font-weight: 800; }
.ai { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--navy); color: rgba(255, 255, 255, .85); font-size: .95rem; }
.ai span:first-child { flex-shrink: 0; font-family: 'Outfit', sans-serif; font-weight: 800; padding: 6px 10px; border-radius: 10px; background: linear-gradient(135deg, #7C5CFF, var(--blue)); color: #fff; }
.sawa__foot { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; margin-top: 18px; }
.sawa__kpi strong { font-family: 'Outfit', sans-serif; font-size: 2.4rem; color: var(--blue); display: block; line-height: 1; direction: ltr; text-align: start; unicode-bidi: isolate; }
html[dir="rtl"] .sawa__kpi strong { text-align: end; }
.sawa__kpi span { color: var(--muted); font-size: .9rem; }
.qr { display: flex; gap: 12px; align-items: center; padding: 10px; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px -20px rgba(20, 30, 90, .5); max-width: 260px; }
.qr img { width: 76px; height: 76px; }
.qr span { font-size: .85rem; font-weight: 600; }
.screens { display: flex; justify-content: center; gap: clamp(12px, 3vw, 36px); margin-top: 70px; }
.screens img { width: min(220px, 30%); border-radius: 26px; border: 7px solid var(--navy); box-shadow: var(--shadow); }
.screens img:nth-child(2) { translate: 0 -30px; }

/* ===== Partners ===== */
.partners { padding-bottom: clamp(72px, 10vw, 120px); }

/* ===== Join / contact ===== */
.join { position: relative; padding: clamp(80px, 12vw, 140px) 0; color: #fff; overflow: hidden; }
.join__bg { position: absolute; inset: 0; }
.join__bg img { width: 100%; height: 100%; object-fit: cover; }
.join::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(51, 68, 156, .95), rgba(14, 20, 51, .92)); z-index: 1; }
.join__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.join__cta p { color: rgba(255, 255, 255, .8); font-size: 1.1rem; max-width: 48ch; }
.contact { background: #fff; color: var(--ink); border-radius: 28px; padding: clamp(24px, 3.5vw, 36px); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .5); }
.contact h3 { font-size: 1.4rem; margin-bottom: 14px; }
.contact__row { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 16px; transition: background .3s; }
.contact__row:hover { background: var(--blue-50); }
.contact__row svg { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--blue); fill: #fff; flex-shrink: 0; }
.contact__row small { display: block; color: var(--muted); font-weight: 600; }
.contact__row span { font-weight: 700; }

/* ===== Footer ===== */
.footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 50px 0 40px; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer img { height: 70px; width: auto; }
.footer__thanks { color: var(--gold); font-family: var(--font-h); font-weight: 600; margin: 8px 0 0; }
.footer__copy { font-size: .85rem; margin: 0; }

.totop { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 1.2rem; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s var(--ease); pointer-events: none; }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }

/* Language switch fade */
body.switching main, body.switching .nav { opacity: .2; transition: opacity .2s; }
main, .nav { transition: opacity .35s; }

/* ===== Responsive ===== */
@media (max-width: 1180px) {
  .nav a { padding: 8px 9px; font-size: .86rem; }
}
@media (max-width: 1060px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 6px;
    background: rgba(14, 20, 51, .97); backdrop-filter: blur(10px);
    clip-path: circle(0 at calc(100% - 40px) 38px); transition: clip-path .7s var(--ease); margin: 0;
  }
  html[dir="rtl"] .nav { clip-path: circle(0 at 40px 38px); }
  .nav a, .header.scrolled .nav a { color: #fff; font-size: 1.3rem; padding: 10px 24px; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s var(--ease); }
  .header.open .nav { clip-path: circle(150% at 50% 0); }
  .header.open .nav a { opacity: 1; transform: none; }
  .header.open .nav a:nth-child(2) { transition-delay: .05s; } .header.open .nav a:nth-child(3) { transition-delay: .1s; }
  .header.open .nav a:nth-child(4) { transition-delay: .15s; } .header.open .nav a:nth-child(5) { transition-delay: .2s; }
  .header.open .nav a:nth-child(6) { transition-delay: .25s; } .header.open .nav a:nth-child(7) { transition-delay: .3s; }
  .header.open .nav a:nth-child(8) { transition-delay: .35s; }
  .lang { margin-inline-start: auto; }
  .header.open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .header.open .burger span:nth-child(2) { opacity: 0; }
  .header.open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .header.open .burger { background: rgba(255, 255, 255, .15); }
  .header.open .burger span { background: #fff; }
  .num-grid { grid-template-columns: repeat(2, 1fr); }
  .stars__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .about__grid, .world__grid, .care__grid, .media__grid, .sawa__grid, .umrah__inner, .join__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; width: 100%; margin-inline: auto; }
  .world__photos { max-width: 520px; width: 100%; margin-inline: auto; }
  .sawa__visual { max-width: 460px; width: 100%; margin-inline: auto; }
  .phones { height: 480px; max-width: 420px; width: 100%; margin-inline: auto; }
  .umrah__ph { max-width: 520px; }
  .care__stats { justify-content: center; }
  .care__grid > div:last-child { text-align: center; }
  .care__grid .lead { margin-inline: auto; }
  .aware { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .tile--cars { grid-column: span 2; grid-row: span 2; }
  .tile--flat, .tile--gifts { grid-column: span 2; }
  .tile--gifts { flex-direction: column; grid-row: span 2; }
  /* timeline: single rail */
  .timeline__line { left: 18px; margin: 0; }
  html[dir="rtl"] .timeline__line { left: auto; right: 18px; }
  .tl { grid-template-columns: 1fr; gap: 12px; padding-inline-start: 54px; }
  .tl::after { left: 18px; top: 18px; margin: -11px 0 0 -9px; }
  html[dir="rtl"] .tl::after { left: auto; right: 18px; margin: -11px -9px 0 0; }
  .tl .tl__year, .tl:nth-child(even) .tl__year, .tl:nth-child(odd) .tl__year { order: 0; text-align: start; }
  html[dir="rtl"] .tl .tl__year { text-align: right; }
  .tl .tl__card, .tl:nth-child(even) .tl__card { order: 1; }
  .tl__year { font-size: 1.8rem; }
  .tl__year small { display: inline; margin-inline-start: 10px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --header-h: 66px; }
  .brand__logo { height: 40px; }
  .lang button { padding: 6px 8px; font-size: .74rem; }
  .hero__mark { width: 80vw; opacity: .7; }
  .hero__stats dt { font-size: 1.7rem; }
  .stars__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .star__info { padding: 50px 12px 12px; }
  .star__name { font-size: .92rem; }
  .world__chips, .checks { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .tile--cars, .tile--flat, .tile--gifts { grid-column: auto; }
  .tile--cars { grid-row: span 1; }
  .gifts { width: 100%; }
  .modal__card { grid-template-columns: 1fr; }
  .modal__img { max-height: 46vh; }
  .phones { height: 400px; }
  .num strong { font-size: 2rem; }
  .ring { width: 140px; }
  .screens img:nth-child(2) { translate: 0 -16px; }
  .logo-tile { width: 130px; height: 80px; }
  .marquee--partners .logo-tile { width: 160px; height: 96px; }
  .about__badge { padding: 12px 16px; }
  .about__badge strong { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .hero__in, .checks li { opacity: 1 !important; transform: none !important; }
}

[hidden] { display: none !important; }
.star__year {
  position: absolute; top: 18px; inset-inline-end: 14px; z-index: 1; padding: 4px 12px; border-radius: 999px;
  background: rgba(51, 68, 156, .92); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: .8rem;
  letter-spacing: .04em; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .4);
}

/* ===== Points programme ===== */
.points { background: radial-gradient(circle at 85% 0%, #2A3B9A 0%, var(--navy) 55%); color: #fff; overflow: hidden; }
.points__mark { position: absolute; width: 480px; inset-inline-end: -120px; top: 60px; color: rgba(255, 255, 255, .04); }
.points .lead { color: rgba(255, 255, 255, .78); }
.sub-h { text-align: center; font-size: clamp(1.25rem, 2.4vw, 1.7rem); margin: clamp(56px, 8vw, 90px) 0 28px; color: #fff; }
.sub-h::after { content: ''; display: block; width: 50px; height: 3px; border-radius: 3px; background: var(--gold); margin: 12px auto 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; counter-reset: s; }
.steps::before { content: ''; position: absolute; top: 38px; inset-inline: 16%; height: 2px; background: repeating-linear-gradient(90deg, rgba(242, 181, 68, .6) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 12px; }
.step__n {
  display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.9rem; color: var(--navy);
  background: radial-gradient(circle at 35% 30%, #FFE3A3, var(--gold) 55%, var(--gold-600)); box-shadow: 0 0 0 8px rgba(242, 181, 68, .15), 0 14px 30px -10px rgba(242, 181, 68, .6);
  position: relative; z-index: 1;
}
.step.in .step__n { animation: coinFlip 1s var(--ease) both; animation-delay: calc(var(--i) * 150ms + .2s); }
@keyframes coinFlip { from { transform: rotateY(180deg) scale(.6); } to { transform: none; } }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: rgba(255, 255, 255, .7); font-size: .95rem; margin: 0; }

.tiers { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 18px; align-items: stretch; }
.tier { border-radius: var(--radius); padding: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(242, 181, 68, .35); display: flex; flex-direction: column; gap: 18px; transition: transform .5s var(--ease), border-color .4s, background .4s; }
.tier:hover { transform: translateY(-6px); border-color: var(--gold); background: rgba(255, 255, 255, .09); }
.tier__num { display: flex; align-items: center; gap: 14px; }
.tier__num strong {
  font-family: 'Outfit', sans-serif; font-size: 4.2rem; line-height: 1; font-weight: 800;
  background: linear-gradient(180deg, #FFE7AE, var(--gold) 50%, #B97E14); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tier__num small { font-weight: 600; color: rgba(255, 255, 255, .8); max-width: 9em; line-height: 1.4; }
.coin { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; background: radial-gradient(circle at 35% 30%, #FFE3A3, var(--gold) 55%, var(--gold-600)); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35); animation: spinCoin 4s linear infinite; }
@keyframes spinCoin { 0%, 100% { transform: rotateY(0); } 50% { transform: rotateY(180deg); } }
.tier__logos { flex: 1; display: grid; grid-template-columns: repeat(var(--cols, 1), 1fr); gap: 10px; background: #fff; border-radius: 16px; padding: 14px; align-content: center; }
.tier--2 .tier__logos { --cols: 3; }
.tier__logos img { width: 100%; height: 54px; object-fit: contain; padding: 4px 8px; transition: transform .4s var(--ease); }
.tier__logos img:hover { transform: scale(1.08); }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(56px, 8vw, 90px); }
.trust__card { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.trust__card--wide { grid-column: 1 / -1; background: linear-gradient(120deg, rgba(51, 68, 156, .55), rgba(255, 255, 255, .05)); }
.trust__card--wide p { font-size: 1.05rem; }
.trust__card--gold { border-color: rgba(242, 181, 68, .55); background: linear-gradient(160deg, rgba(242, 181, 68, .16), rgba(255, 255, 255, .04)); }
.trust__icon { width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: rgba(242, 181, 68, .15); }
.trust__icon svg { width: 26px; fill: var(--gold); }
.trust h3 { font-size: 1.12rem; margin-bottom: 6px; }
.trust p { margin: 0; color: rgba(255, 255, 255, .75); font-size: .95rem; }

.redeem { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.rd { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; background: #fff; }
.rd img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.rd img.rd__contain { object-fit: contain; padding: 16px 16px 70px; }
.rd:hover img { transform: scale(1.08); }
.rd::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 20, 51, .92), transparent 55%); }
.rd figcaption { position: absolute; inset: auto 0 0; z-index: 1; padding: 16px; font-family: var(--font-h); font-weight: 700; font-size: .98rem; line-height: 1.4; }

.marquee--partners .logo-tile img { filter: none; opacity: 1; }

@media (max-width: 1060px) {
  .tiers { grid-template-columns: 1fr 1fr; }
  .tier--2 { grid-column: 1 / -1; }
  .redeem { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { display: none; }
  .tiers, .trust { grid-template-columns: 1fr; }
  .redeem { grid-template-columns: repeat(2, 1fr); }
  .rd:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .tier--2 .tier__logos { --cols: 3; }
  .tier__logos img { height: 44px; padding: 2px 4px; }
}

/* ===== Social ===== */
.social { margin-top: 14px; padding: 16px 14px 4px; border-top: 1px solid var(--line); }
.social__title { font-weight: 700; font-family: var(--font-h); margin: 0 0 12px; font-size: .98rem; }
.social__icons { display: flex; gap: 12px; flex-wrap: wrap; }
.soc { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); transition: transform .35s var(--ease), background .3s, box-shadow .35s; }
.soc svg { width: 22px; fill: var(--blue); transition: fill .3s; }
.soc:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -10px rgba(20, 30, 90, .5); }
.soc:hover svg { fill: #fff; }
.soc--fb:hover { background: #1877F2; }
.soc--yt:hover { background: #FF0000; }
.soc--in:hover { background: #0A66C2; }
.soc--ig:hover { background: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF); }
.social--footer { border: 0; padding: 6px 0 0; text-align: center; }
.social--footer .social__title { color: #fff; font-weight: 600; font-size: .92rem; }
.social--footer .social__icons { justify-content: center; }
.social--footer .soc { background: rgba(255, 255, 255, .08); }
.social--footer .soc svg { fill: #fff; }

/* ===== App store buttons ===== */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px; min-width: 190px;
  border-radius: 14px; background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .25);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
}
.store:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55); background: #111; }
.store svg { width: 28px; height: 28px; flex-shrink: 0; fill: #fff; }
.store span { display: flex; flex-direction: column; line-height: 1.15; text-align: start; }
.store small { font-size: .72rem; opacity: .85; }
.store b { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
.join .stores { margin-top: 26px; }
.join .store { background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); }
.qr { transition: transform .35s var(--ease); }
.qr:hover { transform: translateY(-3px); }
.store b, .store small { white-space: nowrap; }
@media (max-width: 640px) {
  .store { flex: 1 1 150px; min-width: 0; justify-content: center; padding: 10px 12px; gap: 9px; }
  .store b { font-size: 1.02rem; }
  .store svg { width: 24px; height: 24px; }
}

.checks li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Logo tiles: fixed inner box so every logo is scaled to fit and centred */
.logo-tile { display: flex; align-items: center; justify-content: center; padding: 14px 18px; overflow: hidden; }
.logo-tile img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; object-position: center; }

/* ===== Rewards fixes ===== */
.tile--flat > img:not(.float) { object-position: 60% 30%; }
.tile--cars > img:not(.float) { object-position: 30% 50%; }
.tile--home { justify-content: flex-end; }
.tile--home .float { width: auto; max-width: 78%; max-height: 52%; object-fit: contain; margin: 16px auto 0; flex-shrink: 1; min-height: 0; }
.tile--home .tile__body { padding-top: 10px; }

/* ===== Videos ===== */
.sub-h--dark { color: var(--ink); }
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video { margin: 0; }
.video__btn, .video__frame {
  display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 20px; overflow: hidden;
  background: var(--navy); box-shadow: var(--shadow); position: relative;
}
.video__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.video__btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 20, 51, .45), transparent 60%); }
.video__btn:hover img { transform: scale(1.06); filter: brightness(.85); }
.video__play {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .5); transition: transform .4s var(--ease);
}
.video__play::before { content: ''; position: absolute; left: 29px; top: 23px; border-left: 20px solid var(--navy); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.video__play::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(242, 181, 68, .8); animation: ping 2s var(--ease) infinite; }
.video__btn:hover .video__play { transform: scale(1.1); }
.video__btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.video__t { margin: 14px 4px 0; font-family: var(--font-h); font-weight: 700; font-size: 1rem; line-height: 1.5; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 900px) { .videos { grid-template-columns: 1fr 1fr; } .video:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .videos { grid-template-columns: 1fr; } }
.video__yt { display: inline-flex; align-items: center; gap: 6px; margin: 6px 4px 0; font-size: .85rem; font-weight: 600; color: var(--muted); transition: color .3s; }
.video__yt svg { width: 18px; fill: #FF0000; }
.video__yt:hover { color: var(--ink); }

/* ===== Design review fixes ===== */
:root { --gold-text: #8A5D00; } /* gold that passes 4.5:1 on light backgrounds */
.tl__year small, .feat__n { color: var(--gold-text); }

/* Visible keyboard focus everywhere */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.points :focus-visible, .numbers :focus-visible, .footer :focus-visible, .hero :focus-visible, .join :focus-visible { outline-color: #fff; }

/* Comfortable tap targets (44px) */
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.video__yt { min-height: 44px; padding: 0 4px; }
.tabs button { min-height: 46px; }
.hero__scroll { min-width: 64px; padding: 4px 8px; }
@media (max-width: 1060px) {
  .lang { padding: 3px; }
  .lang button { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; }
}
.tile--home .tile__art { display: block; width: calc(100% - 24px); flex: 1 1 auto; min-height: 0; object-fit: cover; margin: 12px 12px 0; border-radius: 14px; }
.tile > img.tile__art { position: static; inset: auto; z-index: auto; height: auto; aspect-ratio: 580 / 440; flex: 0 1 auto; max-height: 62%; transform: none; }
.tile--home .tile__body { padding: 12px 20px 18px; }
.tile--home .tile__body strong { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.tile--home .tile__body p { margin-top: 4px; font-size: .92rem; }
.tile > img.tile__art { object-fit: contain; width: auto; max-width: calc(100% - 24px); height: 62%; max-height: none; align-self: center; margin: 12px auto 0; }
@media (max-width: 640px) { .tile > img.tile__art { height: 58%; } }

.qr img { width: 96px; height: 96px; border-radius: 8px; }

/* ===== Language links (one real page per language) ===== */
.lang a {
  color: #fff; padding: 6px 11px; border-radius: 999px; font-weight: 700; font-size: .8rem;
  font-family: 'Noto Kufi Arabic', 'Outfit', sans-serif; transition: background .3s, color .3s; line-height: 1.6;
}
.lang a.on { background: #fff; color: var(--blue); }
.header.scrolled .lang a { color: var(--blue); }
.header.scrolled .lang a.on { background: var(--blue); color: #fff; }
@media (max-width: 1060px) { .lang a { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; } }
@media (max-width: 640px) { .lang a { padding: 6px 8px; font-size: .74rem; } }

/* ===== Craftsman cards ===== */
.star-card { position: relative; }
.star-card .star { display: block; width: 100%; }
.star__img { display: block; }

/* ===== FAQ ===== */
.faq { background: #fff; }
.faq__inner { max-width: 900px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; transition: border-color .3s, box-shadow .3s, background .3s; }
.faq__item[open] { background: #fff; border-color: transparent; box-shadow: var(--shadow); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; min-height: 44px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: 1.05rem; margin: 0; line-height: 1.5; }
.faq__icon { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-50); position: relative; transition: background .3s, transform .4s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--blue); border-radius: 2px; transition: transform .4s var(--ease), background .3s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--blue); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__a { padding: 0 22px 20px; color: var(--muted); }
.faq__a p { margin: 0; }
.faq__item[open] .faq__a { animation: rise .45s var(--ease) both; }

/* Redeem cards: 8 options */
.redeem { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) {
  .redeem { grid-template-columns: repeat(2, 1fr); }
  .rd:last-child { grid-column: auto; aspect-ratio: 3 / 4; }
}

/* Redeem cards: flexible rows, last row centred (11 options) */
.redeem { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.redeem .rd { flex: 0 0 calc((100% - 42px) / 4); }
@media (max-width: 1060px) { .redeem .rd { flex-basis: calc((100% - 28px) / 3); } }
@media (max-width: 760px) { .redeem .rd { flex-basis: calc((100% - 14px) / 2); } }

/* Redeem: Sawa app categories (5 per row) + club benefits */
.redeem--app .rd, .redeem--club .rd { flex: 0 0 calc((100% - 56px) / 5); }
.sub-h--sm { font-size: clamp(1.1rem, 2vw, 1.35rem); margin-top: 40px; }
@media (max-width: 1060px) { .redeem--app .rd, .redeem--club .rd { flex-basis: calc((100% - 28px) / 3); } }
@media (max-width: 760px) { .redeem--app .rd, .redeem--club .rd { flex-basis: calc((100% - 14px) / 2); } }
.rd figcaption { font-size: .92rem; }

/* ===== Rewards in the Sawa app: three tiers ===== */
/* 1. Grand rewards (bento) */
.rw-premium { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; }
.rp {
  position: relative; margin: 0; border-radius: 22px; overflow: hidden; isolation: isolate; background: var(--navy-2);
  border: 1px solid rgba(242, 181, 68, .45); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .8);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
}
.rp:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 30px 60px -26px rgba(242, 181, 68, .45); }
.rp > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.rp:hover > img { transform: scale(1.06); }
.rp::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 20, 51, .95) 0%, rgba(14, 20, 51, .55) 38%, transparent 70%); }
.rp figcaption { position: absolute; inset: auto 0 0; padding: 20px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.rp__tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--gold); color: var(--navy); font-size: .72rem; font-weight: 800; margin-bottom: 6px; }
.rp__tag::before { content: '★'; font-size: .7rem; }
.rp strong { font-family: var(--font-h); font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.3; color: #fff; }
.rp__d { color: rgba(255, 255, 255, .82); font-size: .9rem; line-height: 1.5; }
.rp--cars { grid-column: span 2; grid-row: span 2; }
.rp--cars > img { object-position: 22% 50%; }
.rp--cars strong { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.rp--prize { grid-column: span 2; }
.rp--prize > img { object-position: 60% 25%; }
.rp--assets > img { object-position: 50% 20%; }

/* 2. Everyday rewards: uniform white cards */
.rw-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 16px; }
.rs { margin: 0; background: #fff; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s; }
.rs:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -22px rgba(0, 0, 0, .7); }
.rs__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--blue-50); }
.rs__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .9s var(--ease); }
.rs:hover .rs__img img { transform: scale(1.07); }
.rs figcaption { flex: 1; display: grid; place-items: center; text-align: center; padding: 12px 10px 14px; min-height: 3.6em; color: var(--ink); font-family: var(--font-h); font-weight: 700; font-size: .88rem; line-height: 1.45; }

/* 3. Club benefits: horizontal cards */
.rw-club { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rc { margin: 0; display: flex; align-items: stretch; min-height: 150px; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: transform .45s var(--ease), border-color .4s, background .4s; }
.rc:hover { transform: translateY(-5px); border-color: rgba(242, 181, 68, .6); background: rgba(255, 255, 255, .09); }
.rc > img { width: 40%; flex-shrink: 0; object-fit: cover; }
.rc figcaption { padding: 18px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.rc strong { font-family: var(--font-h); color: #fff; font-size: 1.05rem; line-height: 1.4; }
.rc span { color: rgba(255, 255, 255, .75); font-size: .88rem; line-height: 1.55; }

@media (max-width: 1060px) {
  .rw-premium { grid-auto-rows: 190px; }
  .rw-grid { grid-template-columns: repeat(3, 1fr); }
  .rw-club { grid-template-columns: 1fr; }
  .rc { min-height: 130px; }
  .rc > img { width: 34%; }
}
@media (max-width: 760px) {
  .rw-premium { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 12px; }
  .rp--cars { grid-column: span 2; grid-row: span 2; }
  .rp--prize { grid-column: span 2; }
  .rp figcaption { padding: 14px; }
  .rp__d { font-size: .82rem; }
  .rw-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* Grand rewards on phones: full-width, taller tiles */
@media (max-width: 760px) {
  .rw-premium { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
  .rp, .rp--cars, .rp--prize { grid-column: auto; grid-row: auto; min-height: 250px; }
  .rp--cars { min-height: 360px; }
  .rp figcaption { padding: 20px; gap: 6px; }
  .rp strong { font-size: 1.45rem; }
  .rp--cars strong { font-size: 2rem; }
  .rp__d { font-size: .95rem; }
  .rp__tag { font-size: .78rem; padding: 5px 14px; }
}
.rp--assets::after { background: linear-gradient(0deg, rgba(14, 20, 51, .97) 0%, rgba(14, 20, 51, .8) 45%, rgba(14, 20, 51, .1) 80%); }

.rs__img img { object-position: 50% 14%; }
