/* ==========================================================================
   QDS Investments — modern redesign
   Brand colours sampled from the QDS globe mark: coral → magenta → violet → sky.
   ========================================================================== */

:root {
    --ink: #0D1022;
    --ink-2: #151A33;
    --navy: #1B2032;
    --coral: #F05766;
    --magenta: #B8399E;
    --violet: #6D3BD6;
    --sky: #3FA0E0;
    --paper: #FFFFFF;
    --tint: #F5F4FA;
    --line: #E6E4EF;
    --text: #1B2032;
    --muted: #5E6478;
    --grad: linear-gradient(115deg, var(--coral) 0%, var(--magenta) 40%, var(--violet) 72%, var(--sky) 100%);
    --radius: 22px;
    --shadow: 0 24px 60px -24px rgba(13, 16, 34, .25);
    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
    --serif: 'Instrument Serif', Georgia, serif;
}

* { -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font); color: var(--text); background: var(--paper); font-size: 1.02rem; line-height: 1.7; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
a { color: var(--violet); text-decoration: none; }
img { max-width: 100%; height: auto; }
::selection { background: var(--coral); color: #fff; }

em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
h1 em, h2 em, .section-title em {
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
    padding-right: .06em;
}

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.text-muted-2 { color: var(--muted); }
.text-white-60 { color: rgba(255,255,255,.65); }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 999px; padding: .7rem 1.4rem; display: inline-flex; align-items: center; gap: .5rem; transition: transform .25s, box-shadow .25s, background .25s, color .25s; }
.btn-lg { padding: .95rem 1.8rem; font-size: 1rem; }
.btn-glow { background: var(--grad); background-size: 160% 100%; color: #fff; border: 0; box-shadow: 0 10px 30px -10px rgba(184,57,158,.7); }
.btn-glow:hover { color: #fff; background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(109,59,214,.7); }
.btn-ghost { border: 1px solid rgba(255,255,255,.25); color: #fff; backdrop-filter: blur(6px); background: rgba(255,255,255,.04); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-dark-outline { border: 1.5px solid var(--navy); color: var(--navy); }
.btn-dark-outline:hover { background: var(--navy); color: #fff; }
.btn-light { color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); }
.link-arrow { font-weight: 600; color: var(--navy); display: inline-flex; gap: .5rem; align-items: center; border-bottom: 2px solid transparent; border-image: var(--grad) 1; padding-bottom: 2px; }
.link-arrow i { transition: transform .25s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Eyebrows / headings ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 1.1rem; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(240,87,102,.25); animation: pulse 2s infinite; }
.eyebrow-dark { color: var(--magenta); }
.eyebrow-dark::before { content: ''; width: 26px; height: 2px; background: var(--grad); }
.section-title { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 1.2rem; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(240,87,102,0); } }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1030; padding: 1.1rem 0; transition: padding .3s, background .3s, box-shadow .3s; }
.site-header.scrolled { padding: .5rem 0; background: rgba(13,16,34,.82); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.navbar { padding: 0; }
.navbar-brand img { height: 58px; width: auto; margin: -8px 0; transition: height .3s; }
.scrolled .navbar-brand img { height: 50px; }
.navbar .nav-link { color: rgba(255,255,255,.78); font-weight: 500; font-size: .95rem; padding: .6rem 1.05rem !important; border-radius: 999px; transition: color .2s, background .2s; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: #fff; }
.navbar .nav-link.active { background: rgba(255,255,255,.08); }
.navbar .nav-link .bi { font-size: .7rem; margin-left: .2rem; }
.navbar-toggler { border: 0; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border-radius: 50%; background: rgba(255,255,255,.08); }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; }
.navbar-toggler span:last-child { width: 14px; margin-left: 6px; }

/* Mega menu */
.mega { position: relative; }
.mega-panel { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 12px); padding-top: 14px; opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
.mega:hover .mega-panel, .mega:focus-within .mega-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 250px); gap: 1.5rem; background: #fff; border-radius: 20px; padding: 1.8rem; box-shadow: 0 40px 80px -30px rgba(0,0,0,.45); }
.mega-head { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--ink); margin-bottom: .7rem; font-size: .95rem; }
.mega-num { font-size: .7rem; color: #fff; background: var(--grad); border-radius: 6px; padding: .1rem .4rem; }
.mega-col ul { list-style: none; padding: 0; margin: 0; }
.mega-col a:not(.mega-head) { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .88rem; padding: .45rem .55rem; border-radius: 10px; line-height: 1.35; }
.mega-col a:not(.mega-head):hover { background: var(--tint); color: var(--ink); }
.mega-col a i { color: var(--magenta); }

/* Mobile nav */
.mobile-nav { background: var(--ink); color: #fff; }
.mobile-nav .offcanvas-header img { height: 54px; width: auto; }
.mobile-nav .offcanvas-body > a { display: block; color: #fff; font-size: 1.35rem; font-weight: 600; padding: .5rem 0; }
.mobile-nav .btn { display: flex; justify-content: center; font-size: 1rem !important; }
.mobile-sub { padding: .2rem 0 .8rem 1rem; border-left: 1px solid rgba(255,255,255,.12); margin: 0 0 .5rem .2rem; }
.mobile-sub span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--coral); margin: .6rem 0 .2rem; }
.mobile-sub a { display: block; color: rgba(255,255,255,.7); padding: .2rem 0; font-size: .95rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--ink); color: #fff; padding: 9.5rem 0 0; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; isolation: isolate; }
.hero > .container { flex: 1; display: flex; align-items: center; z-index: 2; }
.hero > .container > .row { width: 100%; }

.hero-media { position: absolute; inset: 0; z-index: -3; background: #05060d url('../img/hero-poster.jpg') center / cover no-repeat; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.hero-shade { position: absolute; inset: 0; z-index: -2;
    background:
        linear-gradient(90deg, rgba(13,16,34,.96) 0%, rgba(13,16,34,.82) 38%, rgba(13,16,34,.35) 70%, rgba(13,16,34,.55) 100%),
        linear-gradient(0deg, var(--ink) 0%, rgba(13,16,34,0) 35%),
        linear-gradient(180deg, rgba(13,16,34,.7) 0%, rgba(13,16,34,0) 25%); }

/* Aurora blobs: radial gradients only (no filter: blur) to keep rendering cheap */
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; mix-blend-mode: screen; }
.aurora span { position: absolute; border-radius: 50%; opacity: .55; }
.aurora .a1 { width: 70vmax; height: 70vmax; right: -25vmax; top: -30vmax; background: radial-gradient(circle, rgba(184,57,158,.55), rgba(184,57,158,0) 60%); animation: drift1 18s ease-in-out infinite alternate; }
.aurora .a2 { width: 55vmax; height: 55vmax; left: -20vmax; bottom: -30vmax; background: radial-gradient(circle, rgba(109,59,214,.5), rgba(109,59,214,0) 60%); animation: drift2 22s ease-in-out infinite alternate; }
.aurora .a3 { width: 40vmax; height: 40vmax; right: 10vmax; bottom: -18vmax; background: radial-gradient(circle, rgba(240,87,102,.4), rgba(240,87,102,0) 60%); animation: drift1 26s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-8vmax, 6vmax) scale(1.1); } }
@keyframes drift2 { to { transform: translate(10vmax, -6vmax) scale(1.15); } }

