/* ============================================================
   GOLDEN MEDIA — غولدن ميديا
   Static landing page | RTL Arabic | Dark navy / Gold / Blue
   ============================================================ */

/* ---------- Fonts (local, self-hosted) ---------- */
@font-face {
  font-family: 'Cairo';
  src: url('../assets/fonts/cairo-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('../assets/fonts/cairo-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('../assets/fonts/cairo-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('../assets/fonts/cairo-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('../assets/fonts/cairo-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('../assets/fonts/cairo-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --bg: #0A1128;
  --bg-2: #0D1B2A;
  --bg-3: #101F3C;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.1);
  --gold: #D4AF37;
  --gold-2: #E5C158;
  --gold-3: #F5D97E;
  --blue: #1E90FF;
  --blue-2: #0066FF;
  --text: #EAF0FF;
  --muted: #9FB0D0;
  --green: #25D366;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
  --header-h: 76px;
  --grad-gold: linear-gradient(120deg, #F5D97E 0%, #D4AF37 45%, #B8860B 75%, #E5C158 100%);
  --grad-blue: linear-gradient(120deg, #4DB2FF 0%, #1E90FF 55%, #0066FF 100%);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
svg { flex-shrink: 0; }
::selection { background: rgba(212, 175, 55, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 92%); margin-inline: auto; }

.grad-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.grad-blue {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.preloader-logo {
  width: 110px;
  height: 110px;
  border-radius: 26px;
  animation: preloaderPulse 1.6s ease-in-out infinite;
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.35);
}
@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.06); filter: brightness(1.2); }
}
.preloader-bar { width: 180px; height: 4px; border-radius: 99px; background: rgba(255,255,255,0.08); overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 40%; border-radius: 99px; background: var(--grad-gold); animation: loadBar 1.2s ease-in-out infinite; }
@keyframes loadBar { 0% { transform: translateX(150%);} 100% { transform: translateX(-350%);} }
.preloader-text { color: var(--muted); font-size: 0.95rem; letter-spacing: 0.3px; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; right: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-gold);
  z-index: 1200;
  border-radius: 0 99px 99px 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 14px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.02rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: scale(0.97); }
.btn-gold {
  background: var(--grad-gold);
  color: #1A1205;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.28), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-gold::after {
  content: '';
  position: absolute;
  top: 0; inset-inline-start: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: inset-inline-start 0.6s ease;
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(212, 175, 55, 0.4); }
.btn-gold:hover::after { inset-inline-start: 130%; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--blue); color: #fff; box-shadow: 0 12px 30px rgba(30, 144, 255, 0.22); background: rgba(30, 144, 255, 0.1); }
.btn-lg { padding: 16px 36px; font-size: 1.08rem; }
.btn-sm { padding: 10px 20px; font-size: 0.92rem; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; inset-inline: 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(10, 17, 40, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  height: 66px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 48px; height: 48px; border-radius: 13px; box-shadow: 0 0 22px rgba(212, 175, 55, 0.35); transition: transform 0.3s ease; }
.brand:hover .brand-logo { transform: rotate(-4deg) scale(1.05); }
.brand-name { font-size: 1.35rem; font-weight: 900; letter-spacing: 0.2px; }
.brand-gold { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  opacity: 0.85;
  border-radius: 10px;
  transition: opacity 0.25s ease, color 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; inset-inline-start: 14px; inset-inline-end: 14px;
  height: 2px;
  border-radius: 99px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.nav-link:hover, .nav-link.active { opacity: 1; color: var(--gold-2); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-cta { margin-inline-start: 8px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 99px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 90px;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(30, 144, 255, 0.14), transparent 60%),
    radial-gradient(800px 500px at 10% 110%, rgba(212, 175, 55, 0.12), transparent 60%),
    var(--bg);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero-glow-1 { width: 420px; height: 420px; background: rgba(212, 175, 55, 0.16); top: -120px; inset-inline-start: -100px; animation: glowDrift 9s ease-in-out infinite alternate; }
.hero-glow-2 { width: 380px; height: 380px; background: rgba(30, 144, 255, 0.16); bottom: -100px; inset-inline-end: -80px; animation: glowDrift 11s ease-in-out infinite alternate-reverse; }
@keyframes glowDrift { from { transform: translateY(0) scale(1); } to { transform: translateY(40px) scale(1.12); } }
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 99px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-2);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 20px;
}
.hero-sub { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 2.1rem; font-weight: 900; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.2; }
.stat-label { color: var(--muted); font-size: 0.9rem; }

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-logo-ring {
  position: relative;
  width: min(340px, 80%);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-ring::before {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(212,175,55,0.5), rgba(30,144,255,0.35), transparent 40%, rgba(212,175,55,0.5));
  animation: spin 14s linear infinite;
  filter: blur(2px);
}
.hero-logo-ring::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 0 80px rgba(212, 175, 55, 0.25), inset 0 0 60px rgba(30, 144, 255, 0.12);
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-logo {
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: logoFloat 6s ease-in-out infinite;
}
@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(13, 27, 42, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
  z-index: 2;
  animation: cardFloat 5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 0.92rem; line-height: 1.3; }
.float-card small { color: var(--muted); font-size: 0.78rem; }
.float-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px;
  font-size: 1.1rem;
  background: linear-gradient(135deg, rgba(212,175,55,0.25), rgba(30,144,255,0.2));
  color: var(--gold-2);
}
.float-card-1 { top: 8%; inset-inline-start: -4%; animation-delay: 0s; }
.float-card-2 { bottom: 16%; inset-inline-end: -6%; animation-delay: 1.2s; }
.float-card-3 { bottom: -4%; inset-inline-start: 6%; animation-delay: 2s; }
@keyframes cardFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.scroll-hint {
  position: absolute;
  bottom: 26px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.scroll-hint:hover { opacity: 1; }
.mouse {
  display: block;
  width: 26px; height: 42px;
  border: 2px solid var(--gold);
  border-radius: 14px;
  position: relative;
}
.wheel { position: absolute; top: 7px; inset-inline-start: 50%; transform: translateX(-50%); width: 4px; height: 8px; border-radius: 4px; background: var(--gold); animation: wheelMove 1.6s ease-in-out infinite; }
@keyframes wheelMove { 0% { opacity: 1; top: 7px; } 100% { opacity: 0; top: 22px; } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-weight: 700; font-size: 1.05rem; color: var(--text); opacity: 0.85; }
.marquee-track i { color: var(--gold); font-style: normal; font-size: 0.9rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section:nth-of-type(even) { background: var(--bg-2); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-tag {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 99px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-2);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.4px;
  margin-bottom: 16px;
}
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 900; line-height: 1.4; margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.s-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.4s ease, background 0.3s ease;
  overflow: hidden;
}
.s-card::before {
  content: '';
  position: absolute;
  top: 0; inset-inline: 0;
  height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.45s ease;
}
.s-card:hover::before { transform: scaleX(1); }
.s-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(212, 175, 55, 0.08);
  background: var(--panel-2);
}
.s-icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 15px;
  margin-bottom: 20px;
  transition: transform 0.35s ease;
}
.s-icon svg { width: 28px; height: 28px; }
.s-card:hover .s-icon { transform: scale(1.1) rotate(-5deg); }
.s-icon.gold { background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(212,175,55,0.05)); border: 1px solid rgba(212,175,55,0.35); color: var(--gold-2); }
.s-icon.blue { background: linear-gradient(135deg, rgba(30,144,255,0.18), rgba(30,144,255,0.04)); border: 1px solid rgba(30,144,255,0.35); color: var(--blue); }
.s-card h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: 10px; line-height: 1.55; }
.s-card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 14px; }
.stars { color: var(--gold); letter-spacing: 4px; font-size: 0.95rem; text-shadow: 0 0 14px rgba(212,175,55,0.5); }
.s-card-wide { display: flex; gap: 22px; align-items: flex-start; grid-column: span 2; }
.s-card-wide .s-card-body { flex: 1; }
.s-card-wide .s-icon { margin-bottom: 0; }

