/* =====================================================================
   SHJRNIM — Premium Legal-Tech Platform
   Luxury Dark Theme · 3D · Glassmorphism · RTL
   ===================================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Core palette */
  --navy:        #0A1222;
  --navy-2:      #0C1526;
  --black:       #050505;
  --bg:          #060A14;
  --surface:     #0B1422;
  --surface-2:   #0E1A2E;
  --surface-3:   #122036;

  /* Gold system */
  --gold:        #C8A45D;
  --gold-light:  #E6C98C;
  --gold-warm:   #E0C088;
  --gold-deep:   #A8853F;

  /* Neutrals */
  --soft-white:  #F5F1E8;
  --text:        #DCD8CE;
  --text-dim:    rgba(220, 216, 206, .64);
  --text-faint:  rgba(220, 216, 206, .40);

  /* Lines & glass */
  --line:        rgba(200, 164, 93, .16);
  --line-soft:   rgba(245, 241, 232, .08);
  --glass:       rgba(255, 255, 255, .035);
  --glass-2:     rgba(255, 255, 255, .055);
  --glass-bd:    rgba(200, 164, 93, .20);

  /* Effects */
  --shadow:      0 30px 80px -24px rgba(0, 0, 0, .75);
  --shadow-sm:   0 12px 36px -12px rgba(0, 0, 0, .6);
  --glow-gold:   0 0 44px rgba(200, 164, 93, .28);
  --radius:      16px;
  --radius-sm:   10px;
  --radius-lg:   24px;

  /* Gradients */
  --grad-gold:   linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 48%, var(--gold-deep) 100%);
  --grad-text:   linear-gradient(120deg, #F3E6C8 0%, var(--gold-light) 38%, var(--gold) 70%, var(--gold-deep) 100%);

  /* Type */
  --font-body:   "IBM Plex Sans Arabic", system-ui, -apple-system, sans-serif;
  --font-head:   "Tajawal", var(--font-body);
  --font-brand:  "Cormorant Garamond", "Tajawal", serif;

  /* Motion */
  --ease:        cubic-bezier(.22, 1, .36, 1);
  --ease-out:    cubic-bezier(.16, 1, .3, 1);
  --dur:         .6s;

  --maxw:        1240px;
  --header-h:    84px;
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  font-weight: 400;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: .005em;
}

body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }
::selection { background: rgba(200, 164, 93, .26); color: var(--soft-white); }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold-deep), var(--navy-2)); border-radius: 10px; border: 2px solid var(--black); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

.skip-link {
  position: fixed; inset-block-start: -100px; inset-inline-start: 16px; z-index: 9999;
  background: var(--gold); color: var(--navy); padding: 12px 22px; border-radius: 8px;
  font-weight: 700; transition: inset-block-start .3s;
}
.skip-link:focus { inset-block-start: 16px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- 3. TYPOGRAPHY ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--soft-white); letter-spacing: -.01em; }

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }

p { color: var(--text-dim); }

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

/* ---------- 4. LAYOUT UTILITIES ---------- */
.container { width: min(var(--maxw), calc(100% - 48px)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(72px, 11vw, 150px); }
.section--tight { padding-block: clamp(56px, 8vw, 100px); }

.section-head { max-width: 760px; margin-inline: auto; text-align: center; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head--start { margin-inline: 0; text-align: start; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.section-head--start .eyebrow { justify-content: flex-start; }
.section-head--start .eyebrow::before { display: none; }

.section-title { margin-bottom: 20px; }
.section-sub { font-size: 1.08rem; color: var(--text-dim); max-width: 640px; margin-inline: auto; }
.section-head--start .section-sub { margin-inline: 0; }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 34px; border-radius: 100px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  letter-spacing: .01em; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(-5px); }

.btn--primary { background: var(--grad-gold); color: #1A1206; box-shadow: 0 10px 34px -8px rgba(200, 164, 93, .55); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, #FFF1D4, var(--gold-light));
  opacity: 0; transition: opacity .35s;
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 48px -10px rgba(200, 164, 93, .7); }
.btn--primary:hover::before { opacity: 1; }

.btn--ghost { background: var(--glass); color: var(--soft-white); border: 1px solid var(--glass-bd); backdrop-filter: blur(8px); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--gold-light); box-shadow: var(--glow-gold); }

.btn--block { width: 100%; }

/* Glass surface */
.glass {
  background: var(--glass);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--gold);
  transition: gap .3s, color .3s;
}
.link-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s; }
.link-more:hover { color: var(--gold-light); gap: 14px; }
.link-more:hover svg { transform: translateX(-4px); }