.hero-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at 75% 45%, #000 0%, transparent 60%); -webkit-mask-image: radial-gradient(ellipse at 75% 45%, #000 0%, transparent 60%); }
.page-hero .hero-grid { z-index: 0; mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 65%); }
.hero-grain { position: absolute; inset: 0; z-index: -1; opacity: .07; pointer-events: none; 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-glow { position: absolute; width: 720px; height: 720px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(184,57,158,.35), rgba(109,59,214,.18) 40%, transparent 70%); pointer-events: none; }
.hero-glow.alt { left: -260px; right: auto; top: auto; bottom: -320px; }

/* Pill */
.hero-pill { display: inline-flex; align-items: center; gap: .7rem; padding: .35rem .9rem .35rem .35rem; margin-bottom: 1.8rem; border-radius: 999px; font-size: .85rem; font-weight: 500; color: rgba(255,255,255,.85); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); transition: background .25s, border-color .25s; }
.hero-pill:hover { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.hero-pill .pill-tag { background: var(--grad); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .7rem; border-radius: 999px; }
.hero-pill i { font-size: .8rem; transition: transform .25s; }
.hero-pill:hover i { transform: translateX(3px); }

/* Headline */
.hero-title { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 800; line-height: 1; letter-spacing: -.045em; margin-bottom: 1.8rem; }
.hero-title .line { display: block; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-title .rotator { background: none; color: #fff; }
.rotator { display: inline-grid; vertical-align: bottom; font-weight: 400; font-size: 1.12em; letter-spacing: -.01em; overflow: hidden; padding: 0 .08em .12em 0; margin-bottom: -.12em; }
.rotator > span { grid-area: 1 / 1; white-space: nowrap; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; transform: translateY(100%); transition: opacity .45s .25s, transform .75s .2s cubic-bezier(.2,.7,.2,1); }
.rotator > span.is-on { opacity: 1; transform: none; }
.rotator > span.is-out { opacity: 0; transform: translateY(-100%); transition: opacity .25s, transform .5s cubic-bezier(.6,0,.8,.4); }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,.74); max-width: 560px; margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.btn-ghost .play { width: 28px; height: 28px; margin-left: -.6rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); font-size: .8rem; transition: background .25s; }
.btn-ghost:hover .play { background: var(--grad); color: #fff; }

.hero-stats { display: inline-flex; margin-top: 3rem; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(12px); }
.hero-stats > div { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.6rem; }
.hero-stats > div + div { border-left: 1px solid rgba(255,255,255,.1); }
.hero-stats strong { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { font-size: .78rem; line-height: 1.3; color: rgba(255,255,255,.65); }

.hero-in { opacity: 0; transform: translateY(26px); animation: rise 1s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--d) * .12s + .15s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Visual: globe, orbits, glass cards */
.hero-visual { position: relative; aspect-ratio: 1; max-width: 580px; margin-left: auto; }
.hero-visual [data-depth] { translate: var(--px, 0) var(--py, 0); transition: translate .5s cubic-bezier(.2,.7,.2,1); }
.halo { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(184,57,158,.45) 0%, rgba(109,59,214,.18) 35%, transparent 62%); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .8; } }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); }
.orbit.o1 { inset: 12%; animation: spin 26s linear infinite; }
.orbit.o2 { inset: 2%; border-color: rgba(255,255,255,.08); animation: spin 40s linear infinite reverse; }
.orbit.o3 { inset: -6%; border-style: dashed; border-color: rgba(255,255,255,.07); animation: spin 90s linear infinite; }
.orbit .sat { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(240,87,102,.2), 0 0 24px 4px rgba(240,87,102,.7); }
.orbit.o2 .sat { top: auto; bottom: -5px; width: 10px; height: 10px; background: var(--sky); box-shadow: 0 0 0 5px rgba(63,160,224,.18), 0 0 24px 4px rgba(63,160,224,.7); }