/* ---------- About ---------- */
.about { background: var(--bg-2); }
.about-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.about-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: var(--shadow), 0 0 60px rgba(30, 144, 255, 0.08);
}
.about-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,17,40,0.1), rgba(10,17,40,0.5));
}
.about-frame img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: 26px;
  background: var(--grad-gold);
  opacity: 0.5;
  filter: blur(18px);
}
.about-badge {
  position: absolute;
  bottom: 26px;
  inset-inline-start: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: 16px;
  background: rgba(10, 17, 40, 0.82);
  border: 1px solid rgba(212, 175, 55, 0.4);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.badge-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--grad-gold);
  color: #1A1205;
  font-size: 1.3rem;
}
.about-badge strong { display: block; font-size: 1rem; line-height: 1.4; }
.about-badge small { color: var(--muted); font-size: 0.82rem; }
.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0 36px; }
.about-list li { display: flex; gap: 14px; align-items: flex-start; }
.check {
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,175,55,0.25), rgba(30,144,255,0.2));
  color: var(--gold-2);
  font-weight: 900;
  border: 1px solid rgba(212, 175, 55, 0.4);
}
.about-list strong { display: block; font-size: 1.02rem; margin-bottom: 4px; }
.about-list p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.p-step {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}
.p-step:hover { transform: translateY(-8px); border-color: rgba(30, 144, 255, 0.5); box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 36px rgba(30,144,255,0.1); }
.p-num {
  position: absolute;
  top: 14px; inset-inline-end: 18px;
  font-size: 2.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(212,175,55,0.5), rgba(30,144,255,0.3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.5;
}
.p-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(30,144,255,0.2), rgba(30,144,255,0.05));
  border: 1px solid rgba(30, 144, 255, 0.4);
  color: var(--blue);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.p-icon svg { width: 30px; height: 30px; }