/* ---------- 5. AMBIENT BACKGROUND ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.bg-fx::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(200, 164, 93, .12), transparent 60%),
    radial-gradient(900px 700px at 8% 12%, rgba(18, 34, 64, .55), transparent 60%),
    radial-gradient(1200px 900px at 50% 108%, rgba(168, 133, 63, .10), transparent 55%);
}
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; mix-blend-mode: screen; }
.aurora--1 { width: 540px; height: 540px; top: -160px; inset-inline-end: -120px; background: radial-gradient(circle, rgba(200,164,93,.34), transparent 70%); animation: drift1 22s ease-in-out infinite; }
.aurora--2 { width: 480px; height: 480px; bottom: -180px; inset-inline-start: -120px; background: radial-gradient(circle, rgba(20,42,80,.7), transparent 70%); animation: drift2 26s ease-in-out infinite; }
.aurora--3 { width: 360px; height: 360px; top: 42%; inset-inline-start: 40%; background: radial-gradient(circle, rgba(200,164,93,.16), transparent 70%); animation: drift1 30s ease-in-out infinite reverse; }

.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .04;
  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='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px, 50px) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(70px, -40px) scale(1.1); } }

/* ---------- 6. PRELOADER ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center;
  background: var(--black);
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.pre-mark { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.pre-mark img { width: 76px; height: 76px; animation: prePulse 1.8s ease-in-out infinite; }
.pre-word {
  font-family: var(--font-brand); font-size: 1.6rem; font-weight: 600;
  letter-spacing: .55em; padding-inline-start: .55em; color: var(--gold);
  overflow: hidden; white-space: nowrap;
}
.pre-bar { width: 180px; height: 2px; background: var(--line-soft); border-radius: 2px; overflow: hidden; }
.pre-bar span { display: block; height: 100%; width: 0; background: var(--grad-gold); animation: preLoad 1.5s var(--ease) forwards; }
@keyframes prePulse { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes preLoad { to { width: 100%; } }

/* ---------- 7. CUSTOM CURSOR ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none; border-radius: 50%; mix-blend-mode: screen; will-change: transform; }
.cursor-dot { width: 7px; height: 7px; background: var(--gold-light); transform: translate(-50%, -50%); }
.cursor-ring { width: 40px; height: 40px; border: 1px solid rgba(200,164,93,.6); transform: translate(-50%, -50%); transition: width .3s, height .3s, background .3s, border-color .3s; }
.cursor-ring.is-hover { width: 64px; height: 64px; background: rgba(200,164,93,.08); border-color: var(--gold); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- 8. HEADER ---------- */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 1000;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.top-strip {
  font-size: .78rem; color: var(--text-faint); letter-spacing: .02em;
  border-bottom: 1px solid var(--line-soft); background: rgba(5,5,5,.4);
}
.top-strip .container { display: flex; gap: 26px; align-items: center; justify-content: center; flex-wrap: wrap; padding-block: 8px; }
.top-strip span { display: inline-flex; align-items: center; gap: 8px; }
.top-strip .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; transition: padding .4s; }
.site-header.is-scrolled { background: rgba(8, 13, 24, .82); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); border-bottom-color: var(--line); }
.site-header.is-scrolled .nav-row { padding-block: 11px; }
.site-header.is-scrolled .top-strip { display: none; }

.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand img { width: 42px; height: 42px; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-brand); font-size: 1.45rem; font-weight: 700; letter-spacing: .32em; padding-inline-start: .32em; color: var(--soft-white); }
.brand-text small { font-size: .68rem; letter-spacing: .08em; color: var(--gold); font-family: var(--font-head); }