.orb { position: absolute; inset: 22%; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 30% 25%, #fff 0%, #F2EEF8 35%, #CFC6E4 100%); box-shadow: inset -30px -40px 80px rgba(13,16,34,.4), 0 50px 140px -20px rgba(184,57,158,.75), 0 0 0 10px rgba(255,255,255,.03); }
.orb .band { position: absolute; left: -20%; width: 140%; height: 24%; border-radius: 50%; transform: rotate(-24deg); filter: drop-shadow(0 8px 10px rgba(13,16,34,.25)); }
.orb .b1 { top: 6%; background: linear-gradient(90deg, #F7A0A8, var(--coral)); animation: sweep 9s ease-in-out infinite; }
.orb .b2 { top: 38%; height: 28%; background: linear-gradient(90deg, #4B1E55, var(--magenta) 45%, #8E3FA8); animation: sweep 9s ease-in-out infinite reverse; }
.orb .b3 { top: 74%; background: linear-gradient(90deg, #2E6FBF, var(--sky)); animation: sweep 11s ease-in-out infinite; }
.orb::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 28% 22%, rgba(255,255,255,.6), transparent 35%); }

.glass-card, .glass-chip { position: absolute; color: #fff; background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 24px 50px -18px rgba(0,0,0,.55); }
.glass-card { border-radius: 20px; padding: 1rem 1.15rem; font-size: .85rem; }
.glass-card strong { display: block; font-size: .95rem; font-weight: 700; }
.glass-card small { display: block; color: rgba(255,255,255,.62); font-size: .75rem; }
.gc-icon { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--grad); font-size: 1.1rem; }
.gc-icon.sm { width: 34px; height: 34px; border-radius: 11px; font-size: .9rem; }
.g1 { left: -8%; top: 10%; display: flex; gap: .85rem; align-items: center; min-width: 250px; animation: float 7s ease-in-out infinite; }
.gc-bar { display: block; height: 5px; margin-top: .55rem; border-radius: 5px; background: rgba(255,255,255,.12); overflow: hidden; }
.gc-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); animation: fillbar 2.4s 1.2s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes fillbar { to { width: 82%; } }
.g2 { right: -6%; top: 36%; min-width: 210px; animation: float 8s -2s ease-in-out infinite; }
.g2 ul { list-style: none; padding: 0; margin: .6rem 0 0; }
.g2 li { display: flex; align-items: center; gap: .5rem; padding: .25rem 0; color: rgba(255,255,255,.8); font-size: .8rem; opacity: 0; animation: tick .5s forwards; }
.g2 li:nth-child(1) { animation-delay: 1.4s; }
.g2 li:nth-child(2) { animation-delay: 1.8s; }
.g2 li:nth-child(3) { animation-delay: 2.2s; }
.g2 li i { color: #6EE7B7; }
@keyframes tick { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.live { width: 8px; height: 8px; border-radius: 50%; background: #34D399; animation: livepulse 2s infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } }
.g3 { left: 2%; bottom: 2%; width: 260px; animation: float 9s -4s ease-in-out infinite; }
.gc-big { font-size: 1.05rem !important; margin-top: .1rem; }
.spark { display: block; width: 100%; height: 50px; margin-top: .7rem; }
.spark-line { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 2.2s 1.4s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.glass-chip { right: 4%; bottom: 12%; display: flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 999px; font-size: .82rem; font-weight: 600; animation: float 6s -1s ease-in-out infinite; }
.glass-chip i { color: var(--coral); }

@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes sweep { 50% { transform: rotate(-18deg) translateX(-4%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Scroll cue */
.scroll-cue { position: absolute; left: 50%; bottom: 6.6rem; z-index: 3; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.35); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Marquee */
.marquee { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.08); padding: 1.4rem 0; overflow: hidden; margin-top: 4rem; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 2.2rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-size: 1.5rem; font-weight: 600; color: rgba(255,255,255,.55); white-space: nowrap; }
.marquee-track i { color: var(--coral); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; padding: 11rem 0 5.5rem; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -.03em; max-width: 900px; }
.page-hero .lead { color: rgba(255,255,255,.7); max-width: 640px; margin-top: 1.2rem; }
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .85rem; margin-bottom: 1.8rem; color: rgba(255,255,255,.5); }
.crumbs a { color: rgba(255,255,255,.7); }
.crumbs a:hover { color: #fff; }
.crumbs i { font-size: .65rem; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 7rem 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #fff; overflow: hidden; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 3rem; }
.section-head .section-title { margin-bottom: 0; }

.rounded-photo { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; box-shadow: var(--shadow); }
.photo-stack { position: relative; padding-bottom: 2rem; }
.stack-card { position: absolute; right: -1rem; bottom: 0; display: flex; gap: 1rem; align-items: center; background: #fff; border-radius: 18px; padding: 1.1rem 1.3rem; box-shadow: var(--shadow); max-width: 320px; }
.stack-card i { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 1.3rem; }
.stack-card strong { display: block; color: var(--ink); }
.stack-card span { font-size: .85rem; color: var(--muted); line-height: 1.45; display: block; }
.photo-tilt { position: relative; }
.photo-tilt::before { content: ''; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem; border-radius: var(--radius); background: var(--grad); opacity: .9; z-index: -1; }
.photo-tilt img { aspect-ratio: 4 / 4.6; }

.check-list { list-style: none; padding: 0; margin: 1.6rem 0 2rem; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .7rem; font-weight: 500; }
.check-list li::before { content: '\F26E'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0; color: var(--magenta); font-size: 1.2rem; }

/* Practice cards */
.practice-card { position: relative; height: 100%; background: #fff; border-radius: var(--radius); padding: 2.2rem; border: 1px solid var(--line); transition: transform .35s, box-shadow .35s, border-color .35s; overflow: hidden; }
.practice-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .45s; }
.practice-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.practice-card:hover::before { transform: scaleX(1); }
.practice-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.6rem; }
.practice-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: var(--grad); }
.practice-num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--line); }
.practice-card h3 { font-size: 1.45rem; }
.practice-card p { color: var(--muted); }
.practice-card ul { list-style: none; padding: 0; margin: 1.4rem 0 0; border-top: 1px solid var(--line); }
.practice-card li a { display: flex; justify-content: space-between; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 500; font-size: .95rem; }
.practice-card li a i { color: var(--muted); transition: transform .25s, color .25s; }
.practice-card li a:hover { color: var(--magenta); }
.practice-card li a:hover i { transform: translate(3px, -3px); color: var(--magenta); }

/* Steps */
.step { position: relative; height: 100%; padding: 2.4rem 2rem; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: background .3s, transform .3s; }
.step:hover { background: rgba(255,255,255,.07); transform: translateY(-4px); }
.step-num { position: absolute; right: 1.6rem; top: 1.4rem; font-family: var(--serif); font-size: 3rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step > i { font-size: 1.8rem; color: var(--coral); display: block; margin-bottom: 1.4rem; }
.step h3 { font-size: 1.4rem; }
.step p { color: rgba(255,255,255,.62); margin: 0; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4.5rem; border-top: 1px solid rgba(255,255,255,.1); }
.facts > div { padding: 2rem 1.5rem 0; border-left: 1px solid rgba(255,255,255,.1); }
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { color: rgba(255,255,255,.6); font-size: .9rem; }

.mini-feature i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--magenta); font-size: 1.25rem; margin-bottom: 1rem; transition: background .3s, color .3s; }
.mini-feature:hover i { background: var(--grad); color: #fff; }
.mini-feature h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.mini-feature p { color: var(--muted); font-size: .94rem; margin: 0; }

/* About */
.value-card { height: 100%; background: #fff; border-radius: var(--radius); padding: 2.3rem; border: 1px solid var(--line); }
.value-card i { font-size: 2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; margin-bottom: 1.2rem; }
.value-card h3 { font-size: 1.3rem; }
.value-card p { color: var(--muted); margin: 0; }
.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.expertise-item { display: flex; flex-direction: column; gap: 1rem; padding: 2rem 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 600; font-size: 1.05rem; transition: background .3s, color .3s; }
.expertise-item:nth-child(4n) { border-right: 0; }
.expertise-item:nth-last-child(-n+4) { border-bottom: 0; }
.expertise-item i { font-size: 1.6rem; color: var(--magenta); }
.expertise-item:hover { background: var(--ink); color: #fff; }
.expertise-item:hover i { color: var(--coral); }

/* Services page */
.practice-tabs { position: sticky; top: 66px; z-index: 20; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.practice-tabs .container { display: flex; gap: .5rem; overflow-x: auto; padding-top: .8rem; padding-bottom: .8rem; scrollbar-width: none; }
.practice-tabs a { flex: none; display: inline-flex; align-items: center; gap: .55rem; color: var(--navy); font-weight: 600; font-size: .92rem; padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); transition: all .25s; }
.practice-tabs a span { font-size: .7rem; color: var(--magenta); }
.practice-tabs a:hover, .practice-tabs a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.practice-tabs a:hover span, .practice-tabs a.active span { color: var(--coral); }
.practice-sticky { position: sticky; top: 150px; }
.practice-big { font-family: var(--serif); font-size: 6rem; line-height: .9; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 1rem; }
.service-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; color: var(--text); transition: transform .35s, box-shadow .35s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--text); }
.service-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--tint); color: var(--magenta); font-size: 1.35rem; margin-bottom: 1.4rem; transition: background .3s, color .3s; }
.service-icon.lg { width: 68px; height: 68px; font-size: 1.8rem; background: var(--grad); color: #fff; margin-bottom: 2rem; }
.service-card:hover .service-icon { background: var(--grad); color: #fff; }
.service-card h3 { font-size: 1.25rem; }
.service-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.service-more { font-weight: 600; font-size: .9rem; color: var(--magenta); }
.service-more i { transition: transform .25s; display: inline-block; }
.service-card:hover .service-more i { transform: translate(3px, -3px); }

/* Service detail */
.service-body .lead-para { font-size: 1.3rem; line-height: 1.6; color: var(--ink); font-weight: 500; }
.service-body p { color: var(--muted); }
.tick-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.tick-grid li { display: flex; gap: .8rem; align-items: flex-start; background: var(--tint); border-radius: 14px; padding: 1rem 1.1rem; font-weight: 500; line-height: 1.45; }
.tick-grid i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.side-card { background: var(--tint); border-radius: var(--radius); padding: 1.8rem; margin-bottom: 1.5rem; }
.side-card h2.h6 { letter-spacing: .12em; color: var(--muted); font-size: .75rem; }
.side-nav { list-style: none; padding: 0; margin: 0; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: .75rem .9rem; border-radius: 12px; color: var(--text); font-weight: 500; font-size: .95rem; }
.side-nav a i { font-size: .75rem; opacity: .4; }
.side-nav a:hover { background: #fff; }
.side-nav a.active { background: var(--ink); color: #fff; }
.side-dark { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.side-dark::before { content: ''; position: absolute; width: 260px; height: 260px; right: -100px; top: -100px; border-radius: 50%; background: var(--grad); opacity: .35; filter: none; background: radial-gradient(circle, var(--magenta), transparent 70%); }
.side-dark > * { position: relative; }
.side-dark > i { font-size: 1.8rem; color: var(--coral); display: block; margin-bottom: 1rem; }
.side-dark p { color: rgba(255,255,255,.65); }
.side-link { display: block; text-align: center; color: rgba(255,255,255,.8); margin-top: 1rem; font-weight: 600; }
.side-link:hover { color: #fff; }

/* Contact */
.contact-panel { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 2.4rem; position: relative; overflow: hidden; }
.contact-panel::after { content: ''; position: absolute; inset: auto 0 0; height: 4px; background: var(--grad); }
.contact-line { display: flex; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.08); }
.contact-line i { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: var(--coral); font-size: 1.1rem; }
.contact-line span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.5); }
.contact-line strong, .contact-line a { font-weight: 600; color: #fff; line-height: 1.5; }
.map-frame { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; height: 260px; box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.6rem; box-shadow: var(--shadow); }
.form-label { font-weight: 600; font-size: .88rem; }
.form-control, .form-select { border-radius: 12px; border: 1.5px solid var(--line); padding: .8rem 1rem; background-color: var(--tint); }
.form-control:focus, .form-select:focus { border-color: var(--violet); background-color: #fff; box-shadow: 0 0 0 4px rgba(109,59,214,.12); }
.hp { position: absolute; left: -9999px; }
.sent-state { text-align: center; padding: 3rem 1rem; }
.sent-state > span { display: inline-grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 2.2rem; margin-bottom: 1.5rem; }
.sent-state p { color: var(--muted); }

/* FAQ */
.faq-list { display: grid; gap: .8rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 1.5rem; transition: box-shadow .3s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.08rem; margin: 0; }
.faq-item summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--magenta); transition: transform .3s, background .3s, color .3s; }
.faq-item[open] summary i { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-item p { color: var(--muted); margin: 0; padding: 0 0 1.4rem; }

/* ---------- CTA ---------- */
.cta-band { padding: 0 0 7rem; }
.section-tint + .cta-band, .practice-block.section-tint:last-of-type + .cta-band { padding-top: 7rem; background: var(--tint); }
.cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; background: var(--ink); color: #fff; border-radius: 32px; padding: clamp(2.4rem, 5vw, 4.5rem); }
.cta-card h2 { font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 800; }
.cta-card p { color: rgba(255,255,255,.68); max-width: 520px; margin: 1rem 0 0; }
.cta-orb { position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(240,87,102,.55), rgba(184,57,158,.4) 35%, rgba(109,59,214,.2) 55%, transparent 70%); }
.cta-card > :not(.cta-orb) { position: relative; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.cta-mail { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.35); }
.cta-mail:hover { color: #fff; border-color: #fff; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--ink); color: rgba(255,255,255,.65); padding: 5.5rem 0 2rem; font-size: .93rem; }
.footer-top { display: grid; grid-template-columns: 1fr 3fr; gap: 3rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand img { height: 84px; width: auto; margin: -14px 0 .5rem -12px; }
.footer-brand p { max-width: 240px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.site-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255,255,255,.65); transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .7rem; line-height: 1.5; }
.footer-contact i { color: var(--coral); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 2rem; position: relative; z-index: 1; }
.footer-bottom nav { display: flex; gap: 1.5rem; }
.to-top { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff !important; }
.to-top:hover { background: var(--grad); }
.footer-word { position: absolute; left: 50%; bottom: -.32em; transform: translateX(-50%); font-size: 26vw; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.05); pointer-events: none; user-select: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 991.98px) {
    .section { padding: 5rem 0; }
    .hero { padding-top: 8rem; }
    .hero-stats { margin-top: 2.4rem; }
    .hero-stats > div { padding: .9rem 1.1rem; }
    .scroll-cue { display: none; }
    .navbar-brand img { height: 50px; }
    .facts { grid-template-columns: repeat(2, 1fr); }
    .facts > div:nth-child(3) { border-left: 0; padding-left: 0; }
    .expertise-grid { grid-template-columns: repeat(2, 1fr); }
    .expertise-item:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .expertise-item:nth-child(2n) { border-right: 0; }
    .expertise-item:nth-last-child(-n+2) { border-bottom: 0; }
    .cta-card { grid-template-columns: 1fr; }
    .cta-actions { align-items: flex-start; }
    .practice-sticky { position: static; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
    .stack-card { right: 1rem; }
    .practice-tabs { top: 62px; }
}
@media (max-width: 575.98px) {
    .tick-grid { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr; }
    .form-card, .contact-panel { padding: 1.6rem; }
    .marquee-track span { font-size: 1.15rem; }
    .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
    .hero-stats > div { flex-direction: column; align-items: flex-start; gap: .4rem; padding: .9rem; }
    .hero-stats strong { font-size: 1.6rem; }
    .rotator { font-size: .82em; }
    .stack-card { position: relative; right: auto; margin: -2.5rem 1rem 0; }
    .photo-stack { padding-bottom: 0; }
    .photo-tilt::before { inset: 1rem -.6rem -1rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .hero-in, .js .reveal, .g2 li { opacity: 1; transform: none; }
    .gc-bar span { width: 82%; }
    .spark-line { stroke-dashoffset: 0; }
}
