/* ═══════════════════════════════════════════════
   المطعمجي — هوية الموقع (نفس هوية الريلز v17)
   خط واحد: IBM Plex Sans Arabic · أصفر · برتقالي مضيء · دهبي
   الرمز: المعيّن ◆ (نقط الياء في اللوجو + مربعات الحيطة)
   ═══════════════════════════════════════════════ */


@font-face { font-family: "Tajarib"; src: url("../assets/fonts/tajarib-black.otf") format("opentype"); font-weight: 400 900; font-display: swap; }

:root {
  --ink: #0d0a07;          /* أسود دافي */
  --room: #16110c;         /* الأوضة */
  --room-2: #1f1810;
  --wall: #6b5638;
  --yellow: #FFD136;       /* أصفر الحيطة والصورة */
  --orange: #FF8E2E;       /* البرتقالي المضيء */
  --orange-2: #FF6A10;
  --gold: #E8BE60;
  --gold-2: #B8862B;
  --cream: #FFF6E6;
  --text: #F4EBDD;
  --muted: rgba(244,235,221,.66);
  --line: rgba(255,255,255,.14);
  --paper: #F3EEE6;        /* المشهد الفاتح */
  --paper-ink: #1E1912;

  --glow: 0 0 22px rgba(255,140,40,.45), 0 0 60px rgba(255,120,20,.18);
  --glass-fill: linear-gradient(150deg, rgba(255,255,255,.16), rgba(255,255,255,.03) 45%, rgba(255,150,70,.08)), rgba(22,15,10,.55);
  --r: 18px;
  --wrap: 880px;
  --gut: 24px;
  --ease: cubic-bezier(.16,1,.3,1);
  --back: cubic-bezier(.34,1.45,.64,1);
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  /* type scale — every size on the site comes from here */
  --fs-display: clamp(56px, 5.6vw, 80px);
  --fs-display-2: clamp(36px, 3.6vw, 48px);
  --fs-h2: clamp(26px, 2.6vw, 34px);
  --fs-h3: 17px;
  --fs-lead: 16px;
  --fs-body: 14.5px;
  --fs-small: 13px;
  --font-head: "Tajarib", "IBM Plex Sans Arabic", sans-serif;
}
html.font-azahar { --font-head: var(--font); }

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--font); font-weight: 400; font-size: 15px; line-height: 1.8;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
h1, h2, h3, .bigname, .marquee, .stat b, .stop__year, .tile-s__n, .hero__badge { font-family: var(--font-head); font-weight: 400; }
h1, h2, h3 { text-wrap: balance; font-weight: 400; line-height: 1.35; margin: 0; letter-spacing: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }

