/* =========================================================
   VIP Legal Academy — Design system
   ========================================================= */
:root {
  --bg: #080909;
  --bg-2: #111211;
  --card: #151512;
  --card-2: #1b1a16;
  --gold: #D6AC55;
  --gold-hi: #F6D98A;
  --gold-deep: #8C6428;
  --text: #F7F4EC;
  --text-2: #B9B6AE;
  --text-3: #8b8880;
  --line: rgba(214, 172, 85, .28);
  --line-soft: rgba(214, 172, 85, .14);
  --cyan: #5CC8D6;
  --danger: #E8876C;
  --ok: #7FC79A;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .8);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --nav-h: 78px;
  --gold-grad: linear-gradient(120deg, #F6D98A 0%, #D6AC55 38%, #9a7030 62%, #E9C77A 82%, #B8873A 100%);
  --f-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --f-en: "Inter", "Segoe UI", system-ui, sans-serif;
  --f-display: "Cormorant Garamond", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-en); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.lang-ar { font-family: var(--f-ar); line-height: 1.85; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.lang-ar h1, .lang-ar h2, .lang-ar h3 { letter-spacing: 0; line-height: 1.4; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(214, 172, 85, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--text-3); }
.mt-l { margin-top: 48px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; inset-inline-start: 16px; top: -100px; opacity: 0; z-index: 200; background: var(--gold); color: #000; padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; opacity: 1; }
.ico { width: 20px; height: 20px; flex: none; }
[dir="rtl"] .ico.dir, [dir="ltr"] .ico.dir-rev { transform: scaleX(-1); }
.gold-text {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%;
}

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s, background-color .3s, color .3s;
}
.btn .ico { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .ico.dir { transform: translateX(4px); }
[dir="rtl"] .btn:hover .ico.dir { transform: scaleX(-1) translateX(4px); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { --h: 54px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold-grad); background-size: 160% 100%; color: #120d05; box-shadow: 0 10px 30px -12px rgba(214, 172, 85, .6); }
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(214, 172, 85, .75); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-ghost { border-color: rgba(247, 244, 236, .22); color: var(--text); background: rgba(255, 255, 255, .03); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-outline { border-color: var(--line); color: var(--gold-hi); }
.btn-outline:hover { border-color: var(--gold); background: rgba(214, 172, 85, .08); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 600; font-size: 14px; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow.lg { font-size: 16px; }
.link-arrow:hover .ico.dir, [data-card]:hover .link-arrow .ico.dir { transform: translateX(5px); }
[dir="rtl"] .link-arrow:hover .ico.dir, [dir="rtl"] [data-card]:hover .link-arrow .ico.dir { transform: scaleX(-1) translateX(5px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--gold);
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.lang-ar .eyebrow { letter-spacing: 0; font-size: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
[dir="rtl"] .eyebrow::before { background: linear-gradient(-90deg, transparent, var(--gold)); }
.eyebrow .dot { display: none; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--gold-hi);
  padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(214, 172, 85, .06);
}

/* ---------- Section heads ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section.pt-0 { padding-top: 0; }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-center { margin-inline: auto; text-align: center; }
.sec-center .eyebrow::after { content: ""; width: 28px; height: 1px; background: linear-gradient(-90deg, transparent, var(--gold)); }
[dir="rtl"] .sec-center .eyebrow::after { background: linear-gradient(90deg, transparent, var(--gold)); }
.sec-title { font-size: clamp(30px, 4.2vw, 48px); margin: 14px 0 0; font-weight: 600; }
.lang-en .sec-title { font-family: var(--f-display); font-size: clamp(36px, 5vw, 58px); font-weight: 600; letter-spacing: -.005em; }
.gold-rule { display: block; width: 72px; height: 2px; margin: 22px 0; background: var(--gold-grad); transform-origin: inline-start; }
[dir="rtl"] .gold-rule { transform-origin: right; }
[dir="ltr"] .gold-rule { transform-origin: left; }
.sec-center .gold-rule { margin-inline: auto; transform-origin: center; }
.sec-desc { color: var(--text-2); font-size: 18px; max-width: 620px; margin: 0; }
.sec-center .sec-desc { margin-inline: auto; }

/* =========================================================
   NAV
   ========================================================= */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); transition: background-color .45s var(--ease), border-color .45s, backdrop-filter .45s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(8, 9, 9, .82); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-color: var(--line-soft); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 48px; height: 48px; border-radius: 50%; filter: drop-shadow(0 4px 14px rgba(214, 172, 85, .25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text b { font-family: var(--f-display); font-size: 21px; font-weight: 600; letter-spacing: .01em; color: var(--gold-hi); white-space: nowrap; }
.brand-text small { font-size: 11.5px; color: var(--text-3); white-space: nowrap; }
.nav-links { display: flex; gap: 6px; margin-inline: auto; }
.nav-links a { position: relative; padding: 8px 12px; font-size: 15px; color: var(--text-2); font-weight: 500; transition: color .3s; }
.nav-links a::after {
  content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 1.5px; background: var(--gold-grad);
  transform: scaleX(0); transition: transform .45s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-2); padding: 8px 10px; border-radius: 999px; transition: color .3s, background-color .3s; }
.lang-btn .ico { width: 17px; height: 17px; }
.lang-btn:hover { color: var(--gold-hi); background: rgba(214, 172, 85, .08); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); align-items: center; justify-content: center; }
.burger .ico { width: 22px; height: 22px; }

.drawer { position: fixed; inset: 0; z-index: 150; }
.drawer[hidden] { display: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s; }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(380px, 88vw);
  background: linear-gradient(180deg, #121210, #0a0a09); border-inline-start: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 20px 24px 28px; transform: translateX(100%); transition: transform .5s var(--ease);
}
[dir="rtl"] .drawer-panel { transform: translateX(-100%); }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.drawer-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.drawer-links { display: flex; flex-direction: column; }
.drawer-links a { padding: 15px 4px; font-size: 19px; border-bottom: 1px solid var(--line-soft); color: var(--text-2); transition: color .3s, padding .3s; }
.drawer-links a.active, .drawer-links a:hover { color: var(--gold-hi); padding-inline-start: 10px; }
.drawer-foot { margin-top: auto; display: grid; gap: 10px; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 110px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 50% 0%, #17130c 0%, #0b0a08 45%, var(--bg) 75%); }
.hero-library { position: absolute; inset: -6% -4%; opacity: .8; }
.shelf {
  position: absolute; inset-inline: 0; height: 22%;
  background:
    linear-gradient(180deg, rgba(0,0,0,.0) 0%, rgba(0,0,0,.55) 100%),
    repeating-linear-gradient(90deg,
      #1d160d 0 13px, #2a1f12 13px 15px, #15100a 15px 31px, #3a2b16 31px 33px, #1a140c 33px 52px,
      #261c10 52px 54px, #120e09 54px 66px, #33260f 66px 69px, #1c150d 69px 88px, #0f0c08 88px 92px);
  box-shadow: inset 0 -10px 0 #050505, inset 0 10px 18px rgba(0,0,0,.8);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.35) 30%, rgba(0,0,0,.35) 70%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.35) 30%, rgba(0,0,0,.35) 70%, #000 100%);
}
.shelf.s1 { top: 6%; }
.shelf.s2 { top: 34%; }
.shelf.s3 { top: 62%; }
.column {
  position: absolute; top: 0; bottom: 0; width: 9%;
  background: linear-gradient(90deg, #070707, #1a1712 30%, #2a251c 50%, #16140f 70%, #060606);
  box-shadow: 0 0 60px 20px rgba(0,0,0,.7);
}
.column::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 14%, rgba(0,0,0,.35) 14% 16%); }
.column.c1 { inset-inline-start: 4%; }
.column.c2 { inset-inline-end: 4%; }
.hero-light { position: absolute; inset: 0; background:
  radial-gradient(40% 50% at 28% 42%, rgba(214, 172, 85, .22), transparent 70%),
  radial-gradient(30% 35% at 75% 30%, rgba(246, 217, 138, .08), transparent 70%); }
[dir="ltr"] .hero-light { transform: scaleX(-1); }
.hero-vignette { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(8,9,9,.7) 0%, transparent 22%, transparent 65%, var(--bg) 100%),
  radial-gradient(90% 80% at 50% 50%, transparent 40%, rgba(0,0,0,.75) 100%); }
.beam {
  position: absolute; top: -20%; width: 18%; height: 140%; transform: rotate(18deg); pointer-events: none;
  background: linear-gradient(180deg, rgba(246, 217, 138, .16), rgba(246, 217, 138, 0) 70%);
  filter: blur(18px); opacity: .6; animation: beam 9s ease-in-out infinite alternate;
}
.beam.b1 { inset-inline-start: 18%; }
.beam.b2 { inset-inline-start: 36%; width: 8%; animation-delay: -3s; opacity: .45; }
.beam.b3 { inset-inline-start: 62%; width: 12%; animation-delay: -6s; opacity: .3; }
@keyframes beam { from { opacity: .25; transform: rotate(18deg) translateX(-3%); } to { opacity: .7; transform: rotate(21deg) translateX(3%); } }
.particles { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-title { font-size: clamp(34px, 4.4vw, 62px); font-weight: 700; margin: 22px 0 22px; line-height: 1.22; }
.lang-en .hero-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(42px, 5.2vw, 74px); line-height: 1.06; letter-spacing: -.015em; }
.hero-title .line { display: block; overflow: hidden; padding-block: .06em; }
.hero-title .line-in { display: inline-block; }
.hero-desc { font-size: clamp(16px, 1.5vw, 19px); color: var(--text-2); max-width: 560px; margin-bottom: 34px; }

.hero-visual { position: relative; aspect-ratio: 1; width: min(100%, 580px); justify-self: center; }
.hero-visual > * { position: absolute; }
.hv-halo { inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(214, 172, 85, .32) 0%, rgba(214, 172, 85, .08) 40%, transparent 68%); filter: blur(8px); }
.hv-ring { inset: 0; width: 100%; height: 100%; }
.hv-ticks { transform-origin: 250px 250px; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hv-scale { inset: 6% 19% 31%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.7)) drop-shadow(0 0 30px rgba(214,172,85,.18)); }
.hv-scale .scale-svg { width: 100%; height: 100%; }
.sc-beam { transform-origin: 200px 90px; animation: tilt 7s ease-in-out infinite; }
.sc-pan-l { transform-origin: 62px 90px; animation: tiltBack 7s ease-in-out infinite; }
.sc-pan-r { transform-origin: 338px 90px; animation: tiltBack 7s ease-in-out infinite; }
@keyframes tilt { 0%, 100% { transform: rotate(-3.5deg); } 50% { transform: rotate(3.5deg); } }
@keyframes tiltBack { 0%, 100% { transform: rotate(3.5deg); } 50% { transform: rotate(-3.5deg); } }
.hv-books { inset: auto 17% 9%; width: 66%; filter: drop-shadow(0 20px 30px rgba(0,0,0,.8)); }
.hv-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px;
  background: rgba(20, 19, 16, .72); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 600; color: var(--text); box-shadow: var(--shadow); white-space: nowrap;
}
.hv-chip .ico { width: 18px; height: 18px; color: var(--gold-hi); }
.chip-a { top: 14%; inset-inline-start: -2%; }
.chip-b { top: 48%; inset-inline-end: -4%; }
.chip-c { bottom: 26%; inset-inline-start: 2%; }
.chip-a .ico { color: var(--cyan); }

.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-3); font-size: 12px; }
.mouse { width: 24px; height: 38px; border: 1.5px solid var(--line); border-radius: 14px; display: flex; justify-content: center; padding-top: 7px; }
.mouse span { width: 3px; height: 8px; border-radius: 3px; background: var(--gold); animation: wheel 2s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-2px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* Hero entrance — CSS fallback if JS/GSAP unavailable */
.js [data-hero-item], .js [data-hero-line], .js [data-hero-visual] { opacity: 0; animation: fallbackIn .9s var(--ease) 1.6s forwards; }
.motion [data-hero-item], .motion [data-hero-line], .motion [data-hero-visual] { animation: none; }
@keyframes fallbackIn { to { opacity: 1; } }

/* =========================================================
   HIGHLIGHTS
   ========================================================= */
.highlights { position: relative; margin-top: -40px; z-index: 3; }
.highlights.static { margin: 0 0 clamp(80px, 10vw, 120px); }
.hl-row {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(180deg, rgba(27, 26, 22, .92), rgba(17, 18, 17, .92));
  border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.hl-item { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; position: relative; }
.hl-item + .hl-item::before { content: ""; position: absolute; inset-inline-start: 0; top: 22%; bottom: 22%; width: 1px; background: linear-gradient(180deg, transparent, var(--line), transparent); }
.hl-icon { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; color: var(--gold-hi); background: rgba(214, 172, 85, .08); border: 1px solid var(--line-soft); }
.hl-num { display: block; font-family: var(--f-display); font-size: 38px; line-height: 1; color: var(--gold-hi); font-weight: 600; }
.hl-label { display: block; font-size: 15px; color: var(--text); font-weight: 600; line-height: 1.4; }
.hl-q { font-size: 16px; }
.hl-item small { display: block; color: var(--text-3); font-size: 13px; line-height: 1.5; margin-top: 4px; }

/* =========================================================
   PROGRAM CARDS
   ========================================================= */
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p-cell[hidden] { display: none; }
.p-cell { display: flex; }
.p-cell > .p-card { flex: 1; }
.p-card {
  position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid rgba(214, 172, 85, .16); border-radius: var(--radius); overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.p-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: linear-gradient(140deg, rgba(246,217,138,.5), transparent 30%, transparent 70%, rgba(214,172,85,.35)); opacity: 0; transition: opacity .5s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px; }
.p-card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(214,172,85,.08); }
.p-card:hover::before { opacity: 1; }
.p-card-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.p-card-link:focus-visible { outline-offset: -3px; }
.pv { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0d0d0c; }
.pv img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.p-card:hover .pv img, .p-card:hover .pv-icon { transform: scale(1.06); }
.pv-gen { display: grid; place-items: center; isolation: isolate; }
.pv-gen::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: transform .9s var(--ease); }
.pv-v0::before { background: radial-gradient(70% 90% at 30% 20%, rgba(214,172,85,.28), transparent 60%), linear-gradient(135deg, #16130d, #0a0a09 60%, #1a150c); }
.pv-v1::before { background: radial-gradient(60% 80% at 80% 30%, rgba(246,217,138,.22), transparent 60%), linear-gradient(200deg, #1a160e, #0b0b0a 55%, #120f0a); }
.pv-v2::before { background: radial-gradient(70% 70% at 50% 110%, rgba(214,172,85,.3), transparent 60%), linear-gradient(160deg, #0c0c0b, #17130c); }
.pv-v3::before { background: conic-gradient(from 210deg at 70% 40%, rgba(214,172,85,.18), transparent 25%, rgba(140,100,40,.2) 45%, transparent 70%), linear-gradient(135deg, #0f0e0b, #1b170f); }
.p-card:hover .pv-gen::before { transform: scale(1.08); }
.pv-gen::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: repeating-linear-gradient(90deg, rgba(214,172,85,.05) 0 1px, transparent 1px 40px), repeating-linear-gradient(0deg, rgba(214,172,85,.05) 0 1px, transparent 1px 40px);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); }
.pv-ring { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(214,172,85,.22); }
.pv-ring.r2 { width: 40%; border-style: dashed; border-color: rgba(214,172,85,.3); animation: spin 40s linear infinite; }
.pv-icon {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #2c2416, #0e0d0b 70%); border: 1px solid var(--line);
  box-shadow: 0 0 40px rgba(214,172,85,.18), inset 0 1px 0 rgba(246,217,138,.2); transition: transform .9s var(--ease);
}
.pv-icon .ico { width: 38px; height: 38px; color: var(--gold-hi); stroke-width: 1.3; }
.pv-lg { aspect-ratio: 21 / 9; border-radius: var(--radius); border: 1px solid var(--line-soft); }
.pv-lg .pv-icon { width: 120px; height: 120px; }
.pv-lg .pv-icon .ico { width: 54px; height: 54px; }
.p-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.p-card-body .tag { align-self: flex-start; }
.p-card h3 { font-size: 20px; font-weight: 600; transition: color .3s; }
.p-card:hover h3 { color: var(--gold-hi); }
.p-card p { color: var(--text-2); font-size: 14.5px; margin: 0; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.p-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--text-3); font-size: 13px; }
.p-meta span { display: inline-flex; align-items: center; gap: 6px; }
.p-meta .ico { width: 15px; height: 15px; color: var(--gold); }
.p-card .link-arrow { margin-top: 6px; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-visual { position: relative; }
.arch {
  position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden;
  border: 1px solid var(--line); display: grid; place-items: center; isolation: isolate;
  box-shadow: var(--shadow), inset 0 0 80px rgba(0,0,0,.8);
}
.arch-marble { position: absolute; inset: -10%; z-index: -1; background:
  radial-gradient(60% 50% at 50% 35%, rgba(214,172,85,.22), transparent 70%),
  linear-gradient(115deg, transparent 40%, rgba(246,217,138,.06) 42%, transparent 44%),
  linear-gradient(65deg, transparent 55%, rgba(246,217,138,.05) 56%, transparent 58%),
  linear-gradient(150deg, transparent 20%, rgba(255,255,255,.035) 22%, transparent 26%),
  linear-gradient(180deg, #17150f, #0a0a09 70%); }
.arch::after { content: ""; position: absolute; inset: 14px; border-radius: 999px 999px 10px 10px; border: 1px solid rgba(214,172,85,.18); pointer-events: none; }
.arch img { width: 66%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.8)) drop-shadow(0 0 40px rgba(214,172,85,.2)); }
.arch-beam { position: absolute; top: -10%; left: 30%; width: 40%; height: 120%; transform: rotate(14deg); background: linear-gradient(180deg, rgba(246,217,138,.14), transparent 70%); filter: blur(14px); z-index: -1; }
.about-badge {
  position: absolute; bottom: 28px; inset-inline-end: -20px; display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; background: rgba(17,18,17,.9); border: 1px solid var(--line); border-radius: 14px; backdrop-filter: blur(10px);
  font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow);
}
.about-badge .ico { color: var(--gold-hi); }
.about-copy .sec-head { margin-bottom: 20px; }
.about-copy .lead { font-size: 19px; color: var(--text); }
.about-copy p { color: var(--text-2); }
.values { display: grid; gap: 14px; margin: 30px 0 30px; }
.values li { display: flex; gap: 16px; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line-soft); background: rgba(21,21,18,.6); transition: border-color .4s, background-color .4s, transform .4s var(--ease); }
.values li:hover { border-color: var(--line); background: rgba(27,26,22,.9); transform: translateX(-4px); }
[dir="ltr"] .values li:hover { transform: translateX(4px); }
.values h3 { font-size: 17px; margin-bottom: 4px; }
.values p { font-size: 14.5px; margin: 0; }
.v-icon { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; color: var(--gold-hi); background: linear-gradient(145deg, rgba(214,172,85,.16), rgba(214,172,85,.03)); border: 1px solid var(--line-soft); }

/* =========================================================
   LEGAL TECH
   ========================================================= */
.tech { background: radial-gradient(70% 60% at 70% 50%, rgba(92,200,214,.07), transparent 60%), linear-gradient(180deg, var(--bg), #070b0c 50%, var(--bg)); overflow: hidden; }
.tech-bg { position: absolute; inset: 0; pointer-events: none; }
.data-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.data-lines path { fill: none; stroke: rgba(214,172,85,.18); stroke-width: 1; stroke-dasharray: 6 14; animation: dash 18s linear infinite; }
.data-lines path.cy { stroke: rgba(92,200,214,.22); animation-duration: 12s; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.tech-grid-bg { position: absolute; inset: 0; opacity: .5;
  background: linear-gradient(rgba(92,200,214,.05) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgba(92,200,214,.05) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: radial-gradient(60% 60% at 70% 50%, #000, transparent); -webkit-mask-image: radial-gradient(60% 60% at 70% 50%, #000, transparent); }
.tech-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; position: relative; }
.tech .eyebrow { color: var(--cyan); }
.tech .eyebrow::before { background: linear-gradient(90deg, transparent, var(--cyan)); }
.tech .sec-head { margin-bottom: 30px; }
.tech-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 26px; }
.tech-list li { padding: 20px; border-radius: var(--radius-sm); background: rgba(14, 18, 19, .7); border: 1px solid rgba(92,200,214,.14); transition: border-color .4s, transform .4s var(--ease); }
.tech-list li:hover { border-color: rgba(92,200,214,.4); transform: translateY(-4px); }
.t-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; margin-bottom: 12px; color: var(--cyan); background: rgba(92,200,214,.08); border: 1px solid rgba(92,200,214,.2); }
.tech-list h3 { font-size: 16px; margin-bottom: 6px; }
.tech-list p { font-size: 14px; color: var(--text-2); margin: 0; }
.tech-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-3); margin-bottom: 24px; }
.tech-note .ico { color: var(--gold); width: 18px; height: 18px; margin-top: 3px; }
.tech-visual { position: relative; aspect-ratio: 1 / 1; width: min(100%, 520px); justify-self: center; perspective: 1000px; }
.tv-panel { position: absolute; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 11px;
  background: linear-gradient(160deg, rgba(25,28,28,.9), rgba(12,14,14,.92)); border: 1px solid rgba(92,200,214,.18);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); backdrop-filter: blur(8px); }
.tv-head { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.tv-head i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.12); }
.tv-head b { margin-inline-start: auto; font: 500 11px var(--f-en); color: var(--text-3); letter-spacing: .04em; }
.sk { display: block; height: 8px; border-radius: 6px; background: rgba(255,255,255,.08); }
.sk.hl { background: linear-gradient(90deg, rgba(214,172,85,.55), rgba(214,172,85,.2)); box-shadow: 0 0 14px rgba(214,172,85,.3); }
.sk.hl2 { background: linear-gradient(90deg, rgba(92,200,214,.6), rgba(92,200,214,.2)); box-shadow: 0 0 14px rgba(92,200,214,.3); }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }
.tv-back { width: 54%; top: 4%; inset-inline-start: 2%; opacity: .55; transform: rotate(-6deg); }
.tv-main { width: 64%; top: 22%; inset-inline-start: 14%; overflow: hidden; border-color: rgba(214,172,85,.3); }
.tv-scan { position: absolute; inset-inline: 0; top: 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(92,200,214,.12), transparent); animation: scan 4.5s ease-in-out infinite; }
@keyframes scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
.tv-side { width: 44%; bottom: 6%; inset-inline-end: 0; }
.tv-row { display: flex; align-items: center; gap: 10px; }
.tv-row .ico { width: 16px; height: 16px; color: var(--ok); }
.tv-row.warn .ico { color: var(--gold); }
.tv-row .sk { flex: 1; }
.tv-orb { top: 6%; inset-inline-end: 6%; width: 120px; height: 120px; border-radius: 50%; position: absolute; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #2e2618, #0b0b0a 70%); border: 1px solid var(--line); box-shadow: 0 0 60px rgba(214,172,85,.25), 0 0 120px rgba(92,200,214,.12); }
.tv-orb > .ico { width: 50px; height: 50px; color: var(--gold-hi); stroke-width: 1.2; }
.orb-ring { position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(92,200,214,.35); animation: spin 24s linear infinite; }
.orb-ring.r2 { inset: -30px; border: 1px solid rgba(214,172,85,.15); animation-duration: 40s; animation-direction: reverse; }

/* =========================================================
   CORPORATE
   ========================================================= */
.corporate { background: linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg)); }
.corp-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.corp-copy { position: sticky; top: calc(var(--nav-h) + 40px); }
.corp-list { display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
.corp-list li { display: grid; grid-template-columns: 48px 48px 1fr; gap: 18px; align-items: center; padding: 24px 6px; border-bottom: 1px solid var(--line-soft); transition: background-color .4s, padding .4s var(--ease); }
.corp-list li:hover { background: linear-gradient(90deg, rgba(214,172,85,.06), transparent); padding-inline-start: 16px; }
[dir="rtl"] .corp-list li:hover { background: linear-gradient(-90deg, rgba(214,172,85,.06), transparent); }
.c-num { font-family: var(--f-display); font-size: 28px; color: var(--gold-deep); font-weight: 600; }
.c-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold-hi); }
.corp-list h3 { font-size: 18px; margin-bottom: 2px; }
.corp-list p { color: var(--text-2); font-size: 14.5px; margin: 0; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.slider-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
.slider-track::-webkit-scrollbar { display: none; }
.t-card { position: relative; flex: 0 0 min(420px, 86%); scroll-snap-align: start; margin: 0; padding: 32px; border-radius: var(--radius);
  background: linear-gradient(170deg, var(--card-2), var(--card)); border: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 22px; }
.t-card.is-ph { border-style: dashed; }
.ph-badge { position: absolute; top: 16px; inset-inline-end: 16px; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(232,135,108,.12); color: var(--danger); border: 1px solid rgba(232,135,108,.3); }
.t-quote .ico { width: 34px; height: 34px; color: var(--gold); opacity: .7; }
.t-card blockquote { margin: 0; font-size: 17px; color: var(--text); flex: 1; }
.t-card figcaption { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.t-card figcaption img, .t-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.t-avatar { display: grid; place-items: center; background: rgba(214,172,85,.1); color: var(--gold); border: 1px solid var(--line); }
.t-card b { display: block; font-size: 15px; }
.t-card small { display: block; color: var(--text-3); font-size: 13px; }
.t-card em { display: block; font-style: normal; color: var(--gold); font-size: 13px; }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.s-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold-hi); transition: background-color .3s, border-color .3s; }
.s-btn:hover { background: rgba(214,172,85,.1); border-color: var(--gold); }
.s-btn:disabled { opacity: .35; cursor: default; }
.s-dots { display: flex; gap: 8px; }
.s-dots button { width: 8px; height: 8px; border-radius: 99px; background: rgba(214,172,85,.3); transition: width .4s var(--ease), background-color .3s; padding: 0; }
.s-dots button.on { width: 26px; background: var(--gold); }