.nav-pill { display: flex; align-items: center; gap: 4px; padding: 7px; border-radius: 100px; background: var(--glass); border: 1px solid var(--line-soft); backdrop-filter: blur(12px); }
.nav-pill a { position: relative; padding: 9px 17px; border-radius: 100px; font-family: var(--font-head); font-weight: 500; font-size: .94rem; color: var(--text-dim); transition: color .3s, background .3s; }
.nav-pill a:hover { color: var(--soft-white); }
.nav-pill a.active { color: var(--navy); background: var(--grad-gold); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line-soft); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle i { width: 20px; height: 2px; background: var(--gold-light); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
body.nav-open .menu-toggle i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .menu-toggle i:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 999; padding: calc(var(--header-h) + 30px) 30px 40px;
  background: rgba(6, 10, 20, .97); backdrop-filter: blur(24px);
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform .5s var(--ease); visibility: hidden;
}
body.nav-open .mobile-nav { transform: translateX(0); visibility: visible; }
.mobile-nav a { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: var(--soft-white); padding: 14px 0; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; opacity: 0; transform: translateY(20px); }
body.nav-open .mobile-nav a { animation: navIn .5s var(--ease) forwards; }
body.nav-open .mobile-nav a:nth-child(1) { animation-delay: .1s; }
body.nav-open .mobile-nav a:nth-child(2) { animation-delay: .16s; }
body.nav-open .mobile-nav a:nth-child(3) { animation-delay: .22s; }
body.nav-open .mobile-nav a:nth-child(4) { animation-delay: .28s; }
body.nav-open .mobile-nav a:nth-child(5) { animation-delay: .34s; }
body.nav-open .mobile-nav a:nth-child(6) { animation-delay: .40s; }
body.nav-open .mobile-nav a:nth-child(7) { animation-delay: .46s; }
.mobile-nav a span { color: var(--gold); font-size: 1rem; }
.mobile-nav .btn { margin-top: 24px; }
@keyframes navIn { to { opacity: 1; transform: none; } }

/* ---------- 9. HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-block: calc(var(--header-h) + 40px) 80px; overflow: hidden; perspective: 1400px; }
#hero-canvas { position: absolute; inset: 0; z-index: 0; opacity: .8; }
.hero-glow { position: absolute; width: 760px; height: 760px; top: 50%; inset-inline-end: -180px; transform: translateY(-50%); background: radial-gradient(circle, rgba(200,164,93,.15), transparent 62%); filter: blur(40px); z-index: 0; pointer-events: none; }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 90px); align-items: center; width: 100%; }
.hero-copy { max-width: 640px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 9px 18px; border-radius: 100px;
  background: var(--glass); border: 1px solid var(--glass-bd); backdrop-filter: blur(10px);
  font-size: .85rem; color: var(--gold-light); font-family: var(--font-head); font-weight: 500; margin-bottom: 30px;
}
.hero-badge .pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero-badge .pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }

.hero h1 { margin-bottom: 26px; }
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln > span { display: inline-block; transform: translateY(110%); animation: lineUp .9s var(--ease) forwards; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .ln:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: none; } }

.hero-sub { font-size: clamp(1.02rem, 1.5vw, 1.18rem); line-height: 1.95; color: var(--text-dim); max-width: 560px; margin-bottom: 38px; opacity: 0; animation: fadeUp .9s var(--ease) .5s forwards; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 46px; opacity: 0; animation: fadeUp .9s var(--ease) .65s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-stats { display: flex; gap: clamp(20px, 4vw, 48px); opacity: 0; animation: fadeUp .9s var(--ease) .8s forwards; }
.hero-stats .hs { display: flex; flex-direction: column; }
.hero-stats .hs b { font-family: var(--font-brand); font-size: 2.1rem; font-weight: 700; color: var(--gold-light); line-height: 1; }
.hero-stats .hs span { font-size: .82rem; color: var(--text-faint); margin-top: 6px; }
.hero-stats .div { width: 1px; background: var(--line); }

/* Hero 3D visual */
.hero-visual { position: relative; height: 540px; transform-style: preserve-3d; opacity: 0; animation: fadeUp 1.1s var(--ease) .4s forwards; }
.h-card {
  position: absolute; border-radius: var(--radius); padding: 22px;
  background: linear-gradient(155deg, rgba(20,32,56,.86), rgba(10,18,34,.92));
  border: 1px solid var(--glass-bd); box-shadow: var(--shadow);
  backdrop-filter: blur(20px); will-change: transform;
}
.h-card .hc-row { display: flex; align-items: center; gap: 12px; }
.h-card .hc-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(200,164,93,.12); border: 1px solid var(--glass-bd); flex-shrink: 0; }
.h-card .hc-ico svg { width: 22px; height: 22px; stroke: var(--gold-light); fill: none; stroke-width: 1.6; }
.h-card .hc-t { font-family: var(--font-head); font-weight: 700; color: var(--soft-white); font-size: .98rem; }
.h-card .hc-s { font-size: .76rem; color: var(--text-faint); }