.p-step:hover .p-icon { transform: rotate(-6deg) scale(1.08); box-shadow: 0 0 30px rgba(30,144,255,0.35); }
.p-step h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 8px; }
.p-step p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Work / Portfolio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.w-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  background: var(--bg-3);
}
.w-item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease; }
.w-item:hover img, .w-item:focus-visible img { transform: scale(1.08); filter: brightness(0.55); }
.w-item figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  background: linear-gradient(160deg, rgba(10,17,40,0.15), rgba(10,17,40,0.85));
}
.w-item:hover figcaption, .w-item:focus-visible figcaption { opacity: 1; transform: translateY(0); }
.w-item figcaption span { color: var(--gold-2); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.5px; }
.w-item figcaption strong { font-size: 1.05rem; font-weight: 800; }
.w-item::after {
  content: '+';
  position: absolute;
  top: 12px; inset-inline-end: 14px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.9);
  color: #1A1205;
  font-weight: 900;
  font-size: 1.15rem;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.w-item:hover::after { opacity: 1; transform: scale(1); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(5, 9, 22, 0.92);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(860px, 90vw);
  max-height: 78vh;
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  animation: lbIn 0.35s ease;
}
@keyframes lbIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 1.5rem;
  transition: background 0.25s ease, transform 0.25s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(212, 175, 55, 0.25); transform: scale(1.06); }
.lb-close { top: 22px; inset-inline-end: 22px; }
.lb-prev { inset-inline-start: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { inset-inline-end: 20px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.06); }
.lb-caption { position: absolute; bottom: 22px; inset-inline: 0; text-align: center; color: var(--gold-2); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; align-items: start; }
.faq-inner .section-head { margin-bottom: 0; text-align: start; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item.open { border-color: rgba(212, 175, 55, 0.5); box-shadow: 0 14px 40px rgba(0,0,0,0.3); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  font-family: var(--font);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  text-align: start;
}
.faq-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-2);
  font-size: 1.2rem;
  transition: transform 0.35s ease, background 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--grad-gold); color: #1A1205; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 0.96rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(212, 175, 55, 0.14), transparent 70%),
    linear-gradient(160deg, var(--bg-3), var(--bg));
  border-block: 1px solid rgba(212, 175, 55, 0.2);
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 40px, rgba(212,175,55,0.03) 40px 41px);
  pointer-events: none;
}
.cta-inner { position: relative; text-align: center; }
.cta-inner h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 900; margin-bottom: 14px; }
.cta-inner p { color: var(--muted); font-size: 1.1rem; margin-bottom: 34px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.c-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
a.c-card:hover { transform: translateX(-6px); border-color: rgba(212, 175, 55, 0.5); box-shadow: 0 16px 40px rgba(0,0,0,0.35); background: var(--panel-2); }
.c-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
}
.c-icon svg { width: 26px; height: 26px; }
.c-icon.gold { background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(212,175,55,0.05)); border: 1px solid rgba(212,175,55,0.4); color: var(--gold-2); }
.c-icon.green { background: linear-gradient(135deg, rgba(37,211,102,0.2), rgba(37,211,102,0.05)); border: 1px solid rgba(37,211,102,0.4); color: var(--green); }
.c-icon.blue { background: linear-gradient(135deg, rgba(30,144,255,0.2), rgba(30,144,255,0.05)); border: 1px solid rgba(30,144,255,0.4); color: var(--blue); }
.c-card small { display: block; color: var(--muted); font-size: 0.84rem; }
.c-card strong { font-size: 1.08rem; font-weight: 800; }