/* =========================================================
   ARTICLES
   ========================================================= */
.a-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.a-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid rgba(214,172,85,.14); transition: transform .5s var(--ease), border-color .4s; }
.a-card:hover { transform: translateY(-6px); border-color: var(--line); }
.a-img { aspect-ratio: 16 / 10; overflow: hidden; background: #0e0e0d; }
.a-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.a-card:hover .a-img img { transform: scale(1.06); }
.a-img-gen { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(60% 80% at 50% 0%, rgba(214,172,85,.18), transparent 60%), linear-gradient(160deg, #15130e, #0b0b0a); }
.a-img-gen .ico { width: 46px; height: 46px; color: var(--gold); opacity: .8; }
.a-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.a-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--text-3); }
.a-card h3 { font-size: 19px; }
.a-card p { color: var(--text-2); font-size: 14.5px; margin: 0; flex: 1; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 48px 24px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--text-2); max-width: 640px; margin: 0 auto; }
.empty[hidden] { display: none; }
.empty .ico { width: 40px; height: 40px; color: var(--gold); }
.empty p { margin: 0; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta { position: relative; overflow: hidden; padding: clamp(100px, 12vw, 160px) 0; text-align: center; isolation: isolate; border-top: 1px solid var(--line-soft); }
.final-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 50% 100%, rgba(214,172,85,.2), transparent 70%), linear-gradient(180deg, var(--bg), #0f0d09); }
.final-scale { position: absolute; left: 50%; bottom: -12%; width: min(620px, 90vw); transform: translateX(-50%); opacity: .1; }
.final-inner { max-width: 760px; }
.final-logo { width: 84px; height: 84px; margin: 0 auto 26px; border-radius: 50%; filter: drop-shadow(0 0 30px rgba(214,172,85,.35)); }
.final-cta h2 { font-size: clamp(32px, 5vw, 58px); margin-bottom: 16px; }
.lang-en .final-cta h2 { font-family: var(--f-display); font-size: clamp(40px, 6vw, 72px); }
.final-cta p { color: var(--text-2); font-size: 18px; margin-bottom: 34px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; background: #060706; border-top: 1px solid var(--line-soft); padding-top: 80px; overflow: hidden; }
.footer-glow { position: absolute; top: -200px; left: 50%; width: 600px; height: 300px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(214,172,85,.12), transparent); pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer .brand img { width: 64px; height: 64px; }
.f-brand p { color: var(--text-3); font-size: 14.5px; margin: 20px 0; max-width: 360px; }
.footer h3 { font-size: 15px; color: var(--gold); margin-bottom: 18px; font-weight: 600; }
.footer ul { display: grid; gap: 10px; }
.footer ul a, .footer ul span { color: var(--text-2); font-size: 14.5px; transition: color .3s; }
.footer ul a:hover { color: var(--gold-hi); }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact .ico { width: 18px; height: 18px; color: var(--gold); margin-top: 4px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--text-2); transition: all .3s; }
.socials a:hover { color: #120d05; background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.socials .ico { width: 18px; height: 18px; }
.socials.lg { margin-top: 26px; }
.footer-bottom { border-top: 1px solid var(--line-soft); padding: 22px 0 28px; color: var(--text-3); font-size: 13.5px; }
.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1fa855; color: #fff; box-shadow: 0 12px 30px -8px rgba(31,168,85,.6); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ico { width: 28px; height: 28px; }

/* =========================================================
   INNER PAGES
   ========================================================= */
.page-hero { position: relative; padding: calc(var(--nav-h) + 70px) 0 70px; overflow: hidden; isolation: isolate; margin-bottom: 56px; }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 50% 0%, rgba(214,172,85,.16), transparent 65%), linear-gradient(180deg, #100e0a, var(--bg)); border-bottom: 1px solid var(--line-soft); }
.arches { position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(circle at 50% 100%, transparent 54%, rgba(214,172,85,.08) 54.3%, transparent 54.8%) 0 100% / 260px 340px repeat-x;
  mask-image: linear-gradient(180deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); }
.page-hero-inner { max-width: 860px; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 54px); margin: 14px 0 14px; }
.lang-en .page-hero h1 { font-family: var(--f-display); font-size: clamp(40px, 5.6vw, 66px); }
.page-hero p { color: var(--text-2); font-size: 18px; max-width: 680px; margin: 0; }
.page-hero-inner.center p { margin-inline: auto; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--text-3); margin-bottom: 22px; }
.crumbs a:hover { color: var(--gold-hi); }
.crumbs .ico { width: 14px; height: 14px; }
.crumbs [aria-current] { color: var(--text-2); }
.nf-code { display: block; font-family: var(--f-display); font-size: clamp(90px, 16vw, 180px); line-height: 1; font-weight: 600; }
.nf .btn-row { margin-top: 30px; }