.h-card--main { top: 60px; inset-inline-end: 10px; width: 290px; z-index: 3; }
.h-card--main .hc-mt { font-family: var(--font-head); font-size: .8rem; color: var(--gold); letter-spacing: .14em; margin-bottom: 16px; }
.h-card--main .hc-big { font-family: var(--font-brand); font-size: 3.4rem; font-weight: 700; color: var(--soft-white); line-height: 1; }
.h-card--main .hc-prog { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); margin: 18px 0 8px; overflow: hidden; }
.h-card--main .hc-prog i { display: block; height: 100%; width: 95%; background: var(--grad-gold); border-radius: 6px; }
.h-card--main .hc-cap { font-size: .74rem; color: var(--text-faint); }

.h-card--2 { top: 0; inset-inline-start: -8px; width: 230px; z-index: 4; }
.h-card--3 { bottom: 40px; inset-inline-start: 20px; width: 250px; z-index: 5; }
.h-card--3 .bars { display: flex; align-items: flex-end; gap: 7px; height: 56px; margin-top: 14px; }
.h-card--3 .bars i { flex: 1; background: var(--grad-gold); border-radius: 4px 4px 0 0; opacity: .85; }

.h-ring { position: absolute; inset: 0; margin: auto; width: 360px; height: 360px; border: 1px dashed var(--line); border-radius: 50%; z-index: 1; animation: spin 40s linear infinite; }
.h-ring::before { content: ""; position: absolute; top: -5px; inset-inline-start: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: var(--glow-gold); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-scroll { position: absolute; inset-inline: 0; bottom: 28px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--text-faint); font-size: .74rem; letter-spacing: .2em; }
.hero-scroll .mouse { width: 24px; height: 38px; border: 1.5px solid var(--line); border-radius: 14px; display: flex; justify-content: center; padding-top: 7px; }
.hero-scroll .mouse span { width: 3px; height: 7px; background: var(--gold); border-radius: 3px; animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(8px); } }