.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 700; font-size: 0.94rem; margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(10, 17, 40, 0.7);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.98rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
.form-field select option { background: var(--bg-3); color: var(--text); }
.form-field.invalid input, .form-field.invalid textarea { border-color: #FF4D6D; box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.15); }
.form-error { display: block; color: #FF8FA3; font-size: 0.82rem; margin-top: 5px; min-height: 0; }
.form-note { margin-top: 14px; color: var(--muted); font-size: 0.86rem; text-align: center; }
.form-note a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.form-success {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #7BE8A8;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
}

/* ---------- Footer ---------- */
.footer {
  background: #070D1F;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-col h4 { font-size: 1.05rem; font-weight: 800; margin-bottom: 18px; color: var(--gold-2); }
.footer-col a { display: block; color: var(--muted); font-size: 0.95rem; margin-bottom: 10px; transition: color 0.25s ease, transform 0.25s ease; }
.footer-col a:hover { color: var(--gold-2); transform: translateX(-4px); }
.footer-about p { color: var(--muted); font-size: 0.95rem; margin: 18px 0 22px; max-width: 320px; }
.footer-about .brand { margin-bottom: 4px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  margin: 0;
  transition: all 0.3s ease;
}
.footer-social a svg { width: 20px; height: 20px; }
.footer-social a:hover { background: var(--grad-gold); color: #1A1205; transform: translateY(-4px) !important; border-color: transparent; box-shadow: 0 10px 24px rgba(212,175,55,0.35); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; text-align: center; }
.footer-bottom p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Floating buttons ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 900;
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 34px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: translateY(-5px) scale(1.06); box-shadow: 0 18px 44px rgba(37, 211, 102, 0.5); }
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: waPing 2s ease-out infinite;
}
@keyframes waPing { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.to-top {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  z-index: 900;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  color: var(--gold-2);
  font-size: 1.3rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: rgba(212, 175, 55, 0.2); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--rd, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .s-card-wide { grid-column: span 2; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 50px; }
  .about-visual { max-width: 520px; margin-inline: auto; }
  .faq-inner { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 6%;
    background: rgba(10, 17, 40, 0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-link { padding: 13px 16px; font-size: 1.05rem; border-radius: 12px; }
  .nav-link::after { display: none; }
  .nav-link:hover, .nav-link.active { background: rgba(212, 175, 55, 0.1); }
  .nav-cta { margin: 10px 0 4px; }
  .section { padding: 80px 0; }
  .float-card-1 { inset-inline-start: 0; }
  .float-card-2 { inset-inline-end: 0; }
  .about-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --header-h: 66px; }
  .services-grid { grid-template-columns: 1fr; }
  .s-card-wide { grid-column: span 1; flex-direction: column; }
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 1.7rem; }
  .contact-form { padding: 24px 20px; }
  .btn-lg { padding: 14px 26px; }
  .wa-float { width: 54px; height: 54px; bottom: 18px; inset-inline-end: 18px; }
  .to-top { width: 44px; height: 44px; bottom: 18px; inset-inline-start: 18px; }
}

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