.filters { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.search-box { position: relative; flex: 1 1 280px; max-width: 420px; }
.search-box .ico { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); color: var(--gold); width: 18px; height: 18px; }
.search-box input { width: 100%; height: 52px; border-radius: 999px; padding-inline: 46px 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-soft); color: var(--text-2); font-size: 14px; transition: all .3s; min-height: 42px; }
.chip:hover { border-color: var(--line); color: var(--text); }
.chip.on { background: var(--gold); color: #120d05; border-color: var(--gold); font-weight: 600; }
.result-count { font-size: 14px; margin-bottom: 26px; }

.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.detail-visual { margin-bottom: 36px; }
.d-block { padding: 30px 0; border-bottom: 1px solid var(--line-soft); }
.d-block:last-child { border-bottom: 0; }
.d-block h2 { display: flex; align-items: center; gap: 12px; font-size: 22px; margin-bottom: 18px; }
.d-block h2 .ico { color: var(--gold); width: 22px; height: 22px; }
.prose p { color: var(--text-2); font-size: 17px; }
.prose h2 { font-size: 24px; margin: 34px 0 14px; color: var(--text); }
.prose ul { margin: 0 0 1em; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-inline-start: 22px; color: var(--text-2); }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: .8em; width: 8px; height: 1.5px; background: var(--gold); }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 16px; }
.check-list .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(214,172,85,.12); color: var(--gold-hi); margin-top: 4px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-soft); background: rgba(21,21,18,.6); color: var(--text-2); font-size: 14.5px; }
.curriculum { display: grid; gap: 10px; }
.curriculum li { display: flex; gap: 16px; align-items: center; padding: 14px 18px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: rgba(21,21,18,.5); }
.curriculum li span { font-family: var(--f-display); font-size: 22px; color: var(--gold); font-weight: 600; }
.detail-side { position: sticky; top: calc(var(--nav-h) + 24px); }
.side-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(170deg, var(--card-2), var(--card)); box-shadow: var(--shadow); display: grid; gap: 12px; }
.side-card h2 { font-size: 18px; margin-bottom: 6px; }
.side-card dl { margin: 0 0 10px; display: grid; }
.side-card dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.side-card dt { display: flex; gap: 8px; align-items: center; color: var(--text-3); }
.side-card dt .ico { width: 16px; height: 16px; color: var(--gold); }
.side-card dd { margin: 0; text-align: end; font-weight: 500; }