/* ---------- 10. MARQUEE ---------- */
.marquee { border-block: 1px solid var(--line-soft); padding-block: 22px; overflow: hidden; background: rgba(5,5,5,.3); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-brand); font-size: 1.5rem; font-weight: 600; letter-spacing: .1em; color: transparent; -webkit-text-stroke: 1px rgba(200,164,93,.4); display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "◆"; -webkit-text-stroke: 0; color: var(--gold); font-size: .7rem; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- 11. ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-visual { position: relative; perspective: 1200px; }
.about-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--surface-2), var(--navy));
  border: 1px solid var(--glass-bd); box-shadow: var(--shadow);
  display: grid; place-items: center; transform-style: preserve-3d;
}
.about-frame .emblem { width: 56%; opacity: .9; filter: drop-shadow(0 10px 30px rgba(200,164,93,.25)); animation: floaty 6s ease-in-out infinite; }
.about-frame .scan { position: absolute; inset-inline: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); top: 0; animation: scan 4s ease-in-out infinite; }
@keyframes scan { 0%,100% { top: 8%; opacity: 0; } 50% { top: 92%; opacity: 1; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.about-badge {
  position: absolute; bottom: 26px; inset-inline-start: -26px; padding: 18px 24px; border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(20,32,56,.94), rgba(10,18,34,.96)); border: 1px solid var(--glass-bd);
  box-shadow: var(--shadow); backdrop-filter: blur(14px); display: flex; align-items: center; gap: 14px;
}
.about-badge .n { font-family: var(--font-brand); font-size: 2.6rem; font-weight: 700; color: var(--gold-light); line-height: 1; }
.about-badge .t { font-size: .82rem; color: var(--text-dim); max-width: 110px; }

.about-copy p { margin-bottom: 20px; line-height: 1.95; }
.about-copy .lead { font-size: 1.15rem; color: var(--text); }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.about-points li { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 500; color: var(--soft-white); font-size: .96rem; }
.about-points .ck { width: 28px; height: 28px; border-radius: 8px; background: rgba(200,164,93,.12); border: 1px solid var(--glass-bd); display: grid; place-items: center; flex-shrink: 0; }
.about-points .ck svg { width: 15px; height: 15px; stroke: var(--gold); fill: none; stroke-width: 2.4; }

/* ---------- 12. SERVICES ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.svc-card {
  position: relative; padding: 32px 28px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(18,28,48,.5), rgba(10,16,30,.6));
  border: 1px solid var(--line-soft); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
  transform-style: preserve-3d; will-change: transform;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(200,164,93,.14), transparent 45%);
}
.svc-card:hover { border-color: var(--glass-bd); box-shadow: var(--shadow); }
.svc-card:hover::before { opacity: 1; }

.svc-num { position: absolute; top: 22px; inset-inline-end: 26px; font-family: var(--font-brand); font-size: 1.1rem; color: var(--text-faint); font-weight: 600; }
.svc-ico {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 24px;
  background: linear-gradient(155deg, rgba(200,164,93,.16), rgba(200,164,93,.04));
  border: 1px solid var(--glass-bd); transition: transform .5s var(--ease);
  transform: translateZ(30px);
}
.svc-card:hover .svc-ico { transform: translateZ(50px) scale(1.06) rotate(-4deg); }
.svc-ico svg { width: 30px; height: 30px; stroke: var(--gold-light); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.svc-card h3 { margin-bottom: 12px; transition: color .3s; transform: translateZ(20px); }
.svc-card:hover h3 { color: var(--gold-light); }
.svc-card p { font-size: .94rem; line-height: 1.8; margin-bottom: 22px; transform: translateZ(14px); }
.svc-card .link-more { transform: translateZ(14px); }

/* ---------- 13. LEGAL TECH ---------- */
.tech { position: relative; overflow: hidden; }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.tech-features { display: grid; gap: 16px; }
.tech-feat {
  display: flex; gap: 18px; padding: 24px; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--line-soft);
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.tech-feat:hover { transform: translateX(-8px); border-color: var(--glass-bd); background: var(--glass-2); }
.tech-feat .tf-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-gold); flex-shrink: 0; box-shadow: 0 8px 24px -8px rgba(200,164,93,.5); }
.tech-feat .tf-ico svg { width: 26px; height: 26px; stroke: #1A1206; fill: none; stroke-width: 1.8; }
.tech-feat h3 { font-size: 1.18rem; margin-bottom: 6px; }
.tech-feat p { font-size: .9rem; line-height: 1.7; }

.tech-stage { position: relative; aspect-ratio: 1; display: grid; place-items: center; perspective: 1000px; }
.tech-core {
  width: 60%; aspect-ratio: 1; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 35% 30%, rgba(200,164,93,.3), rgba(10,18,34,.4) 60%);
  border: 1px solid var(--glass-bd); display: grid; place-items: center;
  box-shadow: inset 0 0 60px rgba(200,164,93,.18), var(--glow-gold); animation: floaty 7s ease-in-out infinite;
}
.tech-core img { width: 44%; opacity: .92; }
.tech-orbit { position: absolute; border: 1px dashed var(--line); border-radius: 50%; }
.tech-orbit--1 { inset: 6%; animation: spin 24s linear infinite; }
.tech-orbit--2 { inset: 18%; animation: spin 18s linear infinite reverse; }
.tech-orbit .node { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: var(--glow-gold); top: -7px; inset-inline-start: calc(50% - 7px); }
.tech-orbit--2 .node { background: var(--gold-light); }