.wrap { width: min(var(--wrap), 100% - var(--gut) * 2); margin-inline: auto; }
.skip { position: absolute; top: 8px; right: 8px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 10px; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip:focus { clip-path: none; width: auto; height: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }

/* ── icons (orange glowing line icons, like the reels) ── */
svg use { }
.itile svg, .checks svg, .file__chip svg, .reel__tile svg, .ico {
  fill: none; stroke: url(#og); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(255,140,40,.7));
}
.ico { width: 20px; height: 20px; stroke: currentColor; filter: none; }

/* ── type helpers ── */
.glow { color: var(--orange); text-shadow: 0 3px 10px rgba(0,0,0,.45), var(--glow); }
.dim { color: rgba(244,235,221,.55); }
.hero__title span { white-space: nowrap; }
mark { background: linear-gradient(transparent 18%, var(--yellow) 18%, var(--yellow) 88%, transparent 88%); color: var(--paper-ink); padding: 0 .18em; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--yellow); margin-bottom: 10px; letter-spacing: .02em; }
.eyebrow .dot, .dot { width: 9px; height: 9px; background: var(--yellow); transform: rotate(45deg); border-radius: 1.5px; box-shadow: 0 0 12px rgba(255,209,54,.8); display: inline-block; }
.eyebrow--ink { color: #8a5a00; }
.eyebrow--ink .dot { background: var(--orange); box-shadow: none; }

/* ── buttons (ref: two cut corners + arrow) ── */
.btn {
  --h: 42px; --cut: 9px; position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 20px; font-weight: 600; font-size: 14px; border: 0; background: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), filter .25s;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.btn::before, .btn::after { content: ""; position: absolute; inset: 0; z-index: -1; clip-path: inherit; transition: background .25s, opacity .25s; }
.btn .ico { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform: scaleX(-1); transition: transform .3s var(--ease); }
.btn:hover .ico { transform: scaleX(-1) translate(3px, -3px); }
.btn:active { transform: scale(.97); }
.btn--sm { --h: 38px; --cut: 8px; padding: 0 16px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--solid { color: #1b0d00; filter: drop-shadow(0 10px 22px rgba(255,120,20,.45)); }
.btn--solid::before { background: linear-gradient(180deg, #FFC15A, var(--orange) 55%, var(--orange-2)); }
.btn--solid::after { inset: 0 0 auto; height: 50%; background: linear-gradient(180deg, rgba(255,255,255,.35), transparent); }
.btn--solid:hover { filter: drop-shadow(0 14px 30px rgba(255,120,20,.7)) brightness(1.05); }
/* glass outline: thin light border + frosted inside */
.btn--line { color: var(--text); }
.btn--line::before { background: linear-gradient(160deg, rgba(255,255,255,.85), rgba(255,255,255,.3) 50%, rgba(255,255,255,.7)); clip-path: polygon(evenodd, 0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 0, 1.5px 1.5px, 1.5px calc(100% - var(--cut) - .6px), calc(var(--cut) + .6px) calc(100% - 1.5px), calc(100% - 1.5px) calc(100% - 1.5px), calc(100% - 1.5px) calc(var(--cut) + .6px), calc(100% - var(--cut) - .6px) 1.5px, 1.5px 1.5px); }
.btn--line::after { inset: 1.5px; clip-path: polygon(0 0, calc(100% - var(--cut) + .6px) 0, 100% calc(var(--cut) - .6px), 100% 100%, calc(var(--cut) - .6px) 100%, 0 calc(100% - var(--cut) + .6px));
  background: linear-gradient(150deg, rgba(255,255,255,.12), rgba(255,255,255,.03)), rgba(20,14,10,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn--line:hover::after { background: linear-gradient(150deg, rgba(255,255,255,.2), rgba(255,255,255,.06)), rgba(20,14,10,.45); }
:focus-visible { outline: 2.5px solid var(--yellow); outline-offset: 3px; }

/* ── glass (the reel card) ── */
.glass {
  position: relative; background: var(--glass-fill);
  backdrop-filter: blur(22px) saturate(1.25); -webkit-backdrop-filter: blur(22px) saturate(1.25);
  border: 1.5px solid rgba(255,255,255,.28); border-radius: var(--r);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 40px rgba(255,140,40,.06), 0 30px 60px -30px rgba(0,0,0,.8);
}
.glass::after { /* sheen */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.12) 45%, transparent 60%);
  background-size: 250% 100%; background-position: 120% 0; transition: background-position 1.2s var(--ease);
}
.glass.in::after, .glass:hover::after { background-position: -40% 0; }

.itile { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.25); }
.itile svg { width: 22px; height: 22px; }
.card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.card__head h3 { font-size: var(--fs-h3); }
.badge { margin-inline-start: auto; font-size: 11.5px; padding: 3px 10px; border-radius: 999px; background: rgba(255,142,46,.16); color: var(--orange); border: 1px solid rgba(255,142,46,.45); white-space: nowrap; }
.badge--dim { background: rgba(255,255,255,.08); color: var(--muted); border-color: var(--line); }

/* ── notched frame: thin gold line with a stepped tab (refs: folder tab + gold frame) ── */
.notch { --c: 16px; --s: 26px; --tab: 42%; --b: 1.5px; position: relative; isolation: isolate; }
.notch::before, .notch::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  clip-path: polygon(var(--c) var(--s), calc(100% - var(--tab) - var(--s)) var(--s), calc(100% - var(--tab)) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 calc(var(--s) + var(--c))); }
.notch::before { background: linear-gradient(160deg, #FFE7A8, var(--gold) 30%, rgba(232,190,96,.25) 60%, var(--gold-2)); }
.notch::after { inset: var(--b);
  clip-path: polygon(calc(var(--c) - .5px) calc(var(--s) - .5px), calc(100% - var(--tab) - var(--s) + .6px) calc(var(--s) - .5px), calc(100% - var(--tab) + .6px) -.5px, calc(100% - var(--c) + .5px) -.5px, 100% calc(var(--c) - .5px), 100% calc(100% - var(--c) + .5px), calc(100% - var(--c) + .5px) 100%, calc(var(--c) - .5px) 100%, 0 calc(100% - var(--c) + .5px), 0 calc(var(--s) + var(--c) - .5px));
  background: linear-gradient(170deg, rgba(40,30,18,.82), rgba(14,10,7,.92)); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.notch--flip::before, .notch--flip::after { transform: scaleX(-1); }
.spark { position: absolute; width: 34px; height: 34px; z-index: 2; color: var(--gold); filter: drop-shadow(0 0 10px rgba(255,214,120,.9)); pointer-events: none; }
.spark path { fill: currentColor; }
.dots { position: absolute; width: 70px; height: 26px; opacity: .7; pointer-events: none;
  background: radial-gradient(circle, var(--gold) 1.6px, transparent 2px) 0 0 / 13px 13px; -webkit-mask: linear-gradient(90deg, transparent, #000); mask: linear-gradient(90deg, transparent, #000); }

/* grain (editorial texture from the refs) */
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* name + yellow tape label */
.sec-head .bigname { display: block; width: fit-content; color: var(--text); margin-top: 0; font-size: var(--fs-display-2); font-weight: 700; line-height: 1.15; margin-bottom: 30px; position: relative; }
.tape { position: absolute; bottom: -18px; left: -8px; font-size: 15px; color: var(--ink); padding: 4px 18px; transform: rotate(-6deg);
  background: linear-gradient(180deg, #FFE066, var(--yellow)); box-shadow: 0 8px 18px -8px rgba(0,0,0,.6);
  clip-path: polygon(2% 8%, 98% 0, 100% 92%, 1% 100%); }

/* ═════ NAV — floating glass bar ═════ */
.nav { position: fixed; inset: 14px 0 auto; z-index: 50; }
.nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 58px; padding: 0 16px 0 10px; border-radius: 16px;
  background: linear-gradient(100deg, rgba(255,255,255,.10), rgba(255,255,255,.03) 50%, rgba(255,150,60,.08)), rgba(20,14,10,.45);
  backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 20px 40px -24px rgba(0,0,0,.8); transition: background .3s; }
.nav.scrolled .nav__bar { background: linear-gradient(100deg, rgba(255,255,255,.10), rgba(255,255,255,.03) 50%, rgba(255,150,60,.08)), rgba(16,11,8,.78); }
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--yellow); box-shadow: 0 0 0 2px #0e0a07, 0 0 0 3.5px rgba(255,209,54,.85); }
.nav__wordmark { height: 22px; width: auto; margin-top: 2px; }
.nav__mark { display: grid; line-height: 1; gap: 3px; }
.nav__mark img { height: 18px; width: auto; }
.nav__mark small { font-size: 10.5px; color: var(--muted); font-weight: 500; letter-spacing: .02em; }
.nav__links { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 500; }
.nav__links a:not(.btn) { color: var(--muted); transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.06); cursor: pointer; padding: 0; place-content: center; gap: 5px; }
.nav__burger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav.open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═════ ROOM (the reel set) ═════ */
.room { position: relative; background: var(--room); }
.room--deep { background: radial-gradient(120% 70% at 50% 120%, rgba(255,110,20,.28), transparent 60%), var(--ink); }
.plant { position: absolute; left: -110px; top: 90px; width: min(460px, 42vw); filter: blur(9px) brightness(.62) saturate(.75) sepia(.18); opacity: .95; pointer-events: none; transform-origin: 50% 100%; animation: sway 9s ease-in-out infinite alternate; z-index: 0; }
@keyframes sway { to { transform: rotate(.8deg) translateX(4px); } }
.watermark { position: absolute; top: 96px; left: 50%; transform: translateX(-50%); font-size: 15px; color: rgba(255,255,255,.75); text-shadow: 0 2px 8px rgba(0,0,0,.5); z-index: 2; }

/* ═════ HERO — reference layout: text block + photo card, same proportions ═════ */
.hero { position: relative; overflow: hidden; padding: 120px 0 56px; background: #0e0a07; }
.hero__bg { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 60% at 28% 45%, rgba(255,186,48,.16), transparent 70%), radial-gradient(60% 50% at 50% 115%, rgba(255,106,16,.14), transparent 70%), linear-gradient(180deg, #15100b, #0e0a07 80%); }
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero__text { width: var(--tw, 360px); max-width: 100%; justify-self: start; }
.hero__badge { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--text);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero__badge .dot { width: 7px; height: 7px; animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; box-shadow: 0 0 12px rgba(255,209,54,.9); } 50% { opacity: .15; box-shadow: 0 0 0 rgba(255,209,54,0); } }
.hero__title { display: grid; margin-top: 18px; }
.hero__brand { display: block; font-size: clamp(38px, 4vw, 48px); line-height: 1.2; color: var(--yellow); }
.hero__name { position: relative; display: block; width: fit-content; white-space: nowrap; margin-bottom: 30px; font-size: clamp(36px, 3.5vw, 46px); line-height: 1.15; color: var(--text); }
.hero__name .tape { bottom: -20px; }
.hero__brand img { height: clamp(52px, 5.4vw, 72px); width: auto; margin-bottom: 14px; filter: drop-shadow(0 8px 30px rgba(255,190,40,.25)); }
.marquee__logo { height: 22px; width: auto; flex: none; }
.hero__line { display: block; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.4; text-align: justify; text-align-last: justify; }
.hero__line .hl { color: var(--orange); }
.hero__lead { margin-top: 16px; text-align: justify; text-align-last: justify; text-wrap: pretty; font-size: 15px; line-height: 1.75; color: var(--muted); }
.hero__lead b { color: var(--text); font-weight: 600; }
.hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 26px; }
.hero__cta .btn { padding: 0 12px; }
.hero__photo { position: relative; margin: 0; aspect-ratio: 400 / 374; border-radius: 12px; overflow: hidden; background: var(--yellow);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -40px rgba(255,160,30,.45); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 12%; }
.hero__avail { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; font-size: 12.5px; font-weight: 500; color: var(--ink);
  background: rgba(255,255,255,.55); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border: 1px solid rgba(255,255,255,.6); }
.hero__avail i { width: 9px; height: 9px; border-radius: 50%; background: #2fbf5b; box-shadow: 0 0 0 3px rgba(47,191,91,.25); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(47,191,91,.05); } }

/* number cards under the hero (ref) */
.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 44px; }
.stat { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 84px; padding: 0 0 0 16px; border-radius: 14px;
  background: linear-gradient(150deg, rgba(255,255,255,.07), rgba(255,255,255,.015) 60%), rgba(10,7,5,.75);
  border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
/* big bold number filling the card on the right, see-through yellow glass with a crisp edge */
.stat b { flex: none; font-family: var(--font-head); font-size: 56px; letter-spacing: -.04em; line-height: .8; padding: 14px 12px 0; margin-bottom: -12px; align-self: stretch; display: flex; align-items: center;
  color: rgba(255,255,255,.5); }
.stat span { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.5; text-align: end; }

/* brand ticker (ref structure, our colours) */
.marquee { position: relative; z-index: 3; overflow: hidden; background: linear-gradient(180deg, #FFDB55, var(--yellow)); color: var(--ink); border-block: 1px solid rgba(0,0,0,.25); }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; padding: 10px 0; font-size: 18px; line-height: 1; animation: tick 38s linear infinite; }
.marquee__track i { width: 8px; height: 8px; background: var(--ink); transform: rotate(45deg); border-radius: 2px; flex: none; }
@keyframes tick { to { transform: translateX(50%); } }

/* ═════ SECTIONS ═════ */
.section { padding: clamp(64px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.sec-head { max-width: 620px; margin-bottom: 36px; }
.sec-head h2, .section h2 { font-size: var(--fs-h2); }
.sec-head > p:not(.eyebrow):not(.bigname), .sec-head div > p:last-child { margin-top: 14px; color: var(--muted); font-size: var(--fs-lead); }
.sec-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.grid { display: grid; gap: 12px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { padding: 30px 28px; transition: transform .45s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-6px) rotateX(2deg); border-color: rgba(255,255,255,.5); }
.card p { color: var(--muted); font-size: 16.5px; }
.card--hot { border-color: rgba(255,142,46,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 60px rgba(255,140,40,.14), 0 30px 70px -30px rgba(255,110,20,.55); }
.link { display: inline-block; margin-top: 14px; color: var(--orange); }

/* ═════ SERVICES — ref structure: heading block beside tiles, then a row of tiles ═════ */
.services { background: radial-gradient(60% 50% at 100% 0%, rgba(255,209,54,.08), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(255,110,20,.14), transparent 70%), var(--room); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.svc-grid__head { grid-column: span 2; align-self: center; padding-inline-end: 18px; }
.svc-grid__head > p:not(.eyebrow) { color: var(--muted); font-size: var(--fs-body); margin: 12px 0 18px; max-width: 360px; }
.cut { --cut: 16px; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.tile-s { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 10px; min-height: 236px; padding: 22px 18px 18px; transition: transform .5s var(--ease); }
.tile-s::before, .tile-s::after { content: ""; position: absolute; inset: 0; z-index: -1; clip-path: inherit; }
.tile-s::before { background: linear-gradient(160deg, rgba(255,255,255,.55), rgba(255,255,255,.12) 45%, rgba(255,170,80,.45)); transition: background .4s; z-index: 0; pointer-events: none; clip-path: polygon(evenodd, 0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 0, 1.2px 1.2px, 1.2px calc(100% - var(--cut) - .6px), calc(var(--cut) + .6px) calc(100% - 1.2px), calc(100% - 1.2px) calc(100% - 1.2px), calc(100% - 1.2px) calc(var(--cut) + .6px), calc(100% - var(--cut) - .6px) 1.2px, 1.2px 1.2px); }
.tile-s > * { position: relative; z-index: 1; }
.tile-s > .tile-s__n { position: absolute; }
.tile-s::after { inset: 1.2px; clip-path: polygon(0 0, calc(100% - var(--cut) + .5px) 0, 100% calc(var(--cut) - .5px), 100% 100%, calc(var(--cut) - .5px) 100%, 0 calc(100% - var(--cut) + .5px));
  background: linear-gradient(150deg, rgba(255,255,255,.13), rgba(255,255,255,.02) 50%, rgba(255,150,70,.07)), rgba(22,15,10,.62);
  backdrop-filter: blur(20px) saturate(1.25); -webkit-backdrop-filter: blur(20px) saturate(1.25); }
.tile-s:hover { transform: translateY(-6px); }
.tile-s:hover::before { background: linear-gradient(160deg, #FFC27A, var(--orange) 40%, rgba(255,142,46,.35) 70%, var(--orange-2)); }
.tile-s__n { position: absolute; top: 16px; left: 18px; font-size: var(--fs-small); color: rgba(232,190,96,.7); letter-spacing: .08em; }
.tile-s__ico { width: 40px; height: 40px; fill: none; stroke: url(#og); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(255,140,40,.6)); margin-bottom: 10px; }
.tile-s h3 { font-size: var(--fs-h3); }
.tile-s p { color: var(--muted); font-size: var(--fs-body); line-height: 1.75; }
.tile-s__tags { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tile-s__tags li { font-size: 11.5px; padding: 3px 10px; border-radius: 999px; background: rgba(232,190,96,.1); border: 1px solid rgba(232,190,96,.3); color: var(--gold); }
.tile-s__go { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); color: var(--orange); margin-top: 6px; }
.tile-s__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform: scaleX(-1); transition: transform .3s var(--ease); }
.tile-s:hover .tile-s__go svg { transform: scaleX(-1) translate(3px, -3px); }
.tile-s--hot::before { background: linear-gradient(160deg, #FFC27A, var(--orange) 40%, rgba(255,142,46,.3) 70%, var(--orange-2)); }
.tile-s--hot::after { background: radial-gradient(90% 70% at 80% 0%, rgba(255,140,40,.22), transparent 70%), linear-gradient(150deg, rgba(255,255,255,.12), rgba(255,255,255,.02)), rgba(22,15,10,.62); }

/* ── light scene (the reel's frost explainer) ── */
.frost { background: radial-gradient(70% 60% at 85% 10%, rgba(255,209,54,.35), transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(255,142,46,.18), transparent 60%), var(--paper); color: var(--paper-ink); }
.frost::before { content: ""; position: absolute; inset: 0; background: url("../assets/img/wall.jpg") center / cover; filter: blur(30px) saturate(.6) brightness(1.9); opacity: .28; pointer-events: none; }
.frost > .wrap { position: relative; }
.frost .sec-head > p { color: rgba(30,25,18,.7); }
/* ═════ JOURNEY — a real route: winding gold road, stations, travelling dot ═════ */
.journey { background: radial-gradient(60% 40% at 50% 0%, rgba(255,209,54,.08), transparent 70%), radial-gradient(70% 50% at 50% 100%, rgba(255,110,20,.16), transparent 70%), var(--ink); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .bigname { margin-inline: auto; }
.sec-head--center .eyebrow { justify-content: center; }
.route { position: relative; margin: 10px auto 0; padding: 60px 0 20px; }
.route__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.route__base { fill: none; stroke: rgba(232,190,96,.25); stroke-width: 3; stroke-dasharray: 2 12; stroke-linecap: round; }
.route__line { fill: none; stroke: var(--gold); stroke-width: 3.5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255,180,60,.7)); }
.route__dot { fill: var(--orange); filter: drop-shadow(0 0 10px rgba(255,140,40,1)) drop-shadow(0 0 22px rgba(255,120,20,.8)); }
.route__pin { position: relative; z-index: 2; display: flex; width: fit-content; margin-inline: auto; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px;
  background: linear-gradient(150deg, rgba(255,255,255,.16), rgba(255,255,255,.04)), rgba(20,14,10,.5); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.route__pin .ico { width: 18px; height: 18px; stroke: var(--orange); }
.route__pin--start { position: absolute; top: 0; left: 50%; translate: -50% 0; }
.route__pin--end { margin-top: 22px; font-size: 15px; padding: 9px 18px; border-color: rgba(255,142,46,.6); box-shadow: 0 0 40px -10px rgba(255,120,20,.6); transition: transform .3s var(--ease); }
.route__pin--end b { color: var(--yellow); }
.route__pin--end:hover { transform: translateY(-3px); }
.route__pin--end .ico:last-child { transform: scaleX(-1); stroke: var(--text); }
.stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; position: relative; z-index: 1; }
.stop { display: grid; grid-template-columns: 1fr 110px 1fr; align-items: center; }
.stop__node { grid-column: 2; grid-row: 1; display: grid; justify-items: center; gap: 8px; position: relative; }
.stop--a .stop__node { translate: 32px 0; }
.stop--b .stop__node { translate: -32px 0; }
.stop--a .stop__card { grid-column: 1; grid-row: 1; }
.stop--b .stop__card { grid-column: 3; grid-row: 1; }
.medal { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.18), rgba(255,255,255,.02)), #15100b; border: 1.5px solid rgba(232,190,96,.55);
  box-shadow: 0 0 0 6px rgba(13,10,7,.9), 0 0 0 7px rgba(232,190,96,.2); transition: background .5s, border-color .5s, box-shadow .5s, transform .5s var(--back); }
.medal svg { width: 26px; height: 26px; fill: none; stroke: url(#gg); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.stop.on .medal { background: radial-gradient(circle at 50% 30%, #FFC77A, var(--orange) 55%, var(--orange-2)); border-color: transparent; transform: scale(1.06);
  box-shadow: 0 0 0 7px rgba(13,10,7,.9), 0 0 0 9px rgba(255,142,46,.6), 0 0 40px rgba(255,120,20,.7); }
.stop.on .medal svg { stroke: #1b0d00; }
.stop__year { position: absolute; top: 50%; translate: 0 -50%; white-space: nowrap; font-size: 22px; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(232,190,96,.7); transition: color .4s; font-family: var(--font); }
.stop--a .stop__year { right: calc(50% + 42px); }
.stop--b .stop__year { left: calc(50% + 42px); }
.stop.on .stop__year { color: var(--yellow); -webkit-text-stroke-color: transparent; }
.stop__card { padding: 18px 20px; border-radius: 16px; max-width: 340px; }
.stop--a .stop__card { justify-self: end; }
.stop--b .stop__card { justify-self: start; }
.stop__when { display: inline-block; font-size: var(--fs-small); color: var(--gold); margin-bottom: 6px; }
.stop__card h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.stop__card p { font-size: var(--fs-body); color: var(--muted); line-height: 1.8; }
.stop__tags { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.stop__tags li { font-size: 12px; padding: 3px 11px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.stop:last-child .stop__card { border-color: rgba(255,209,54,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 60px -20px rgba(255,190,40,.5); }
.stop:last-child h3 { color: var(--yellow); }

/* ═════ VIDEOS (B-roll brand cards: dark glass + gold line + brackets) ═════ */
#videos { background: radial-gradient(70% 50% at 50% 0%, rgba(255,209,54,.10), transparent 70%), var(--room); }
.follow { display: flex; gap: 10px; }
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 30px 4px 26px; margin: 0 -4px; scrollbar-width: none; overscroll-behavior-x: contain; }
.reels::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .reels { grid-auto-columns: calc((100% - 36px) / 4); } }
.reel { scroll-snap-align: start; padding: 10px 10px 12px; --s: 14px; --tab: 40%; --c: 12px; transition: transform .5s var(--ease); }
.reel:hover { transform: translateY(-6px); }
.reel .spark { top: -12px; right: calc(40% - 13px); width: 24px; height: 24px; }
.reel__media { position: relative; margin-top: 10px; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #000; cursor: pointer; }
.reel__media img, .reel__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__media video { z-index: 2; }
.reel__play { position: absolute; inset: 0; margin: auto; z-index: 3; width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6);
  background: rgba(20,14,10,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; place-items: center; cursor: pointer; transition: transform .3s var(--back), background .3s; }
.reel__play svg { width: 22px; height: 22px; fill: #fff; stroke: none; margin-inline-start: -4px; transform: scaleX(-1); }
[dir="rtl"] .reel__play svg { transform: none; margin: 0 0 0 4px; }
.reel__media:hover .reel__play { transform: scale(1.08); background: rgba(255,142,46,.75); }
.reel.playing .reel__play { opacity: 0; pointer-events: none; }
.brk { position: absolute; width: 22px; height: 22px; z-index: 4; border: 2.5px solid var(--gold); pointer-events: none; }
.brk--tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.brk--tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.brk--br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.brk--bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.reel__label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 4px 12px 4px 5px; border-radius: 999px; background: rgba(232,190,96,.12); border: 1px solid rgba(232,190,96,.4); color: var(--gold); }
[dir="rtl"] .reel__label { padding: 4px 5px 4px 12px; }
.reel__tile { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(160deg, #FFE7A8, var(--gold)); }
.reel__tile svg { width: 16px; height: 16px; stroke: #2a1d05; filter: none; }
.reel h3 { font-size: 14.5px; margin: 10px 4px 10px; min-height: 2.6em; }
.reel__links { display: flex; gap: 8px; padding: 0 2px; }
.reel__links a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; border-radius: 10px; font-size: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.reel__links a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); }
.reel__links svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.reels__nav { display: flex; justify-content: center; gap: 12px; margin-top: 10px; }
.rbtn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(232,190,96,.5); background: rgba(232,190,96,.08); color: var(--gold); font-size: 20px; cursor: pointer; transition: background .2s; }
.rbtn:hover { background: rgba(232,190,96,.2); }

.field { display: grid; gap: 6px; font-size: 13.5px; }
.field > span { display: flex; justify-content: space-between; color: rgba(255,246,230,.86); }
.field output { color: var(--orange); }
.field input:not([type=range]), .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.18); background: rgba(0,0,0,.28); font-size: 14.5px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: 20px 50%, 26px 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-left: 40px; }
.field select option { background: #1b140d; }
.field input::placeholder, .field textarea::placeholder { color: rgba(244,235,221,.38); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,142,46,.18); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--orange) var(--p, 50%), rgba(255,255,255,.14) var(--p, 50%)); direction: ltr; }
[dir="rtl"] input[type=range] { transform: scaleX(-1); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--orange); box-shadow: 0 0 16px rgba(255,140,40,.8); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--orange); cursor: pointer; }
/* ═════ FILES ═════ */
.file { padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.file .badge { position: absolute; top: 14px; left: 14px; margin: 0; }
.file__chip { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 7px 14px; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid var(--line); font-size: 12px; white-space: nowrap; }
.file__chip svg { width: 15px; height: 15px; }
.file h3 { font-size: var(--fs-h3); margin-top: 4px; }
.file p { color: var(--muted); font-size: var(--fs-body); flex: 1; }
.file--soon { opacity: .82; }

.faq { max-width: none; }
.faq details { border-radius: 14px; margin-bottom: 8px; transition: border-color .3s, box-shadow .3s;
  background: linear-gradient(150deg, rgba(255,255,255,.10), rgba(255,255,255,.02)), rgba(22,15,10,.55); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.faq details[open] { border-color: rgba(255,142,46,.6); box-shadow: 0 0 50px -20px rgba(255,120,20,.6); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 18px; font-size: var(--fs-lead); display: flex; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; width: 10px; height: 10px; flex: none; background: var(--orange); transform: rotate(45deg); border-radius: 2px; transition: transform .3s var(--back); }
.faq details[open] summary::before { transform: rotate(225deg) scale(1.2); }
.faq details[open] summary { color: var(--orange); }
.faq details p { padding: 0 48px 20px 24px; color: var(--muted); font-size: var(--fs-body); }

/* ═════ CONTACT ═════ */
.contact__in { display: block; }
.contact__in .form { max-width: 600px; margin-inline: auto; }
.contact__text > p:not(.eyebrow) { color: var(--muted); margin-top: 16px; font-size: var(--fs-lead); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.checks li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: var(--fs-body); }
.checks svg { width: 22px; height: 22px; flex: none; }
.form { padding: 22px; display: grid; gap: 12px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form__note { min-height: 1.5em; font-size: 16px; text-align: center; }
.form__note.ok { color: #7EE08A; }
.form__note.err { color: #FF9A8A; }
.form.sent .field, .form.sent .row { opacity: .55; pointer-events: none; }
/* success state: the button turns green */
.btn.is-done { color: #fff; filter: drop-shadow(0 10px 22px rgba(34,197,94,.45)); pointer-events: none; }
.btn.is-done::before { background: linear-gradient(180deg, #4ade80, #16a34a); }
.btn.is-done::after { display: none; }
.form__note.ok, .course__note.ok { color: #4ade80; font-weight: 600; }

/* ═════ FOOTER ═════ */
.footer { padding: 64px 0 32px; overflow: hidden; text-align: center; background: radial-gradient(60% 80% at 50% 0%, rgba(255,209,54,.16), transparent 70%), var(--room); border-top: 1px solid var(--line); }
.plant--foot { top: 10px; width: 300px; left: -80px; }
.footer__in { position: relative; display: grid; justify-items: center; gap: 16px; }
.footer__logo { height: 38px; width: auto; }
.footer__line { font-size: 20px; font-family: var(--font-head); }
.follow-btn { --cut: 14px; position: relative; display: inline-grid; min-width: 170px; height: 46px; overflow: hidden; font-size: 16px; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  background: var(--glass-fill); border: 1.5px solid rgba(255,255,255,.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform .2s, background .3s, border-color .3s; }
.follow-btn > span { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .45s var(--ease), opacity .3s; }
.follow-btn .t2 { transform: translateY(100%); opacity: 0; color: #1b0d00; }
.follow-btn .t2 svg { width: 22px; height: 22px; fill: none; stroke: #1b0d00; stroke-width: 2.5; }
.follow-btn.done { background: linear-gradient(180deg, #FFA24D, var(--orange)); border-color: transparent; box-shadow: var(--glow); }
.follow-btn.done .t1 { transform: translateY(-100%); opacity: 0; }
.follow-btn.done .t2 { transform: none; opacity: 1; }
.follow-btn:active { transform: scale(.96); }
.social { display: flex; gap: 12px; margin-top: 8px; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--line); transition: background .2s, border-color .2s, transform .2s; }
.social a:hover { background: rgba(255,142,46,.14); border-color: rgba(255,142,46,.5); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; fill: none; stroke: var(--text); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.footer__legal { color: var(--muted); font-size: 13px; margin-top: 12px; text-decoration: underline; }
.footer small { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ═════ REVEAL (the reel's card entry: rise + tilt + blur) ═════ */
.reveal { opacity: 0; transform: translateY(40px) rotateX(14deg) scale(.97); filter: blur(8px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); transform-origin: 50% 100%; }
.reveal.in { opacity: 1; transform: none; filter: none; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* ═════ VARIANT «g»: font + button colours like ghonimyarts.com (layout unchanged) — ?style=g ═════ */
html.theme-g { --text: #F4F4F4; --muted: rgba(255,255,255,.6); }
.theme-g .glow, .theme-g .hl { color: inherit !important; text-shadow: none !important; }
.theme-g .eyebrow { color: var(--muted); }
.theme-g .eyebrow .dot, .theme-g .hero__badge .dot { background: #8EC9F0; box-shadow: none; }
.theme-g .hero__brand img { filter: brightness(0) invert(1); }
.theme-g .theme-g .stop.on .stop__year, .theme-g .stop:last-child h3, .theme-g .route__pin--end b, .theme-g .pbar__item b { color: var(--text); }
.theme-g .stop__when, .theme-g .tile-s__n, .theme-g .tile-s__tags li, .theme-g .reel__label { color: var(--muted); }
.theme-g .tile-s__tags li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.theme-g .tile-s__go, .theme-g .link { color: var(--text); }
.theme-g .badge { color: var(--text); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.theme-g .faq details[open] summary { color: var(--text); }
/* buttons: light-grey solid with dark text, thin outline secondary (ref) */
.theme-g .btn--solid { color: #111; filter: none; }
.theme-g .btn--solid::before { background: #F7F7F7; }
.theme-g .btn--solid::after { display: none; }
.theme-g .btn--solid:hover { filter: none; }
.theme-g .btn--solid:hover::before { background: #FFFFFF; }
.theme-g .btn--line::before { background: rgba(255,255,255,.85); }
.theme-g .btn--line::after { background: #121212; backdrop-filter: none; -webkit-backdrop-filter: none; }
.theme-g .btn--line:hover::after { background: #1c1c1c; }
.theme-g .follow-btn.done { background: #F7F7F7; box-shadow: none; }

/* ═════ COURSE — «كورس المطعمجي الشاطر» coming soon ═════ */
.course { --red: #E5322D; background: radial-gradient(55% 60% at 22% 50%, rgba(255,170,30,.18), transparent 70%), radial-gradient(40% 50% at 90% 10%, rgba(229,50,45,.10), transparent 70%), var(--ink); }
.course__box { position: relative; display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center; padding: 44px; border-radius: 24px; overflow: hidden; isolation: isolate;
  background: linear-gradient(140deg, rgba(255,209,54,.10), rgba(255,255,255,.02) 45%, rgba(229,50,45,.08)), rgba(18,13,9,.82);
  border: 1px solid rgba(255,209,54,.45); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 50px 100px -50px rgba(255,150,20,.6); }
.course__box::before { content: ""; position: absolute; z-index: -1; width: 560px; aspect-ratio: 1; left: -160px; top: 50%; translate: 0 -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,209,54,.26), transparent 62%); }
.course__box::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 100% 36px; -webkit-mask: linear-gradient(90deg, transparent, #000 70%); mask: linear-gradient(90deg, transparent, #000 70%); }
.course__text { display: grid; gap: 16px; min-width: 0; }
.course__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.course__soon { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink); background: var(--yellow); }
.course__soon i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: blink 1.2s ease-in-out infinite; }
.course__kind { font-size: 13px; color: var(--muted); }
.course__title { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.2; }
.course__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-family: var(--font-head); font-size: clamp(20px, 2vw, 24px); }
.course__sub span:last-child { color: var(--muted); font-size: .8em; }
/* «مجاني» = red stamp box */
.course__free { position: relative; display: inline-block; padding: .15em .6em .3em; color: #fff; background: var(--red); border-radius: 8px; transform: rotate(-2.5deg);
  box-shadow: 0 10px 26px -8px rgba(229,50,45,.75), inset 0 0 0 2px rgba(255,255,255,.18); outline: 1.5px dashed rgba(255,255,255,.55); outline-offset: -6px; }
.course__lead { color: var(--muted); font-size: 15px; line-height: 1.8; text-align: justify; }
.course__feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.course__feats li { display: grid; gap: 8px; align-content: start; padding: 14px 12px; border-radius: 12px; font-size: 13px; font-weight: 600; line-height: 1.5;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.course__feats svg { width: 22px; height: 22px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.course__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-top: 4px; }
.course__form input:not([name=_honey]) { min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.2); background: rgba(0,0,0,.35); font-size: 14.5px; min-width: 0; }
.course__form input::placeholder { color: rgba(244,235,221,.45); }
.course__form input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255,209,54,.18); }
.course__form .btn { --h: 46px; }
.course__form.sent input { opacity: .55; pointer-events: none; }
.course__note { margin-top: -6px; font-size: 13px; color: var(--muted); }
.course__note.err { color: #FF9A8A; }

/* the free ticket + red stamp */
.ticket-wrap { position: relative; justify-self: center; width: 100%; max-width: 300px; }
.ticket { position: relative; padding: 24px 22px 18px; border-radius: 18px; color: var(--ink); transform: rotate(-4deg);
  background: linear-gradient(160deg, #FFE27A, var(--yellow) 45%, #F2B014);
  box-shadow: 0 30px 60px -20px rgba(255,160,20,.6), inset 0 1px 0 rgba(255,255,255,.6); }
.ticket__stamp { position: absolute; top: -18px; left: -16px; z-index: 2; padding: 8px 16px 12px; font-family: var(--font-head); font-size: 28px; line-height: 1; color: #fff;
  background: var(--red, #E5322D); border-radius: 10px; transform: rotate(-14deg); box-shadow: 0 12px 26px -8px rgba(229,50,45,.8);
  outline: 2px dashed rgba(255,255,255,.65); outline-offset: -6px; }
.ticket__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ticket__top img { height: 18px; width: auto; }
.ticket__top span { font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 2px 8px; border: 1.5px solid rgba(14,10,7,.6); border-radius: 6px; }
.ticket__name { margin-top: 22px; font-family: var(--font-head); font-size: 24px; line-height: 1.3; }
.ticket__price { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; font-size: 18px; font-weight: 700; }
.ticket__price b { font-family: var(--font-head); font-size: 72px; line-height: .9; }
.ticket__cut { position: relative; margin: 18px -22px 14px; border-top: 2px dashed rgba(14,10,7,.35); }
.ticket__cut::before, .ticket__cut::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: #120d09; }
.ticket__cut::before { left: -11px; } .ticket__cut::after { right: -11px; }
.ticket__foot { display: flex; align-items: center; justify-content: space-between; }
.ticket__soon { font-weight: 700; font-size: 15px; background: var(--ink); color: var(--yellow); padding: 4px 12px; border-radius: 8px; }
.ticket__bars { width: 96px; height: 30px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 13px); opacity: .85; }

/* ═════ RESPONSIVE ═════ */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid__head { grid-column: 1 / -1; padding: 0; margin-bottom: 10px; }
}
@media (max-width: 900px) {
  :root { --gut: 16px; }
  .nav__burger { display: grid; }
  .nav__bar { height: 62px; padding: 0 14px; border-radius: 16px; }
  .nav__links { position: fixed; inset: 86px 16px auto; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; border-radius: 22px;
    background: rgba(18,13,9,.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--line);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s, transform .25s; }
  .nav.open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a:not(.btn) { padding: 12px 14px; border-radius: 12px; font-size: 18px; }
  .nav__links .btn { margin-top: 6px; }
  .hero { padding: 110px 0 100px; }
  .hero__in { grid-template-columns: 1fr; gap: 30px; }
  .hero__text { text-align: center; }
  .hero__cta { justify-content: center; }
  .hero__photo { display: none; }
  .hero__lead { margin-inline: auto; }
  .hero__name { margin-inline: auto; }
  .hero__text { justify-self: center; }
  .plant { width: 300px; left: -120px; top: 60px; opacity: .7; }
  .route { padding-top: 64px; }
  .stop { grid-template-columns: 70px 1fr; gap: 0 16px; }
  .stop__node, .stop--a .stop__node, .stop--b .stop__node { grid-column: 1; translate: none; align-self: start; }
  .stop--a .stop__card, .stop--b .stop__card { grid-column: 2; justify-self: stretch; max-width: none; }
  .medal { width: 60px; height: 60px; } .medal svg { width: 28px; height: 28px; }
  .stop__year, .stop--a .stop__year, .stop--b .stop__year { position: static; translate: none; font-size: 16px; }
  .route__pin--start { left: 0; translate: none; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .grid--3, .row { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .reels { grid-auto-columns: 74%; }
  .hero__cta .btn { flex: 1 1 100%; }
  .form { padding: 22px 18px; }
  .course__box { grid-template-columns: 1fr; padding: 30px 18px; gap: 34px; }
  .ticket-wrap { order: -1; max-width: 250px; margin-top: 10px; }
  .course__feats { grid-template-columns: 1fr; }
  .course__feats li { grid-template-columns: auto 1fr; align-items: center; padding: 10px 12px; }
  .course__form { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 28px; }
  .stat { flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 0; padding: 14px 6px 12px; text-align: center; }
  .stat b { font-size: 34px; padding: 0; margin: 0; align-self: center; }
  .stat span { flex: none; font-size: 11px; line-height: 1.4; text-align: center; }
  /* 2-up squares (services + files) */
  .tile-s, .file { aspect-ratio: 1; min-height: 0; padding: 14px 12px 12px; gap: 6px; }
  .tile-s { --cut: 12px; }
  .tile-s__ico { width: 30px; height: 30px; margin-bottom: 4px; }
  .tile-s h3, .file h3 { font-size: 14.5px; line-height: 1.35; }
  .tile-s p, .file p { font-size: 12px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .tile-s__tags { display: none; }
  .tile-s__go { margin-top: auto; font-size: 12px; }
  .tile-s__n { top: 12px; left: 12px; font-size: 11px; }
  .file .badge { top: 10px; left: 10px; font-size: 10px; padding: 2px 7px; }
  .file__chip { font-size: 10.5px; padding: 4px 8px; }
  .file .btn { --h: 34px; font-size: 12px; padding: 0 8px; margin-top: auto; }
  .stop__card { padding: 20px 18px; }
  .marquee__track { font-size: 20px; gap: 24px; padding: 11px 0; }
  .faq details p { padding: 0 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
