/* =========================================================
   CREATIVA — Media Production
   Brand: #EA4626 · #0E0D0E · #FFFFFF  |  Create. Inspire. Impact.
   Bootstrap 5 + custom
   ========================================================= */

:root {
  --brand: #ea4626;      /* primary orange-red */
  --brand-400: #ff6a45;  /* lighter */
  --brand-300: #ff8a5c;
  --brand-600: #d13a1c;  /* darker */
  --brand-700: #b8290f;

  --ink: #0e0d0e;        /* near-black brand bg */
  --ink-2: #161314;      /* raised panel */
  --ink-3: #1e1a1b;

  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(234, 70, 38, 0.20);
  --text: #f4f1ee;
  --muted: #a8a09c;
  --wave-fill: #161314;

  --grad: linear-gradient(120deg, #ff6a45 0%, #ea4626 55%, #b8290f 100%);
  --grad-soft: linear-gradient(135deg, rgba(234, 70, 38, 0.16), rgba(234, 70, 38, 0.06));
  --shadow-glow: 0 12px 40px -12px rgba(234, 70, 38, 0.65);

  --radius: 20px;
  --font-display: 'Oswald', 'Sora', sans-serif;
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(620px circle at 12% 8%, rgba(234, 70, 38, 0.20), transparent 45%),
    radial-gradient(720px circle at 88% 18%, rgba(234, 70, 38, 0.10), transparent 45%),
    radial-gradient(600px circle at 50% 100%, rgba(255, 106, 69, 0.08), transparent 45%);
}

/* film grain */
.grain {
  position: fixed; inset: 0; z-index: 2500; pointer-events: none; opacity: .045;
  background-image: 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='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainMove 1.2s steps(4) infinite;
}
/* Animate the noise via background-position (not a transform on an oversized box)
   so the overlay never exceeds the viewport — an inset:-50% fixed box caused
   horizontal overflow / a black gap on mobile. */
@keyframes grainMove { 0%{background-position:0 0} 25%{background-position:-6px 5px} 50%{background-position:5px -6px} 75%{background-position:-5px -3px} 100%{background-position:4px 5px} }

h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em; }
a { text-decoration: none; transition: color .25s ease; }
section { position: relative; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--brand-400);
  padding: .35rem .9rem; border: 1px solid var(--border); border-radius: 100px; background: var(--grad-soft); margin-bottom: 1rem;
}

/* ============ BUTTONS ============ */
.btn { font-family: var(--font-head); font-weight: 600; border-radius: 100px; padding: .7rem 1.5rem; transition: transform .25s ease, box-shadow .25s ease, background .25s; }
.btn:active { transform: scale(.97); }
.btn-glow { background: var(--grad); background-size: 180% 180%; color: #fff; border: none; box-shadow: var(--shadow-glow); animation: gradShift 6s ease infinite; }
.btn-glow:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 50px -12px rgba(234,70,38,.75); }
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); backdrop-filter: blur(8px); display: inline-flex; align-items: center; gap: .55rem; }
.btn-ghost:hover { color: #fff; border-color: var(--brand); transform: translateY(-3px); background: var(--surface-2); }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 2000; background: var(--grad); box-shadow: 0 0 12px var(--brand); }

/* ============ CURSOR ============ */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 3000; transform: translate(-50%, -50%); }
.cursor-dot { width: 7px; height: 7px; background: var(--brand-400); }
.cursor-ring { width: 34px; height: 34px; border: 1.5px solid var(--brand); transition: transform .18s ease, width .2s, height .2s, background .2s; }
.cursor-ring.hovering { width: 56px; height: 56px; background: rgba(234,70,38,.12); border-color: var(--brand-400); }
@media (hover: none), (max-width: 991px) { .cursor-dot, .cursor-ring { display: none; } }