/* ---------- 14. WHY US (bento) ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card {
  padding: 28px 24px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line-soft);
  transition: transform .45s var(--ease), border-color .45s, background .45s; position: relative; overflow: hidden;
}
.why-card:hover { transform: translateY(-6px); border-color: var(--glass-bd); background: var(--glass-2); }
.why-card .wi { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: rgba(200,164,93,.1); border: 1px solid var(--glass-bd); margin-bottom: 18px; }
.why-card .wi svg { width: 25px; height: 25px; stroke: var(--gold-light); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-card p { font-size: .88rem; line-height: 1.7; }

/* ---------- 15. CLIENT JOURNEY ---------- */
.journey { position: relative; }
.journey-track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.journey-track::before { content: ""; position: absolute; top: 30px; inset-inline: 4%; height: 2px; background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-deep)); opacity: .35; }
.jstep { position: relative; text-align: center; padding-top: 0; }
.jstep .jnode {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 20px; position: relative; z-index: 2;
  display: grid; place-items: center; background: linear-gradient(160deg, var(--surface-2), var(--navy));
  border: 1px solid var(--glass-bd); font-family: var(--font-brand); font-size: 1.5rem; font-weight: 700; color: var(--gold-light);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.jstep:hover .jnode { transform: translateY(-6px) scale(1.06); box-shadow: var(--glow-gold); border-color: var(--gold); }
.jstep h3 { font-size: 1rem; margin-bottom: 8px; }
.jstep p { font-size: .82rem; line-height: 1.65; }

/* ---------- 16. STATS ---------- */
.stats { position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat {
  text-align: center; padding: 40px 24px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(18,28,48,.5), rgba(10,16,30,.5)); border: 1px solid var(--line-soft);
  transition: transform .4s var(--ease), border-color .4s;
}
.stat:hover { transform: translateY(-6px); border-color: var(--glass-bd); }
.stat .num { font-family: var(--font-brand); font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 700; line-height: 1; }
.stat .num .gold-text { display: inline; }
.stat .suffix { color: var(--gold); }
.stat .lbl { margin-top: 14px; color: var(--text-dim); font-size: .95rem; }

/* ---------- 17. FAQ ---------- */
.faq-wrap { max-width: 840px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line-soft); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; background: var(--glass); transition: border-color .3s, background .3s; }
.faq-item.is-open { border-color: var(--glass-bd); background: var(--glass-2); }
.faq-q { width: 100%; list-style: none; cursor: pointer; padding: 24px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--soft-white); text-align: start; }
.fq-icon { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center; background: rgba(200,164,93,.1); border: 1px solid var(--glass-bd); position: relative; transition: background .3s; }
.fq-icon::before, .fq-icon::after { content: ""; position: absolute; background: var(--gold-light); border-radius: 2px; transition: transform .35s var(--ease), background .3s; }
.fq-icon::before { width: 14px; height: 2px; }
.fq-icon::after { width: 2px; height: 14px; }
.faq-item.is-open .fq-icon { background: var(--grad-gold); }
.faq-item.is-open .fq-icon::before, .faq-item.is-open .fq-icon::after { background: #1A1206; }
.faq-item.is-open .fq-icon::after { transform: rotate(90deg) scaleY(0); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-answer-inner { padding: 0 26px 26px; }
.faq-answer p { line-height: 1.85; }

/* ---------- 18. CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.contact-info h2 { margin-bottom: 18px; }
.contact-info .ci-lead { margin-bottom: 36px; line-height: 1.85; }
.ci-item { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.ci-item .ci-ico { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: rgba(200,164,93,.1); border: 1px solid var(--glass-bd); transition: transform .35s, background .35s; }
.ci-item:hover .ci-ico { transform: scale(1.08); background: rgba(200,164,93,.18); }
.ci-item .ci-ico svg { width: 24px; height: 24px; stroke: var(--gold-light); fill: none; stroke-width: 1.6; }
.ci-item .ci-t { font-size: .8rem; color: var(--text-faint); margin-bottom: 3px; }
.ci-item .ci-v { font-family: var(--font-head); font-weight: 600; color: var(--soft-white); font-size: 1.05rem; direction: ltr; text-align: start; }
.ci-socials { display: flex; gap: 12px; margin-top: 30px; }
.ci-socials a { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--line-soft); transition: transform .35s, border-color .35s, background .35s; }
.ci-socials a:hover { transform: translateY(-4px); border-color: var(--gold); background: var(--glass-2); }
.ci-socials a svg { width: 20px; height: 20px; fill: var(--gold-light); }

.contact-form-wrap { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(18,28,48,.6), rgba(10,16,30,.7)); border: 1px solid var(--glass-bd); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; position: relative; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--text); margin-bottom: 9px; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(5,8,16,.6); border: 1px solid var(--line-soft); color: var(--soft-white); font-size: .96rem;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,164,93,.12); background: rgba(5,8,16,.85); }
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C8A45D' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 16px center; padding-inline-start: 40px; }
.field select option { background: var(--navy); color: var(--soft-white); }
.field--ltr input { direction: ltr; text-align: start; }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form-note { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: .92rem; display: none; }
.form-note.show { display: block; }
.form-note.is-success { background: rgba(45,180,120,.14); border: 1px solid rgba(45,180,120,.4); color: #7CE0B0; }
.form-note.is-error { background: rgba(220,80,80,.12); border: 1px solid rgba(220,80,80,.4); color: #F0A0A0; }
.form-consent { font-size: .8rem; color: var(--text-faint); margin-top: 16px; text-align: center; }

/* ---------- 19. CTA BANNER ---------- */
.cta-banner { position: relative; overflow: hidden; }
.cta-box {
  position: relative; text-align: center; padding: clamp(48px, 7vw, 90px) clamp(28px, 5vw, 70px);
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(150deg, var(--navy-2), var(--black));
  border: 1px solid var(--glass-bd); box-shadow: var(--shadow);
}
.cta-box::before { content: ""; position: absolute; width: 500px; height: 500px; top: -200px; inset-inline-end: -120px; background: radial-gradient(circle, rgba(200,164,93,.22), transparent 65%); }
.cta-box::after { content: ""; position: absolute; width: 400px; height: 400px; bottom: -200px; inset-inline-start: -100px; background: radial-gradient(circle, rgba(20,42,80,.6), transparent 65%); }
.cta-box > * { position: relative; z-index: 2; }
.cta-box h2 { margin-bottom: 18px; }
.cta-box p { max-width: 580px; margin: 0 auto 36px; font-size: 1.08rem; }
.cta-box .cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- 20. FOOTER ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(5,5,5,.5)); padding-block: clamp(56px, 8vw, 90px) 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 56px; }
.footer-brand .brand { margin-bottom: 22px; }
.footer-brand p { font-size: .95rem; line-height: 1.85; max-width: 320px; margin-bottom: 24px; }
.footer-tag { font-family: var(--font-head); color: var(--gold-light); font-size: 1rem; margin-bottom: 10px; }
.footer-col h4 { font-family: var(--font-head); font-size: 1rem; color: var(--soft-white); margin-bottom: 22px; letter-spacing: .02em; }
.footer-col ul li { margin-bottom: 13px; }
.footer-col ul a { color: var(--text-dim); font-size: .94rem; transition: color .3s, padding .3s; display: inline-flex; align-items: center; gap: 8px; }
.footer-col ul a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: 0; transition: opacity .3s; }
.footer-col ul a:hover { color: var(--gold-light); padding-inline-start: 4px; }
.footer-col ul a:hover::before { opacity: 1; }
.footer-contact .fc-item { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.footer-contact .fc-item svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.6; flex-shrink: 0; }
.footer-contact .fc-item a, .footer-contact .fc-item span { color: var(--text-dim); font-size: .94rem; direction: ltr; }
.footer-socials { display: flex; gap: 10px; margin-top: 22px; }
.footer-socials a { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--line-soft); transition: transform .3s, border-color .3s; }
.footer-socials a:hover { transform: translateY(-3px); border-color: var(--gold); }
.footer-socials a svg { width: 18px; height: 18px; fill: var(--gold-light); }