.approach { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.approach-grid, .corp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.corp-cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ap-card { position: relative; padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: linear-gradient(170deg, var(--card-2), var(--card)); transition: border-color .4s, transform .5s var(--ease); overflow: hidden; }
.ap-card:hover { border-color: var(--line); transform: translateY(-5px); }
.ap-num { position: absolute; top: 14px; inset-inline-end: 20px; font-family: var(--f-display); font-size: 46px; color: rgba(214,172,85,.14); font-weight: 600; line-height: 1; }
.ap-card .v-icon { margin-bottom: 18px; }
.ap-card h3 { font-size: 18px; margin-bottom: 8px; }
.ap-card p { color: var(--text-2); font-size: 14.5px; margin: 0; }

.form-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form-intro .sec-head { margin-bottom: 30px; }
.form-card { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(170deg, var(--card-2), var(--card)); box-shadow: var(--shadow); }
.contact-list { display: grid; gap: 14px; margin-top: 10px; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-soft); background: rgba(21,21,18,.6); }
.contact-list small { display: block; color: var(--text-3); font-size: 12.5px; }
.contact-list a, .contact-list span { color: var(--text); font-weight: 500; }
.contact-list a:hover { color: var(--gold-hi); }
.steps { display: grid; gap: 14px; margin-bottom: 22px; }
.steps li { display: flex; gap: 18px; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line-soft); background: rgba(21,21,18,.6); }
.steps li > span { font-family: var(--f-display); font-size: 30px; color: var(--gold); font-weight: 600; line-height: 1; }
.steps h3 { font-size: 17px; margin-bottom: 4px; }
.steps p { color: var(--text-2); font-size: 14.5px; margin: 0; }
.note { display: flex; gap: 10px; align-items: flex-start; color: var(--text-3); font-size: 14px; margin-bottom: 22px; }
.note .ico { color: var(--gold); width: 18px; height: 18px; margin-top: 3px; }
.map { margin-top: 56px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); aspect-ratio: 21 / 8; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.9); }
.article-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; margin-bottom: 24px; }
.article-meta span, .article-meta time { display: inline-flex; gap: 8px; align-items: center; }
.article-meta .ico { width: 16px; height: 16px; color: var(--gold); }
.article-cover { margin: 0 0 36px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); }
.article-body p { font-size: 18px; }
.alert-draft { padding: 12px 18px; border-radius: 10px; background: rgba(232,135,108,.1); border: 1px solid rgba(232,135,108,.35); color: var(--danger); margin-bottom: 24px; font-weight: 600; }