/* ============ PRELOADER ============ */
.preloader { position: fixed; inset: 0; z-index: 4000; display: grid; place-items: center; background: var(--ink); transition: opacity .6s ease, visibility .6s; }
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader__logo { text-align: center; }
.pl-ring { stroke-dasharray: 250; stroke-dashoffset: 250; animation: plDraw 1.4s ease-in-out infinite; transform-origin: center; }
.pl-play { animation: plPulse 1.4s ease-in-out infinite; transform-origin: center; }
@keyframes plDraw { 0% { stroke-dashoffset: 250; transform: rotate(0deg);} 50% { stroke-dashoffset: 60;} 100% { stroke-dashoffset: 250; transform: rotate(360deg);} }
@keyframes plPulse { 0%,100%{ opacity:.6; transform:scale(.9);} 50%{ opacity:1; transform:scale(1.05);} }
.preloader__text { display: block; margin-top: 1rem; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: .4em; text-transform: uppercase; color: #fff; padding-left: .4em; }
.preloader__tag { display: block; margin-top: .3rem; font-size: .8rem; letter-spacing: .2em; color: var(--brand-400); text-transform: uppercase; }

/* ============ NAVBAR ============ */
.site-nav { padding: 1.1rem 0; transition: padding .3s ease, background .3s ease, box-shadow .3s; }
.site-nav.scrolled { padding: .6rem 0; background: rgba(14, 13, 14, .82); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.brand-mark { color: #fff; display: inline-flex; }
.brand-mark svg { filter: drop-shadow(0 4px 14px rgba(234,70,38,.45)); }
/* uploaded logo stands on its own (no text wordmark alongside) */
.brand-logo-img { height: 44px; width: auto; max-width: 210px; object-fit: contain; display: block; }
.site-nav.scrolled .brand-logo-img { height: 38px; }
.footer-brand--logo .brand-logo-img { height: 42px; }

/* --- animated logo mark --- */
.logo-svg { overflow: visible; transform-origin: center; }
.logo-svg .lg-ring { stroke-dasharray: 95; stroke-dashoffset: 95; animation: lgDraw 1.5s cubic-bezier(.65,0,.35,1) forwards; }
.logo-svg .lg-play { transform-origin: 24px 24px; animation: lgBeat 2.4s ease-in-out infinite; }
.logo-svg .lg-cam { transform-origin: 24px 24px; animation: lgBlink 3.2s ease-in-out infinite; }
@keyframes lgDraw { to { stroke-dashoffset: 0; } }
@keyframes lgBeat { 0%,100% { transform: scale(1); } 50% { transform: scale(1.16); } }
@keyframes lgBlink { 0%,86%,100% { opacity: 1; } 93% { opacity: .3; } }
@keyframes lgSpin { to { transform: rotate(360deg); } }
.navbar-brand:hover .logo-svg, .footer-brand:hover .logo-svg { animation: lgSpin .9s cubic-bezier(.34,1.56,.64,1); }
/* loader: continuous draw loop */
.logo-svg--loader .lg-ring { animation: lgDrawLoop 1.7s ease-in-out infinite; }
@keyframes lgDrawLoop { 0% { stroke-dashoffset: 95; } 50% { stroke-dashoffset: 6; } 100% { stroke-dashoffset: 95; } }
.brand-block { display: flex; flex-direction: column; line-height: 1; }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: .12em; color: #fff; }
.brand-sub { font-family: var(--font-display); font-weight: 500; font-size: .52rem; letter-spacing: .34em; color: var(--brand-400); margin-top: 2px; }

.site-nav .nav-link { color: var(--muted); font-family: var(--font-head); font-weight: 500; font-size: .95rem; padding: .5rem .95rem; position: relative; }
.site-nav .nav-link::after { content: ""; position: absolute; left: 50%; bottom: .3rem; width: 0; height: 2px; background: var(--grad); border-radius: 2px; transform: translateX(-50%); transition: width .3s ease; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: #fff; }
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { width: 60%; }

.navbar-toggler { border: none; padding: .4rem; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar { display: block; width: 26px; height: 2.5px; background: #fff; border-radius: 3px; margin: 5px 0; transition: .3s; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2){ opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }
@media (max-width: 991px) {
  .navbar-collapse { background: rgba(22,19,20,.97); backdrop-filter: blur(16px); margin-top: 1rem; padding: 1.2rem; border-radius: var(--radius); border: 1px solid var(--border); }
  .site-nav .btn-glow { margin-top: 1rem; width: 100%; text-align: center; }
}

/* ============ HERO ============ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 8rem 0 6rem; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(234,70,38,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(234,70,38,.06) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 80%); }
.scanlines { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.15) 0 1px, transparent 1px 3px); opacity: .35; mix-blend-mode: overlay; }

.orb { position: absolute; border-radius: 50%; filter: blur(72px); opacity: .5; }
.orb--1 { width: 440px; height: 440px; background: var(--brand); top: -70px; left: -90px; animation: float1 15s ease-in-out infinite; }
.orb--2 { width: 380px; height: 380px; background: var(--brand-700); bottom: -110px; right: -70px; animation: float2 19s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(40px,-30px) scale(1.08);} }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(-50px,-40px) scale(1.12);} }

.floaties { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.floatie { position: absolute; width: 58px; height: 58px; display: grid; place-items: center; font-size: 1.4rem; color: var(--brand-400); border-radius: 18px; background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(6px); box-shadow: var(--shadow-glow); }
.floatie.f1 { top: 20%; left: 10%; animation: bob 6s ease-in-out infinite; }
.floatie.f2 { top: 28%; right: 12%; animation: bob 7s ease-in-out infinite .5s; }
.floatie.f3 { bottom: 26%; left: 15%; animation: bob 5.5s ease-in-out infinite 1s; }
.floatie.f4 { bottom: 30%; right: 14%; animation: bob 6.5s ease-in-out infinite 1.4s; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-4deg);} 50% { transform: translateY(-18px) rotate(4deg);} }
@media (max-width: 767px){ .floatie { display: none; } }

.hero__inner { position: relative; z-index: 2; max-width: 920px; }
.hero__badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 500; color: var(--brand-400); padding: .45rem 1rem; border: 1px solid var(--border); border-radius: 100px; background: var(--surface); backdrop-filter: blur(8px); margin-bottom: 1.5rem; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(234,70,38,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(234,70,38,.6);} 70%{ box-shadow: 0 0 0 10px rgba(234,70,38,0);} 100%{ box-shadow: 0 0 0 0 rgba(234,70,38,0);} }

.hero__title { font-size: clamp(2.4rem, 6vw, 4.8rem); font-weight: 800; line-height: 1.04; margin-bottom: 1.4rem; }
.hero__display { font-family: var(--font-display); font-weight: 700; letter-spacing: .02em; }
.hero__sub { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--muted); max-width: 660px; margin: 0 auto 2.2rem; }
.type-target { color: var(--brand-400); font-weight: 600; }
.type-target::after { content: "|"; color: var(--brand); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero__cta { display: flex; gap: 1.4rem; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 3.5rem; }

/* showreel button */
.showreel { display: inline-flex; align-items: center; gap: .8rem; background: none; border: none; color: var(--text); cursor: pointer; }
.showreel__btn { position: relative; width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.4rem; box-shadow: var(--shadow-glow); }
.showreel__btn::before, .showreel__btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand); animation: ripple 2.4s ease-out infinite; }
.showreel__btn::after { animation-delay: 1.2s; }
@keyframes ripple { 0%{ transform: scale(1); opacity: .7;} 100%{ transform: scale(1.9); opacity: 0;} }
.showreel__label { text-align: left; font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.1; }
.showreel__label small { display: block; font-weight: 400; font-size: .72rem; color: var(--muted); }
.showreel:hover .showreel__btn { transform: scale(1.06); }

.hero__stats { display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap; }
.mini-stat { text-align: center; }
.mini-stat strong { font-family: var(--font-display); font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mini-stat span { font-size: 1.4rem; font-weight: 700; color: var(--brand-400); font-family: var(--font-display); }
.mini-stat p { margin: .2rem 0 0; color: var(--muted); font-size: .85rem; }

.wave-divider { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; }
.wave-divider svg { width: 100%; height: 90px; display: block; }

[data-hero] { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1); }
[data-hero].in { opacity: 1; transform: none; }

/* ============ CAPABILITIES ============ */
.capabilities { padding: 3rem 0 1rem; }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cap { text-align: center; padding: 1.6rem 1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform .4s, border-color .4s, background .4s; }
.cap:hover { transform: translateY(-6px); border-color: var(--brand); background: var(--surface-2); }
.cap__ic { width: 56px; height: 56px; margin: 0 auto .8rem; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: var(--grad); box-shadow: var(--shadow-glow); transition: transform .4s; }
.cap:hover .cap__ic { transform: rotate(-8deg) scale(1.08); }
.cap h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 1.05rem; margin-bottom: .1rem; }
.cap p { color: var(--muted); font-size: .82rem; margin: 0; }
@media (max-width: 575px){ .cap-grid { grid-template-columns: repeat(2,1fr); } }

/* ============ TRUSTED / MARQUEE ============ */
.trusted { padding: 3rem 0 1rem; text-align: center; }
.trusted__label { color: var(--muted); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.5rem; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: inline-flex; gap: 3.5rem; white-space: nowrap; animation: scrollx 26s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: .04em; color: var(--muted); opacity: .5; transition: opacity .3s, color .3s; }
.marquee__track span:hover { opacity: 1; color: var(--brand-400); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { padding: 6.5rem 0; }
.section--alt { background: var(--ink-2); }
.section--alt::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px circle at 80% 10%, rgba(234,70,38,.09), transparent 50%); pointer-events: none; }
.section-head { max-width: 700px; margin: 0 auto 3.5rem; }
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; margin: .3rem 0 1rem; }
.section-lead { color: var(--muted); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }
.text-start.section-title { text-align: left; }

/* ============ SERVICES ============ */
.svc-card { position: relative; height: 100%; padding: 2.2rem 1.8rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .4s, background .4s; }
.svc-card:hover { transform: translateY(-8px); border-color: var(--brand); background: var(--surface-2); }
.svc-card__ic { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: var(--grad); box-shadow: var(--shadow-glow); margin-bottom: 1.3rem; transition: transform .4s; }
.svc-card:hover .svc-card__ic { transform: rotate(-8deg) scale(1.08); }
.svc-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.svc-card p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.svc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.svc-list li { font-size: .78rem; padding: .3rem .7rem; border-radius: 100px; background: rgba(234,70,38,.12); color: var(--brand-400); border: 1px solid var(--border); }
.svc-card__glow { position: absolute; width: 180px; height: 180px; background: radial-gradient(circle, rgba(234,70,38,.4), transparent 70%); top: -60px; right: -60px; opacity: 0; transition: opacity .4s; pointer-events: none; }
.svc-card:hover .svc-card__glow { opacity: 1; }
.svc-num { position: absolute; top: 1.3rem; right: 1.4rem; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--brand); opacity: .35; line-height: 1; }
[dir="rtl"] .svc-num { right: auto; left: 1.4rem; }
.svc-card:hover .svc-num { opacity: .6; }
.svc-more { background: var(--grad) !important; color: #fff !important; border-color: transparent !important; }
.svc-fulllist { list-style: none; padding: 0; margin: 0; }
.svc-fulllist li { display: flex; align-items: center; gap: .55rem; padding: .38rem 0; color: var(--text); font-size: .9rem; border-bottom: 1px solid rgba(234,70,38,.1); }
.svc-fulllist li:last-child { border-bottom: none; }
.svc-fulllist i { color: var(--brand); flex: 0 0 auto; }
.svc-card--full h3 { padding-right: 2.2rem; }
[dir="rtl"] .svc-card--full h3 { padding-right: 0; padding-left: 2.2rem; }

.svc-card--cta { background: var(--grad-soft); border-style: dashed; display: flex; flex-direction: column; }
.svc-link { margin-top: auto; color: var(--brand-400); font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.svc-link:hover { color: var(--brand); }

/* ============ PORTFOLIO ============ */
.filters { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn { font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 100px; padding: .5rem 1.25rem; cursor: pointer; transition: .3s; }
.filter-btn:hover { color: #fff; border-color: var(--brand); }
.filter-btn.active { color: #fff; background: var(--grad); border-color: transparent; box-shadow: var(--shadow-glow); }

.port-item { transition: opacity .4s ease, transform .4s ease; }
.port-item.hide { display: none; }
.port-card { position: relative; height: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s; }
.port-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px -20px rgba(234,70,38,.6); }
.port-card__media { height: 200px; display: grid; place-items: center; font-size: 4rem; background: linear-gradient(135deg, rgba(234,70,38,.28), rgba(14,13,14,.6)); position: relative; overflow: hidden; }
.port-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.14) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s; }
.port-card:hover .port-card__media::after { transform: translateX(120%); }
.port-emoji { transform: scale(1); transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.port-card:hover .port-emoji { transform: scale(1.2) rotate(6deg); }
.port-play { position: absolute; width: 60px; height: 60px; border-radius: 50%; background: rgba(234,70,38,.92); color: #fff; display: grid; place-items: center; font-size: 1.6rem; opacity: 0; transform: scale(.6); transition: opacity .4s, transform .4s cubic-bezier(.34,1.56,.64,1); box-shadow: var(--shadow-glow); }
.port-card:hover .port-play { opacity: 1; transform: scale(1); }
.port-card__body { padding: 1.4rem 1.4rem 1.6rem; position: relative; }
.port-tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-400); font-weight: 600; }
.port-card__body h4 { font-size: 1.2rem; margin: .35rem 0 .4rem; }
.port-card__body p { color: var(--muted); font-size: .9rem; margin: 0; }
.port-link { position: absolute; top: -22px; right: 1.4rem; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.1rem; box-shadow: var(--shadow-glow); transform: scale(0) rotate(-45deg); transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.port-card:hover .port-link { transform: scale(1) rotate(0); }
.port-link:hover { color: #fff; }

/* ============ BEFORE / AFTER ============ */
.ba { position: relative; max-width: 900px; margin: 0 auto; height: 440px; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 30px 80px -30px rgba(234,70,38,.5); cursor: ew-resize; user-select: none; }
.ba__img { position: absolute; inset: 0; display: grid; place-items: center; }
.ba__emoji { font-size: 6rem; filter: drop-shadow(0 10px 30px rgba(0,0,0,.5)); }
.ba__after { background: linear-gradient(135deg, #2a1512, var(--brand-700) 60%, var(--brand) 130%); }
.ba__before { background: #111; filter: grayscale(1) contrast(.85) brightness(.9); clip-path: inset(0 50% 0 0); }
.ba__label { position: absolute; top: 1rem; font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; font-size: .8rem; padding: .3rem .8rem; border-radius: 100px; background: rgba(0,0,0,.5); backdrop-filter: blur(6px); }
.ba__label--before { left: 1rem; color: #fff; }
.ba__label--after { right: 1rem; color: var(--brand-400); }
.ba__handle { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; transform: translate(-50%,-50%); box-shadow: var(--shadow-glow); pointer-events: none; z-index: 3; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
@media (max-width: 575px){ .ba { height: 320px; } .ba__emoji { font-size: 4rem; } }

/* ============ ABOUT ============ */
.about-visual { position: relative; min-height: 420px; display: grid; place-items: center; }
.about-blob { position: absolute; width: 340px; height: 340px; background: var(--grad); border-radius: 42% 58% 63% 37% / 42% 44% 56% 58%; filter: blur(4px); opacity: .92; animation: morph 10s ease-in-out infinite; box-shadow: var(--shadow-glow); }
@keyframes morph { 0%,100% { border-radius: 42% 58% 63% 37% / 42% 44% 56% 58%; transform: rotate(0deg);} 50% { border-radius: 63% 37% 41% 59% / 56% 63% 37% 44%; transform: rotate(12deg);} }
.about-core { position: relative; z-index: 2; text-align: center; color: #fff; }
.about-core .grad-text { font-family: var(--font-display); font-size: 4.6rem; font-weight: 700; display: block; line-height: 1; -webkit-text-fill-color: #fff; background: none; }
.about-core small { font-size: 1.3rem; }
.about-core p { max-width: 210px; margin: .5rem auto 0; font-size: .9rem; }
.about-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: .7rem; padding: .8rem 1.1rem; border-radius: 16px; background: rgba(22,19,20,.9); backdrop-filter: blur(10px); border: 1px solid var(--border); box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.about-card i { font-size: 1.4rem; color: var(--brand-400); }
.about-card strong { display: block; font-family: var(--font-head); font-size: .9rem; }
.about-card span { font-size: .75rem; color: var(--muted); }
.about-card--1 { top: 6%; left: -4%; animation: bob 6s ease-in-out infinite; }
.about-card--2 { bottom: 8%; right: -4%; animation: bob 7s ease-in-out infinite 1s; }
.about-points { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.about-points li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .8rem; color: var(--text); }
.about-points i { color: var(--brand); font-size: 1.2rem; margin-top: .1rem; }

/* ============ TIMELINE ============ */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.timeline::before { content: ""; position: absolute; top: 30px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, var(--brand), var(--brand-400), transparent); }
.tl-item { position: relative; text-align: center; }
.tl-num { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: #fff; background: var(--ink-2); border: 2px solid var(--brand); position: relative; z-index: 2; box-shadow: 0 0 0 6px var(--ink-2); transition: transform .4s, background .4s; }
.tl-item:hover .tl-num { background: var(--grad); border-color: transparent; transform: scale(1.1); }
.tl-body { margin-top: 1.2rem; padding: 1.5rem 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform .4s, border-color .4s; }
.tl-item:hover .tl-body { transform: translateY(-6px); border-color: var(--brand); }
.tl-ic { font-size: 1.6rem; color: var(--brand-400); margin-bottom: .6rem; display: block; }
.tl-body h4 { font-size: 1.15rem; margin-bottom: .4rem; }
.tl-body p { color: var(--muted); font-size: .88rem; margin: 0; }
@media (max-width: 991px){ .timeline { grid-template-columns: repeat(2,1fr); } .timeline::before { display: none; } }
@media (max-width: 575px){ .timeline { grid-template-columns: 1fr; } }

/* ============ TESTIMONIALS ============ */
.testimonial-swiper { padding: 1rem .5rem 4.75rem; position: relative; }
.tstm-card { height: 100%; padding: 2.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); margin: 0; }
.tstm-stars { color: var(--brand); margin-bottom: 1rem; font-size: .95rem; }
.tstm-card p { font-size: 1.05rem; color: var(--text); font-style: italic; margin-bottom: 1.5rem; }
.tstm-card footer { display: flex; align-items: center; gap: .8rem; }
.tstm-av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #fff; background: var(--grad); font-size: .95rem; }
.tstm-card footer strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.tstm-card footer small { color: var(--muted); }
.swiper-pagination-bullet { background: var(--brand-400); opacity: .4; }
.swiper-pagination-bullet-active { background: var(--brand); opacity: 1; width: 22px; border-radius: 5px; }
/* Controls sit in a tidy centered row at the bottom of the slider: [‹]  • • •  [›] */
.testimonial-swiper .swiper-pagination { bottom: .9rem; left: 0; right: 0; width: auto; }
.testimonial-swiper .swiper-button-prev,
.testimonial-swiper .swiper-button-next {
    top: auto; bottom: .35rem; margin-top: 0;
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--border);
    color: var(--brand-400); transition: .25s;
}
.testimonial-swiper .swiper-button-prev { left: 50%; transform: translateX(-150%); }
.testimonial-swiper .swiper-button-next { right: 50%; transform: translateX(150%); }
.testimonial-swiper .swiper-button-prev:hover,
.testimonial-swiper .swiper-button-next:hover { background: var(--grad); color: #fff; border-color: transparent; }
.testimonial-swiper .swiper-button-prev::after,
.testimonial-swiper .swiper-button-next::after { font-size: .95rem; font-weight: 700; }
[dir="rtl"] .testimonial-swiper .swiper-button-prev { left: auto; right: 50%; transform: translateX(150%); }
[dir="rtl"] .testimonial-swiper .swiper-button-next { right: auto; left: 50%; transform: translateX(-150%); }

/* ============ TEAM ============ */
.team-card { text-align: center; padding: 2rem 1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform .4s, border-color .4s; }
.team-card:hover { transform: translateY(-8px); border-color: var(--brand); }
.team-av { width: 90px; height: 90px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: #fff; background: linear-gradient(135deg, var(--from), var(--to)); box-shadow: 0 10px 30px -8px var(--from); transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.team-card:hover .team-av { transform: scale(1.1) rotate(-6deg); }
.team-card h4 { font-size: 1.1rem; margin-bottom: .1rem; }
.team-card span { color: var(--muted); font-size: .85rem; }
.team-social { display: flex; gap: .6rem; justify-content: center; margin-top: 1rem; opacity: 0; transform: translateY(8px); transition: .4s; }
.team-card:hover .team-social { opacity: 1; transform: none; }
.team-social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--brand-400); border: 1px solid var(--border); transition: .3s; }
.team-social a:hover { background: var(--grad); color: #fff; }

/* ============ PRICING ============ */
.price-card { position: relative; height: 100%; padding: 2.4rem 2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform .4s, border-color .4s; }
.price-card:hover { transform: translateY(-8px); border-color: var(--brand); }
.price-card--featured { background: var(--grad-soft); border-color: var(--brand); box-shadow: var(--shadow-glow); }
.price-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .75rem; padding: .35rem 1rem; border-radius: 100px; white-space: nowrap; }
.price-card h3 { font-size: 1.4rem; }
.price-desc { color: var(--muted); font-size: .9rem; margin-bottom: 1.2rem; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; margin-bottom: 1.5rem; color: #fff; }
.price-cur { font-size: 1.4rem; vertical-align: super; color: var(--brand-400); }
.price-per { font-size: .9rem; font-weight: 500; color: var(--muted); font-family: var(--font-body); }
.price-list { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.price-list li { display: flex; align-items: center; gap: .6rem; padding: .5rem 0; color: var(--text); font-size: .92rem; border-bottom: 1px solid rgba(234,70,38,.1); }
.price-list i { color: var(--brand); }

/* ============ CONTACT ============ */
.contact-section { padding-bottom: 7rem; }
.contact-wrap { border-radius: 28px; overflow: hidden; border: 1px solid var(--border); background: var(--ink-2); box-shadow: 0 30px 80px -30px rgba(234,70,38,.5); }
.contact-side { padding: 3rem; background: var(--grad-soft); position: relative; }
.contact-side::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at 20% 20%, rgba(234,70,38,.2), transparent 60%); pointer-events: none; }
.contact-side h2 { font-size: clamp(1.7rem,3vw,2.4rem); font-weight: 800; margin-bottom: 1rem; }
.contact-side > p { color: var(--muted); margin-bottom: 1.8rem; position: relative; }
.contact-meta { list-style: none; padding: 0; margin: 0 0 1.8rem; position: relative; }
.contact-meta li { display: flex; align-items: center; gap: .7rem; margin-bottom: .8rem; color: var(--text); font-size: .92rem; }
.contact-meta i { color: var(--brand-400); }
.contact-social { display: flex; gap: .6rem; }
.contact-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--brand-400); border: 1px solid var(--border); transition: .3s; }
.contact-social a:hover { background: var(--grad); color: #fff; transform: translateY(-3px); }
.contact-formside { padding: 3rem; }
.form-float { position: relative; }
.form-float .form-control { background: var(--surface); border: 1px solid var(--border); color: var(--text); border-radius: 14px; padding: 1.1rem .9rem .5rem; height: auto; }
.form-float textarea.form-control { padding-top: 1.4rem; }
.form-float .form-control:focus { background: var(--surface-2); border-color: var(--brand); box-shadow: 0 0 0 3px rgba(234,70,38,.18); color: #fff; }
.form-float label { position: absolute; top: .9rem; left: .95rem; color: var(--muted); font-size: .95rem; pointer-events: none; transition: .2s ease; }
.form-float .form-control:focus + label, .form-float .form-control:not(:placeholder-shown) + label { top: .3rem; font-size: .72rem; color: var(--brand-400); }
.budget-label { display: block; font-size: .8rem; color: var(--muted); margin-bottom: .5rem; }
.budget-chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip { font-family: var(--font-head); font-size: .85rem; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 100px; padding: .45rem 1rem; cursor: pointer; transition: .3s; }
.chip:hover { color: #fff; border-color: var(--brand); }
.chip.active { background: var(--grad); color: #fff; border-color: transparent; }
.form-note { margin-top: .8rem; font-size: .88rem; color: var(--brand-400); min-height: 1.2rem; }
@media (max-width: 767px){ .contact-side, .contact-formside { padding: 2rem; } }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink-2); border-top: 1px solid var(--border); padding: 4rem 0 1.5rem; }
.footer-brand .brand-word { font-size: 1.2rem; }
.footer-tag { color: var(--muted); font-size: .9rem; margin: 1rem 0; max-width: 340px; }
.site-footer h5 { font-size: .95rem; margin-bottom: 1.1rem; color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .6rem; }
.site-footer ul li a { color: var(--muted); font-size: .9rem; }
.site-footer ul li a:hover { color: var(--brand-400); }
.footer-news { display: flex; gap: .5rem; margin-top: .5rem; }
.footer-news input { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 100px; padding: .6rem 1rem; color: var(--text); font-size: .88rem; }
.footer-news input:focus { outline: none; border-color: var(--brand); }
.footer-news button { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; border: none; background: var(--grad); color: #fff; cursor: pointer; transition: transform .3s; }
.footer-news button:hover { transform: translateX(3px) scale(1.05); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.footer-bottom p { margin: 0; color: var(--muted); font-size: .85rem; }
.footer-bottom strong { color: var(--brand-400); font-family: var(--font-display); letter-spacing: .05em; }
.footer-bottom ul { display: flex; gap: 1.3rem; }
.footer-bottom ul li a { color: var(--muted); font-size: .85rem; }
.footer-bottom .developed-by { flex-basis: 100%; order: 3; text-align: center; margin-top: .35rem; }
.footer-bottom .developed-by a { color: var(--brand); text-decoration: none; transition: opacity .25s; white-space: nowrap; }
.footer-bottom .developed-by a:hover { opacity: .75; }

/* ============ BACK TO TOP ============ */
.to-top { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 50px; height: 50px; border-radius: 50%; border: none; background: var(--grad); color: #fff; font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(20px); transition: .4s; z-index: 900; box-shadow: var(--shadow-glow); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .grain { display: none; }
}

/* ============ HERO PHOTO ============ */
.hero__photo { position: absolute; inset: 0; background: url("../assets/img/hero.jpg") center/cover no-repeat; opacity: .20; -webkit-mask-image: radial-gradient(ellipse 92% 82% at 50% 32%, transparent 18%, #000 92%); mask-image: radial-gradient(ellipse 92% 82% at 50% 32%, transparent 18%, #000 92%); }

/* ============ PORTFOLIO IMAGES ============ */
.port-card__media { grid-template-areas: "stack"; }
.port-img { grid-area: stack; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.port-card:hover .port-img { transform: scale(1.08); }
.port-card__media > .port-play { grid-area: stack; place-self: center; z-index: 2; }
.port-card__media::after { z-index: 1; }

/* ============ BEFORE/AFTER IMAGES ============ */
.ba__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__label { z-index: 2; }
.ba__after { background: #111; }
.ba__before { background: #111; }

/* ============ ABOUT PHOTO ============ */
.about-photo { position: relative; z-index: 2; width: min(400px, 86%); aspect-ratio: 4/5; border-radius: 26px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 30px 70px -25px rgba(234,70,38,.55); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.about-visual:hover .about-photo img { transform: scale(1.06); }
.about-badge { position: absolute; z-index: 4; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 76px; height: 76px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.9rem; box-shadow: var(--shadow-glow); }
.about-badge::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand); animation: ripple 2.4s ease-out infinite; }
.about-years { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; -webkit-text-fill-color: transparent; }
.about-card--2 { align-items: center; }

/* ============ SHOWREEL BANNER ============ */
.showreel-banner { position: relative; padding: 7.5rem 0; overflow: hidden; text-align: center; }
.showreel-banner__media { position: absolute; inset: 0; background: url("../assets/img/showreel.jpg") center/cover fixed; transform: scale(1.08); }
.showreel-banner__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,13,14,.88), rgba(14,13,14,.80)), radial-gradient(circle at 50% 45%, rgba(234,70,38,.28), transparent 60%); }
.showreel-banner__inner { position: relative; z-index: 2; }
.reel-play { position: relative; width: 100px; height: 100px; border-radius: 50%; border: none; background: var(--grad); color: #fff; font-size: 2.6rem; display: grid; place-items: center; margin: 1.4rem auto .8rem; cursor: pointer; box-shadow: var(--shadow-glow); transition: transform .3s; }
.reel-play:hover { transform: scale(1.08); }
.reel-play i { position: relative; z-index: 2; margin-left: 4px; }
.reel-play__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand); animation: ripple 2.6s ease-out infinite; }
.reel-play__ring--2 { animation-delay: 1.3s; }
.showreel-banner__note { color: var(--muted); font-size: .95rem; margin-top: .4rem; }
@media (max-width: 991px){ .showreel-banner__media { background-attachment: scroll; } }

/* ============ CINEMATIC COUNTDOWN INTRO ============ */
@property --iris { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
.intro-lock { overflow: hidden; }
.cine-intro { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #1c1512 0%, #0e0d0e 68%); opacity: 1; transition: opacity 1.1s ease; }
.cine-intro.opening { opacity: 0; --iris: 155%;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent var(--iris), #000 var(--iris));
  mask-image: radial-gradient(circle at 50% 50%, transparent var(--iris), #000 var(--iris));
  transition: opacity 1.1s ease, --iris 1.1s cubic-bezier(.66,0,.34,1); }

.cine-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.cine-intro.action .cine-flash { animation: cineFlash .55s ease; }
@keyframes cineFlash { 0%,100% { opacity: 0; } 10% { opacity: .9; } 45% { opacity: 0; } }

.cine-sprockets { position: absolute; top: 0; bottom: 0; width: 22px; opacity: .5;
  background-image: repeating-linear-gradient(180deg, transparent 0 12px, rgba(255,255,255,.16) 12px 26px); }
.cine-sprockets--l { left: 10px; } .cine-sprockets--r { right: 10px; }

.cine-rec { position: absolute; top: 1.6rem; right: 1.8rem; display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); letter-spacing: .22em; font-size: .82rem; color: #fff; opacity: .9; }
.cine-rec__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 12px var(--brand); animation: recBlink 1s steps(1) infinite; }
@keyframes recBlink { 50% { opacity: .15; } }
.cine-tc { position: absolute; top: 1.6rem; left: 1.8rem; font-family: var(--font-display); letter-spacing: .12em; font-size: .82rem; color: var(--brand-400); opacity: .9; }

.cine-count { position: relative; width: min(50vw, 300px); aspect-ratio: 1; display: grid; place-items: center; transition: opacity .4s, transform .4s; }
.cine-intro.action .cine-count { opacity: 0; transform: scale(1.5); }
.cine-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.cine-track { fill: none; stroke: rgba(255,255,255,.10); stroke-width: 1.5; }
.cine-prog { fill: none; stroke: var(--brand); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; transform: rotate(-90deg); transform-origin: center; animation: cineProg .85s linear infinite; }
@keyframes cineProg { from { stroke-dashoffset: 289; } to { stroke-dashoffset: 0; } }
.cine-cross { stroke: rgba(255,255,255,.09); stroke-width: 1; }
.cine-sweep { stroke: var(--brand); stroke-width: 2; opacity: .85; transform-origin: 50px 50px; animation: cineSweep .85s linear infinite; }
@keyframes cineSweep { to { transform: rotate(360deg); } }
.cine-num { position: relative; z-index: 2; font-family: var(--font-display); font-weight: 700; font-size: clamp(4.5rem, 17vw, 11rem); line-height: 1; color: #fff; text-shadow: 0 0 40px rgba(234,70,38,.5); }
[dir="rtl"] .cine-num { font-family: 'Cairo', sans-serif; }
.cine-num.punch { animation: cinePunch .55s cubic-bezier(.2,1.1,.3,1); }
@keyframes cinePunch { 0% { transform: scale(.35); opacity: 0; filter: blur(8px); } 55% { opacity: 1; filter: blur(0); } 100% { transform: scale(1); } }

.cine-action { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .5rem; opacity: 0; }
.cine-intro.action .cine-action { opacity: 1; animation: cineActionIn .5s cubic-bezier(.2,1.2,.3,1); }
@keyframes cineActionIn { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.cine-action__logo { font-family: var(--font-display); letter-spacing: .5em; font-size: .85rem; color: var(--muted); padding-left: .5em; }
.cine-action__word { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.6rem, 11vw, 6.5rem); color: var(--brand); text-shadow: 0 0 50px rgba(234,70,38,.6); }
[dir="rtl"] .cine-action__word, [dir="rtl"] .cine-action__logo { font-family: 'Cairo', sans-serif; letter-spacing: normal; }
.cine-skip { position: absolute; bottom: 1.8rem; right: 1.8rem; z-index: 4; display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); color: #fff; font-family: var(--font-head); font-weight: 500; font-size: .85rem; padding: .5rem 1.1rem; border-radius: 100px; cursor: pointer; transition: .3s; }
.cine-skip:hover { background: var(--grad); border-color: transparent; transform: translateY(-2px); }
[dir="rtl"] .cine-skip { right: auto; left: 1.8rem; }
[dir="rtl"] .cine-skip .bi-chevron-double-right { display: inline-block; transform: scaleX(-1); }
@media (prefers-reduced-motion: reduce) { .cine-prog, .cine-sweep, .cine-rec__dot { animation: none; } }

/* ============ LANGUAGE TOGGLE ============ */
.lang-toggle { height: 40px; padding: 0 .95rem; border-radius: 100px; border: 1px solid var(--border); background: var(--surface); color: var(--brand-400); font-family: var(--font-display); font-weight: 600; font-size: .9rem; cursor: pointer; transition: .3s; display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; text-decoration: none; }
.lang-toggle i { font-size: 1rem; }
.lang-toggle:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-2px); }
@media (max-width: 991px){ .navbar-collapse .d-flex { flex-direction: column; align-items: stretch !important; margin-top: 1rem; } .navbar-collapse .lang-toggle { width: 100%; justify-content: center; } }

/* ============ ARABIC / RTL ============ */
[dir="rtl"] { font-family: 'Tajawal', 'Cairo', system-ui, sans-serif; }
[dir="rtl"] body { font-family: 'Tajawal', 'Cairo', system-ui, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5,
[dir="rtl"] .brand-word, [dir="rtl"] .eyebrow, [dir="rtl"] .section-title,
[dir="rtl"] .hero__title, [dir="rtl"] .hero__display, [dir="rtl"] .price, [dir="rtl"] .mini-stat strong,
[dir="rtl"] .cap h4, [dir="rtl"] .tl-num, [dir="rtl"] .marquee__track span { font-family: 'Cairo', system-ui, sans-serif; }
[dir="rtl"] .brand-sub { letter-spacing: .12em; }
[dir="rtl"] .text-start, [dir="rtl"] .section-title.text-start { text-align: right; }
[dir="rtl"] .about-points li, [dir="rtl"] .job, [dir="rtl"] .contact-meta li { text-align: right; }
[dir="rtl"] .about-points i { margin-top: .15rem; }
[dir="rtl"] .job:hover { transform: translateX(-6px); }
[dir="rtl"] .blog-link:hover, [dir="rtl"] .svc-link:hover { gap: .7rem; }
[dir="rtl"] .section-lead.ms-0 { margin-right: 0 !important; }
[dir="rtl"] .form-float label { left: auto; right: .95rem; }
/* keep the marquee & sliders LTR-flowing for visual consistency */
[dir="rtl"] .marquee__track { direction: ltr; }

/* --- RTL polish --- */
[dir="rtl"] { text-align: right; }
[dir="rtl"] .text-center, [dir="rtl"] .hero__inner, [dir="rtl"] .section-head,
[dir="rtl"] .cta-mini, [dir="rtl"] .page-hero, [dir="rtl"] .showreel-banner__inner { text-align: center; }
[dir="rtl"] .brand-block, [dir="rtl"] .brand-word, [dir="rtl"] .brand-sub { text-align: left; }
[dir="rtl"] .contact-side, [dir="rtl"] .contact-meta li, [dir="rtl"] .tstm-card footer,
[dir="rtl"] .team-card, [dir="rtl"] .price-card, [dir="rtl"] .about-card { text-align: right; }
[dir="rtl"] .tstm-card p { font-style: normal; }
/* flip forward-pointing arrows so they lead toward the reading direction */
[dir="rtl"] .btn .bi-arrow-right, [dir="rtl"] .btn .bi-arrow-up-right,
[dir="rtl"] .blog-link .bi-arrow-right, [dir="rtl"] .svc-link .bi-arrow-right,
[dir="rtl"] .job__go .bi-arrow-right, [dir="rtl"] .footer-news button .bi-arrow-right,
[dir="rtl"] .crumbs .bi-chevron-right, [dir="rtl"] .nav-link .bi-arrow-up-right { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .footer-news button:hover { transform: translateX(-3px) scale(1.05); }
[dir="rtl"] .to-top { right: auto; left: 1.5rem; }
[dir="rtl"] .cine-rec { right: auto; left: 1.8rem; }
[dir="rtl"] .cine-tc { left: auto; right: 1.8rem; }
[dir="rtl"] .price-list li, [dir="rtl"] .svc-fulllist li, [dir="rtl"] .join-perk { flex-direction: row-reverse; }
[dir="rtl"] .price-list li, [dir="rtl"] .svc-fulllist li { justify-content: flex-start; }

/* ============ PAGE HERO (subpages) ============ */
.page-hero { position: relative; padding: 12rem 0 5rem; text-align: center; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(760px circle at 50% -10%, rgba(234,70,38,.24), transparent 60%); }
.page-hero__photo { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .16; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: 1rem; }
.page-hero p { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
.crumbs { display: flex; gap: .55rem; justify-content: center; align-items: center; margin-top: 1.3rem; font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--brand-400); }
.crumbs a:hover { color: var(--brand); }
.crumbs i { font-size: .65rem; opacity: .7; }

/* ============ SEE-MORE + CTA BAND ============ */
.see-more { margin-top: 3rem; }
.cta-mini { position: relative; overflow: hidden; border-radius: 28px; padding: 4rem 2rem; text-align: center; background: var(--grad-soft); border: 1px solid var(--border); box-shadow: 0 30px 80px -30px rgba(234,70,38,.5); }
.cta-mini::before { content: ""; position: absolute; width: 360px; height: 360px; top: -140px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(234,70,38,.28), transparent 70%); pointer-events: none; }
.cta-mini h2 { position: relative; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .8rem; }
.cta-mini p { position: relative; color: var(--muted); max-width: 520px; margin: 0 auto 1.8rem; }
.cta-mini .btn { position: relative; }

/* ============ JOIN US / CAREERS ============ */
.join-wrap { border-radius: 28px; padding: 3rem; background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.join-wrap::before { content: ""; position: absolute; width: 340px; height: 340px; top: -120px; right: -80px; background: radial-gradient(circle, rgba(234,70,38,.28), transparent 70%); pointer-events: none; }
.join-perks { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.join-perk { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; color: var(--brand-400); background: rgba(234,70,38,.1); border: 1px solid var(--border); border-radius: 100px; padding: .4rem .9rem; }
.jobs { display: flex; flex-direction: column; gap: .8rem; }
.job { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--border); transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .35s, background .35s; }
.job:hover { transform: translateX(6px); border-color: var(--brand); background: var(--ink-3); }
.job__ic { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; color: #fff; background: var(--grad); box-shadow: var(--shadow-glow); transition: transform .35s; }
.job:hover .job__ic { transform: rotate(-8deg) scale(1.08); }
.job__info { flex: 1; }
.job__info strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--text); }
.job__info small { color: var(--muted); font-size: .82rem; }
.job__go { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--brand-400); border: 1px solid var(--border); transition: background .35s, color .35s; }
.job:hover .job__go { background: var(--grad); color: #fff; border-color: transparent; }
/* job cards double as "apply" triggers — reset native button chrome */
button.job { width: 100%; font: inherit; text-align: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; }
.apply-label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .4rem; font-weight: 500; }
/* Standalone select + file input aren't wrapped in .form-float, so give them the
   same dark, themed surface as every other input (kills the white native file button).
   Scoped to these two controls only, so the .form-float floating-label inputs keep their padding. */
.apply-form .form-select, .apply-form input[type="file"].form-control {
  background-color: var(--surface); border: 1px solid var(--border); color: var(--text);
  border-radius: 14px; height: auto;
}
.apply-form .form-select:focus, .apply-form input[type="file"].form-control:focus {
  background-color: var(--surface-2); border-color: var(--brand); color: #fff;
  box-shadow: 0 0 0 3px rgba(234,70,38,.18);
}
.apply-form .form-select { padding: .95rem .9rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23a8a09c'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 14px; }
[dir="rtl"] .apply-form .form-select { background-position: left .9rem center; }
.apply-form input[type="file"].form-control { padding: .6rem .9rem; line-height: 1.6; }
.apply-form input[type="file"].form-control::file-selector-button,
.apply-form input[type="file"].form-control::-webkit-file-upload-button {
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border);
  border-radius: 10px; padding: .45rem .9rem; margin-right: .9rem; cursor: pointer;
  font: inherit; font-weight: 600; transition: background .25s, color .25s, border-color .25s;
}
.apply-form input[type="file"].form-control::file-selector-button:hover { background: var(--grad); color: #fff; border-color: transparent; }
[dir="rtl"] .apply-form input[type="file"].form-control::file-selector-button { margin-right: 0; margin-left: .9rem; }
.jobs__note { margin: .8rem 0 0; color: var(--muted); font-size: .86rem; }
.jobs__note i { color: var(--brand-400); margin-right: .3rem; }
@media (max-width: 767px){ .join-wrap { padding: 2rem 1.5rem; } }

/* ============ BLOG ============ */
.blog-card { height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .4s, box-shadow .4s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-8px); border-color: var(--brand); box-shadow: 0 24px 60px -20px rgba(234,70,38,.5); }
.blog-card__media { position: relative; display: block; height: 210px; overflow: hidden; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.blog-card:hover .blog-card__media img { transform: scale(1.08); }
.blog-cat { position: absolute; top: 1rem; left: 1rem; font-family: var(--font-display); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--grad); padding: .3rem .8rem; border-radius: 100px; box-shadow: var(--shadow-glow); }
.blog-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-meta { color: var(--muted); font-size: .78rem; margin-bottom: .6rem; }
.blog-meta i { color: var(--brand-400); margin-right: .2rem; }
.blog-meta span { margin: 0 .3rem; }
.blog-card__body h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: .6rem; }
.blog-card__body h3 a { color: var(--text); transition: color .25s; }
.blog-card__body h3 a:hover { color: var(--brand-400); }
.blog-card__body p { color: var(--muted); font-size: .92rem; margin-bottom: 1.2rem; }
.blog-link { margin-top: auto; color: var(--brand-400); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; transition: gap .25s, color .25s; }
.blog-link:hover { color: var(--brand); gap: .7rem; }

::selection { background: rgba(234,70,38,.4); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--brand), var(--brand-700)); border-radius: 10px; }

/* ============ ARTICLE (blog detail, WYSIWYG output) ============ */
.article-cover { width: 100%; border-radius: 20px; margin-bottom: 2rem; box-shadow: 0 24px 60px -24px rgba(234,70,38,.5); }
.article-body { font-size: 1.08rem; line-height: 1.85; color: var(--muted); }
.article-body h2, .article-body h3, .article-body h4 { color: #fff; font-family: var(--font-head); margin: 1.9rem 0 .8rem; }
.article-body p { margin-bottom: 1.2rem; }
.article-body a { color: var(--brand-400); text-decoration: underline; }
.article-body strong { color: var(--text); }
.article-body ul, .article-body ol { margin: 0 0 1.2rem 1.4rem; }
.article-body li { margin-bottom: .5rem; }
.article-body img { max-width: 100%; height: auto; border-radius: 14px; margin: 1.2rem 0; }
.article-body blockquote { border-left: 3px solid var(--brand); padding: .4rem 0 .4rem 1.1rem; margin: 1.4rem 0; color: var(--text); font-style: italic; }
[dir="rtl"] .article-body blockquote { border-left: none; border-right: 3px solid var(--brand); padding: .4rem 1.1rem .4rem 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: .6rem .8rem; }
.article-body th { background: rgba(234,70,38,.1); color: var(--text); }
.article-sep { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* ============ COOKIE CONSENT ============ */
.cookie-banner { position: fixed; bottom: 1.2rem; left: 1.2rem; right: 1.2rem; max-width: 760px; margin: 0 auto; z-index: 2600; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: space-between; padding: 1rem 1.3rem; background: rgba(22,19,20,.97); backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.7); animation: cookieUp .5s ease; }
@keyframes cookieUp { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie-banner p { margin: 0; font-size: .9rem; color: var(--muted); flex: 1 1 320px; }
.cookie-banner a { color: var(--brand-400); }
.cookie-banner__actions { display: flex; gap: .5rem; }
[dir="rtl"] .cookie-banner { direction: rtl; }