.footer-bottom { border-top: 1px solid var(--line-soft); padding-block: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: .85rem; color: var(--text-faint); }
.footer-bottom .fb-links { display: flex; gap: 22px; }
.footer-bottom .fb-links a { font-size: .85rem; color: var(--text-faint); transition: color .3s; }
.footer-bottom .fb-links a:hover { color: var(--gold); }

/* ---------- 21. FLOATING BUTTONS ---------- */
.whatsapp-fab { position: fixed; inset-block-end: 26px; inset-inline-end: 26px; z-index: 800; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(155deg, #2CE070, #1EBE5A); display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(37,211,102,.6); transition: transform .35s var(--ease); }
.whatsapp-fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.4s ease-out infinite; }
.whatsapp-fab:hover { transform: scale(1.1) rotate(6deg); }
.whatsapp-fab svg { width: 30px; height: 30px; fill: #fff; position: relative; z-index: 2; }

.to-top { position: fixed; inset-block-end: 96px; inset-inline-end: 30px; z-index: 790; width: 48px; height: 48px; border-radius: 14px; background: var(--glass); border: 1px solid var(--glass-bd); backdrop-filter: blur(10px); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .4s, transform .4s, background .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--glass-2); }
.to-top svg { width: 20px; height: 20px; stroke: var(--gold-light); fill: none; stroke-width: 2; }

/* ---------- 22. PAGE HERO (inner pages) ---------- */
.page-hero { position: relative; padding-block: calc(var(--header-h) + 70px) 70px; text-align: center; overflow: hidden; }
.page-hero .breadcrumb { display: inline-flex; gap: 8px; font-size: .85rem; color: var(--text-faint); margin-top: 20px; }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero .breadcrumb .sep { color: var(--gold); }

/* article body */
.article-body { max-width: 800px; margin-inline: auto; }
.article-body h2 { margin: 40px 0 16px; font-size: 1.6rem; }
.article-body p { margin-bottom: 18px; line-height: 2; }
.article-body ul.dot { margin: 0 0 20px; padding-inline-start: 4px; }
.article-body ul.dot li { position: relative; padding-inline-start: 24px; margin-bottom: 12px; color: var(--text-dim); }
.article-body ul.dot li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 12px; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.article-cta { margin-top: 44px; padding: 32px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-bd); text-align: center; }
.article-cta p { margin-bottom: 20px; font-size: 1.1rem; color: var(--soft-white); }