/* ---------- Forms ---------- */
input, select, textarea {
  font: inherit; color: var(--text); background: #0c0c0b; border: 1px solid rgba(214,172,85,.2); border-radius: 12px;
  padding: 13px 16px; width: 100%; transition: border-color .3s, box-shadow .3s, background-color .3s; min-height: 50px;
}
textarea { resize: vertical; min-height: 120px; }
input::placeholder, textarea::placeholder { color: #6e6b64; }
input:hover, select:hover, textarea:hover { border-color: rgba(214,172,85,.4); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(214,172,85,.14); background: #0f0f0d; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.span-2 { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--text-2); }
.req { color: var(--gold); }
.field-err { display: block; min-height: 0; font-size: 13px; color: var(--danger); margin-top: 6px; }
.field-err:empty { display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-inline-end: 44px; cursor: pointer; }
.select .ico { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--gold); width: 18px; height: 18px; }
select option { background: #111; color: var(--text); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; inset-inline-start: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.form-foot small { flex: 1 1 200px; font-size: 13px; }
.form-status { margin-top: 18px; }
.form-status:empty { display: none; }
.form-status .msg { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; font-weight: 500; }
.form-status .msg.ok { background: rgba(127,199,154,.1); border: 1px solid rgba(127,199,154,.35); color: var(--ok); }
.form-status .msg.err { background: rgba(232,135,108,.1); border: 1px solid rgba(232,135,108,.35); color: var(--danger); }
.lead-form.sent .form-grid, .lead-form.sent .form-foot { display: none; }
.btn[disabled] { opacity: .65; pointer-events: none; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(0,0,0,.25); border-top-color: #120d05; border-radius: 50%; animation: spin .8s linear infinite; }

/* ---------- Reveal (JS adds .motion when GSAP runs) ---------- */
[data-mask] { will-change: clip-path; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav-links a { padding: 8px 9px; font-size: 14.5px; }
  .brand-text small { display: none; }
  .hl-row { grid-template-columns: repeat(3, 1fr); }
  .hl-item:nth-child(4)::before { display: none; }
  .hl-item:nth-child(n+4) { border-top: 1px solid var(--line-soft); }
}
@media (max-width: 1024px) {
  :root { --nav-h: 70px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: inline-flex; }
  .nav-actions { margin-inline-start: auto; }
  .hero-grid, .about-grid, .tech-grid, .corp-grid, .form-wrap, .detail-grid { grid-template-columns: 1fr; }
  .hero { padding-bottom: 90px; }
  .hero-copy { text-align: center; }
  .hero-desc { margin-inline: auto; }
  .hero-copy .btn-row { justify-content: center; }
  .hero-visual { width: min(100%, 460px); order: -1; margin-top: -10px; }
  .p-grid, .a-grid, .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .corp-copy, .detail-side { position: static; }
  .about-visual { max-width: 440px; margin-inline: auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tech-visual { width: min(100%, 440px); }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .container { width: min(100% - 32px, 1240px); }
  .brand img { width: 42px; height: 42px; }
  .brand-text b { font-size: 18px; }
  .lang-btn span { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 16px); }
  .hero-visual { width: min(100%, 360px); }
  .hv-chip { font-size: 11.5px; padding: 7px 11px; }
  .hv-chip .ico { width: 15px; height: 15px; }
  .chip-b { inset-inline-end: 0; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }
  .highlights { margin-top: -20px; }
  .hl-row { grid-template-columns: 1fr 1fr; }
  .hl-item { padding: 20px 16px; gap: 12px; }
  .hl-item::before { display: none !important; }
  .hl-item:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .hl-item:nth-child(odd):last-child { grid-column: 1 / -1; }
  .hl-icon { width: 38px; height: 38px; }
  .hl-q { font-size: 14.5px; }
  .p-grid, .a-grid, .approach-grid, .tech-list { grid-template-columns: 1fr; }
  .sec-head { margin-bottom: 40px; }
  .about-badge { inset-inline-end: 8px; bottom: 16px; }
  .corp-list li { grid-template-columns: 40px 1fr; }
  .corp-list .c-num { display: none; }
  .c-icon { width: 40px; height: 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .t-card { padding: 24px; }
  .filters { flex-direction: column; align-items: stretch; }
  .search-box { max-width: none; }
  .filters > * { min-width: 0; max-width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; width: 100%; }
  .chip { flex: none; }
  .map { aspect-ratio: 4 / 3; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; inset-inline-end: 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-hero-item], .js [data-hero-line], .js [data-hero-visual] { opacity: 1; animation: none; }
  .particles { display: none; }
}