/* card grids for inner pages */
.simple-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

/* service detail page */
.svc-detail-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.svc-detail-grid .lead { font-size: 1.12rem; color: var(--text); margin-bottom: 18px; }
.svc-detail-grid p { margin-bottom: 16px; line-height: 1.95; }
.laws-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.badge-pill { padding: 8px 16px; border-radius: 100px; background: var(--glass); border: 1px solid var(--glass-bd); font-family: var(--font-head); font-size: .85rem; color: var(--gold-light); }
.svc-aside { padding: clamp(24px, 3vw, 34px); border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(18,28,48,.6), rgba(10,16,30,.7)); border: 1px solid var(--glass-bd); box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 16px); }
.svc-aside h3 { margin-bottom: 20px; font-size: 1.25rem; }
.svc-offers { display: grid !important; grid-template-columns: 1fr !important; gap: 14px !important; margin: 0 0 26px !important; }
.svc-offers li { align-items: flex-start; font-weight: 500; font-size: .95rem; line-height: 1.6; }
.svc-offers .ck { margin-top: 2px; }
.journey-track--proc { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.svc-card[href] { text-decoration: none; }
.art-cat { display: inline-block; padding: 5px 14px; border-radius: 100px; background: rgba(200,164,93,.12); border: 1px solid var(--glass-bd); font-family: var(--font-head); font-size: .76rem; font-weight: 600; color: var(--gold-light); }

@media (max-width: 880px) {
  .svc-detail-grid { grid-template-columns: 1fr; }
  .svc-aside { position: static; }
}

/* ---------- 23. REVEAL ANIMATIONS ---------- */
/* Progressive enhancement: only hide reveals when JS is active (html.js).
   If JS is disabled or fails, content stays fully visible. */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in-view { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal[data-delay="4"] { transition-delay: .32s; }
.js .reveal[data-delay="5"] { transition-delay: .40s; }
.js .reveal[data-delay="6"] { transition-delay: .48s; }
.js .reveal--left { transform: translateX(40px); }
.js .reveal--left.in-view { transform: none; }
.js .reveal--right { transform: translateX(-40px); }
.js .reveal--right.in-view { transform: none; }
.js .reveal--scale { transform: scale(.94); }
.js .reveal--scale.in-view { transform: none; }

/* ---------- 24. RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 440px; max-width: 460px; margin-inline: auto; order: -1; }
  .tech-grid { grid-template-columns: 1fr; }
  .tech-stage { max-width: 380px; margin-inline: auto; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .nav-pill { display: none; }
  .menu-toggle { display: flex; }
  .header-actions .contact-pill { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .journey-track { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .journey-track::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  :root { --header-h: 70px; }
  .container { width: calc(100% - 36px); }
  .hero { min-height: auto; }
  .hero-visual { height: 380px; }
  .hero-stats { gap: 18px; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .h-card--main { width: 240px; }
  .h-card--2 { width: 190px; }
  .h-card--3 { width: 200px; }
  .top-strip .container { gap: 14px; font-size: .72rem; }
  .btn { padding: 14px 26px; font-size: .95rem; }
}

/* ---------- 25. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero h1 .ln > span, .hero-sub, .hero-cta, .hero-stats, .hero-visual { opacity: 1 !important; transform: none !important; animation: none !important; }
  .cursor-dot, .cursor-ring { display: none; }
}
