/* ==========================================================================
   Wanzau, Odhiambo & Associates Advocates — public site
   Built on Bootstrap 5 grid/utilities; everything visual lives here.
   ========================================================================== */

:root {
    --ink: #0b1b33;
    --ink-2: #13294b;
    --ink-3: #1d3a66;
    --brand: #3989c6;
    --brand-600: #2b72aa;
    --brand-2: #4ad8ff;
    --paper: #f5f7fb;
    --white: #ffffff;
    --line: #e2e8f0;
    --muted: #5b6b82;
    --text: #1f2a3c;
    --success: #1f9d6b;
    --danger: #d64545;

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 6px rgba(11, 27, 51, .06);
    --shadow: 0 14px 40px -18px rgba(11, 27, 51, .28);
    --shadow-lg: 0 30px 70px -30px rgba(11, 27, 51, .45);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --header-h: 84px;

    --bs-primary: var(--brand);
    --bs-primary-rgb: 57, 137, 198;
    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--text);
    --bs-link-color: var(--brand-600);
    --bs-link-hover-color: var(--ink);
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    font-size: 1.0625rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4, .display {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -.015em;
    line-height: 1.15;
}
h5, h6 { font-weight: 700; color: var(--ink); }

a { color: var(--brand-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ink); }

img { max-width: 100%; height: auto; }

::selection { background: var(--brand-2); color: var(--ink); }

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

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 2000;
    background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section-sm { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: rgba(255, 255, 255, .78); }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4, .bg-ink h5 { color: #fff; }
.text-muted-2 { color: var(--muted) !important; }
.text-brand { color: var(--brand) !important; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 2px; }
.bg-ink .eyebrow { color: var(--brand-2); }

.section-title { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: 1rem; }
.section-lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.bg-ink .section-lead { color: rgba(255, 255, 255, .7); }

.text-gradient {
    background: linear-gradient(100deg, var(--brand) 10%, var(--brand-2) 90%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.italic-accent { font-style: italic; font-weight: 400; }

/* ---------- Buttons ---------- */
.btn-x {
    --bg: var(--ink); --fg: #fff;
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
    padding: .95rem 1.6rem; border-radius: 999px; border: 0;
    font-weight: 700; font-size: .98rem; letter-spacing: .01em;
    background: var(--bg); color: var(--fg);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s;
    box-shadow: 0 10px 24px -12px rgba(11, 27, 51, .55);
}
.btn-x::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, var(--brand), var(--brand-2));
    transform: translateX(-101%); transition: transform .5s var(--ease);
}
.btn-x:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(57, 137, 198, .7); }
.btn-x:hover::before { transform: translateX(0); }
.btn-x:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-x:disabled::before { display: none; }
.btn-x:disabled:hover { color: var(--fg); }
.btn-x .fa-arrow-right { transition: transform .35s var(--ease); }
.btn-x:hover .fa-arrow-right { transform: translateX(4px); }
.btn-x.btn-light-x { --bg: #fff; --fg: var(--ink); }
.btn-x.btn-brand-x { --bg: var(--brand); --fg: #fff; }
.btn-x.btn-ghost-x { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.bg-ink .btn-x.btn-ghost-x, .cta-band .btn-x.btn-ghost-x, .side-cta .btn-x.btn-ghost-x { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.btn-x.btn-sm-x { padding: .6rem 1.1rem; font-size: .88rem; }

.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); }
.link-arrow i { transition: transform .3s var(--ease); color: var(--brand); }
.link-arrow:hover i { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 1030;
    height: var(--header-h);
    display: flex; align-items: center;
    transition: background .35s, box-shadow .35s, height .35s var(--ease);
    background: rgba(255, 255, 255, .72);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.site-header.is-scrolled { --header-h: 70px; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(11, 27, 51, .35); }

.brand { display: flex; align-items: center; gap: .75rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 48px; height: 48px; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.05); }
.brand-text { line-height: 1.1; }
.brand-text strong { display: block; font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; }
.brand-text small { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.main-nav > li > a, .main-nav > li > button {
    position: relative; display: inline-flex; align-items: center; gap: .4rem;
    padding: .55rem .95rem; border: 0; background: none;
    font-weight: 600; font-size: .96rem; color: var(--ink); border-radius: 999px;
    transition: background .25s, color .25s;
}
.main-nav > li > a::after, .main-nav > li > button::after {
    content: ""; position: absolute; left: 50%; bottom: 4px; width: 0; height: 2px;
    background: var(--brand); border-radius: 2px; transition: width .35s var(--ease), left .35s var(--ease);
}
.main-nav > li > a:hover::after, .main-nav > li > a.active::after,
.main-nav > li > button:hover::after, .main-nav > li > button.active::after { width: 22px; left: calc(50% - 11px); }
.main-nav > li > a.active, .main-nav > li > button.active { color: var(--brand-600); }
.main-nav .dropdown-toggle::after { display: none; }
.main-nav .fa-chevron-down { font-size: .65rem; transition: transform .3s; }
.main-nav .show > .fa-chevron-down, .main-nav button[aria-expanded="true"] .fa-chevron-down { transform: rotate(180deg); }

.mega {
    border: 0; border-radius: var(--radius); padding: .75rem; min-width: 560px;
    box-shadow: var(--shadow-lg); margin-top: .75rem !important;
    grid-template-columns: 1fr 1fr; gap: .25rem;
}
.dropdown-menu.mega.show { display: grid; animation: dropIn .35s var(--ease); }
.mega a { display: flex; gap: .8rem; align-items: flex-start; padding: .75rem .85rem; border-radius: var(--radius-sm); color: var(--ink); transition: background .2s; }
.mega a:hover { background: var(--paper); }
.mega a i { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(57, 137, 198, .1); color: var(--brand); transition: background .25s, color .25s, transform .35s var(--ease); }
.mega a:hover i { background: var(--brand); color: #fff; transform: rotate(-8deg); }
.mega a strong { display: block; font-size: .93rem; line-height: 1.3; }
.mega a span { font-size: .8rem; color: var(--muted); line-height: 1.4; display: block; }
.mega .mega-all i, .mega .mega-all:hover i { width: auto; height: auto; background: none; color: inherit; transform: none; }
.mega .mega-all:hover i { transform: translateX(4px); }
.mega .mega-all { grid-column: 1 / -1; justify-content: center; font-weight: 700; color: var(--brand-600); border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.nav-toggle {
    width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff;
    display: grid; place-items: center; color: var(--ink);
}
.offcanvas.mobile-nav { background: var(--ink); color: #fff; width: min(360px, 88vw); }
.mobile-nav .offcanvas-header { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-nav a { color: #fff; }
.mobile-nav .m-link { display: flex; justify-content: space-between; align-items: center; padding: .9rem 0; font-family: var(--font-display); font-size: 1.45rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-nav .m-link.active { color: var(--brand-2); }
.mobile-nav .m-sub a { display: block; padding: .45rem 0 .45rem 1rem; color: rgba(255, 255, 255, .7); font-size: .95rem; }
.mobile-nav .offcanvas-body > * { opacity: 0; transform: translateX(20px); }
.mobile-nav.show .offcanvas-body > * { animation: slideIn .5s var(--ease) forwards; }
.mobile-nav.show .offcanvas-body > *:nth-child(2) { animation-delay: .05s; }
.mobile-nav.show .offcanvas-body > *:nth-child(3) { animation-delay: .1s; }
.mobile-nav.show .offcanvas-body > *:nth-child(4) { animation-delay: .15s; }
.mobile-nav.show .offcanvas-body > *:nth-child(5) { animation-delay: .2s; }
.mobile-nav.show .offcanvas-body > *:nth-child(6) { animation-delay: .25s; }
.mobile-nav.show .offcanvas-body > *:nth-child(7) { animation-delay: .3s; }
@keyframes slideIn { to { opacity: 1; transform: none; } }

main { padding-top: var(--header-h); }

/* ---------- Hero (home) ---------- */
.hero {
    position: relative; overflow: hidden;
    padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem);
    background:
        radial-gradient(900px 500px at 85% 20%, rgba(74, 216, 255, .18), transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(57, 137, 198, .12), transparent 60%),
        #fff;
}
.hero-grid-bg {
    position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%);
}
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.04; margin-bottom: 1.5rem; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; }
.js .hero h1 .line > span { transform: translateY(105%); animation: lineUp 1s var(--ease) forwards; }
.js .hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.js .hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: none; } }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 540px; }
.js .hero .hero-fade { opacity: 0; animation: fadeUp .9s var(--ease) .45s forwards; }
.js .hero .hero-fade.d2 { animation-delay: .6s; }
.js .hero .hero-fade.d3 { animation-delay: .75s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-visual { position: relative; max-width: 620px; margin-inline: auto; }
.hero-visual .ring {
    position: absolute; inset: 4% 6% 10%; border-radius: 50%;
    border: 2px dashed rgba(57, 137, 198, .35);
    animation: spin 60s linear infinite;
}
.hero-visual .orb {
    position: absolute; inset: 12% 14% 18%; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(74, 216, 255, .55), rgba(57, 137, 198, .25) 55%, transparent 70%);
    filter: blur(10px);
    animation: breathe 8s ease-in-out infinite;
}
.hero-photo {
    position: relative; z-index: 1; border-radius: var(--radius-lg); overflow: hidden;
    background: radial-gradient(circle at 50% 42%, rgba(74, 216, 255, .32), rgba(57, 137, 198, .1) 50%, #fff 78%);
    -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
}
.hero-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 55% 30%; mix-blend-mode: multiply; }
.js .hero-photo { clip-path: inset(100% 0 0 0 round var(--radius-lg)); animation: reveal 1.3s var(--ease) .2s forwards; }
@keyframes reveal { to { clip-path: inset(0 0 0 0 round var(--radius-lg)); } }

.float-card {
    position: absolute; z-index: 2;
    display: flex; align-items: center; gap: .8rem;
    background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .7);
    padding: .8rem 1.1rem; border-radius: 16px; box-shadow: var(--shadow);
    font-size: .85rem; line-height: 1.3; color: var(--muted);
    animation: float 6s ease-in-out infinite, fadeIn 1s ease 1.1s both;
}
.float-card strong { display: block; color: var(--ink); font-size: 1rem; }
.float-card i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.float-card.fc-1 { left: -4%; top: 22%; }
.float-card.fc-2 { right: -2%; top: 8%; animation-delay: -2s, 1.3s; }
.float-card.fc-3 { right: 4%; bottom: 12%; animation-delay: -4s, 1.5s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.08); opacity: 1; } }

.trust-row { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin-top: 2.5rem; color: var(--muted); font-size: .9rem; }
.trust-row span { display: inline-flex; align-items: center; gap: .5rem; }
.trust-row i { color: var(--brand); }

.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: .4rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.scroll-cue .mouse { width: 22px; height: 34px; border: 2px solid var(--muted); border-radius: 12px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; background: var(--brand); border-radius: 2px; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 1.15rem 0; position: relative; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: .9rem; padding: 0 2rem; font-family: var(--font-display); font-size: 1.35rem; white-space: nowrap; }
.marquee-item i { color: var(--brand-2); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative; overflow: hidden; color: #fff;
    padding: clamp(4rem, 9vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5rem);
    background:
        radial-gradient(700px 380px at 90% 0%, rgba(74, 216, 255, .28), transparent 60%),
        radial-gradient(600px 400px at 0% 100%, rgba(57, 137, 198, .35), transparent 60%),
        linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
}
.page-hero::after {
    content: ""; position: absolute; right: -120px; top: 50%; width: 420px; height: 420px; margin-top: -210px;
    border-radius: 50%; border: 2px solid rgba(74, 216, 255, .18);
    box-shadow: 0 0 0 40px rgba(74, 216, 255, .04), 0 0 0 80px rgba(74, 216, 255, .03);
    animation: spin 80s linear infinite;
}
.page-hero .container { z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.5vw, 4rem); margin-bottom: .75rem; }
.page-hero p.lead { color: rgba(255, 255, 255, .75); font-size: 1.15rem; max-width: 640px; }
.page-hero .hero-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: var(--brand-2); font-size: 1.6rem; margin-bottom: 1.25rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .85rem; }
.crumbs li { color: rgba(255, 255, 255, .55); display: inline-flex; align-items: center; gap: .5rem; }
.crumbs li + li::before { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .6rem; opacity: .6; }
.crumbs a { color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: var(--brand-2); }
.js .page-hero .ph-anim { opacity: 0; animation: fadeUp .9s var(--ease) forwards; }
.js .page-hero .ph-anim:nth-child(2) { animation-delay: .1s; }
.js .page-hero .ph-anim:nth-child(3) { animation-delay: .2s; }
.js .page-hero .ph-anim:nth-child(4) { animation-delay: .3s; }

/* ---------- Service cards ---------- */
.service-card {
    position: relative; height: 100%; display: flex; flex-direction: column;
    padding: 2rem; border-radius: var(--radius); background: #fff;
    border: 1px solid var(--line);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
    overflow: hidden; isolation: isolate; color: var(--text);
}
.service-card::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(160deg, var(--ink) 0%, var(--ink-3) 100%);
    opacity: 0; transition: opacity .5s var(--ease);
}
.service-card::after {
    content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; z-index: -1;
    border-radius: 50%; background: radial-gradient(circle, rgba(74, 216, 255, .35), transparent 70%);
    opacity: 0; transform: scale(.5); transition: opacity .5s, transform .7s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; color: rgba(255, 255, 255, .78); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; transform: scale(1); }
.service-card .icon {
    width: 60px; height: 60px; display: grid; place-items: center; font-size: 1.45rem;
    border-radius: 16px; background: rgba(57, 137, 198, .1); color: var(--brand);
    margin-bottom: 1.5rem; transition: transform .6s var(--ease), background .4s, color .4s;
}
.service-card:hover .icon { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; transform: rotate(-10deg) scale(1.06); }
.service-card h3 { font-size: 1.4rem; margin-bottom: .75rem; transition: color .4s; }
.service-card:hover h3 { color: #fff; }
.service-card p { color: var(--muted); flex: 1; transition: color .4s; }
.service-card:hover p { color: rgba(255, 255, 255, .72); }
.service-card .num { position: absolute; top: 1.5rem; right: 1.75rem; font-family: var(--font-display); font-size: 1rem; color: var(--line); transition: color .4s; }
.service-card:hover .num { color: rgba(255, 255, 255, .25); }
.service-card .more { font-weight: 700; display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); margin-top: 1rem; transition: color .4s, gap .35s var(--ease); }
.service-card:hover .more { color: var(--brand-2); gap: .85rem; }
.service-card .stretched { position: absolute; inset: 0; z-index: 2; }
.service-card ul.mini { list-style: none; padding: 0; margin: 0 0 .5rem; font-size: .9rem; }
.service-card ul.mini li { display: flex; gap: .55rem; padding: .22rem 0; color: var(--muted); transition: color .4s; }
.service-card ul.mini li i { color: var(--brand); font-size: .75rem; margin-top: .45rem; }
.service-card:hover ul.mini li { color: rgba(255, 255, 255, .72); }
.service-card:hover ul.mini li i { color: var(--brand-2); }

/* ---------- About split (home) ---------- */
.about-visual { position: relative; }
.about-visual .frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); box-shadow: var(--shadow-lg); }
.about-visual .frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 20%; transition: transform 1.4s var(--ease); }
.about-visual:hover .frame img { transform: scale(1.04); }
.about-visual .badge-est {
    position: absolute; right: -18px; bottom: 36px; z-index: 2;
    width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; text-align: center;
    background: var(--ink); color: #fff; box-shadow: var(--shadow-lg);
}
.about-visual .badge-est strong { display: block; font-family: var(--font-display); font-size: 2.1rem; line-height: 1; color: var(--brand-2); }
.about-visual .badge-est small { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }
.about-visual .badge-est svg { position: absolute; inset: 6px; animation: spin 20s linear infinite; }
.about-visual .dots { position: absolute; left: -24px; top: -24px; width: 120px; height: 120px; background-image: radial-gradient(var(--brand) 1.5px, transparent 1.5px); background-size: 14px 14px; opacity: .45; z-index: -1; }

.check-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.check-list li { display: flex; gap: .85rem; padding: .45rem 0; }
.check-list li i { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(57, 137, 198, .12); color: var(--brand); font-size: .75rem; margin-top: .2rem; }
.bg-ink .check-list li i { background: rgba(74, 216, 255, .12); color: var(--brand-2); }

/* ---------- Stats ---------- */

/* ---------- Approach / steps ---------- */
.step-card { position: relative; padding: 2rem 1.75rem; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); height: 100%; transition: background .4s, transform .5s var(--ease), border-color .4s; }
.step-card:hover { background: rgba(255, 255, 255, .07); transform: translateY(-6px); border-color: rgba(74, 216, 255, .35); }
.step-card .step-no { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(74, 216, 255, .6); margin-bottom: 1rem; }
.step-card h3 { font-size: 1.3rem; color: #fff; }
.step-card p { margin: 0; color: rgba(255, 255, 255, .65); font-size: .96rem; }

/* Timeline (service details) */
.timeline { position: relative; list-style: none; padding: 0; margin: 0; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline .tl-progress { position: absolute; left: 23px; top: 8px; width: 2px; height: 0; background: linear-gradient(var(--brand), var(--brand-2)); transition: height 1.6s var(--ease); }
.timeline.is-in .tl-progress { height: calc(100% - 16px); }
.timeline li { position: relative; padding: 0 0 2rem 4.25rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .dot { position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font-weight: 800; color: var(--brand); transition: border-color .6s, background .6s, color .6s; }
.timeline.is-in .dot { border-color: var(--brand); }
.timeline li:hover .dot { background: var(--brand); color: #fff; }
.timeline h3 { font-size: 1.2rem; margin: .55rem 0 .35rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.timeline p { margin: 0; color: var(--muted); }

/* ---------- Values ---------- */
.value-card { position: relative; padding: 2.25rem 2rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); height: 100%; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.value-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card:hover::after { transform: scaleX(1); }
.value-card .v-icon { position: relative; width: 64px; height: 64px; margin-bottom: 1.4rem; display: grid; place-items: center; font-size: 1.5rem; color: var(--brand); }
.value-card .v-icon::before { content: ""; position: absolute; inset: 0; border-radius: 20px; background: rgba(57, 137, 198, .1); transform: rotate(45deg) scale(.82); transition: transform .7s var(--ease), background .4s; }
.value-card:hover .v-icon::before { transform: rotate(135deg) scale(.9); background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.value-card .v-icon i { position: relative; transition: color .4s, transform .5s var(--ease); }
.value-card:hover .v-icon i { color: #fff; transform: scale(1.1); }
.value-card h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.value-card p { color: var(--muted); margin: 0; }
.value-card .ghost-no { position: absolute; right: 1.25rem; top: .5rem; font-family: var(--font-display); font-size: 4.5rem; color: var(--paper); line-height: 1; z-index: 0; pointer-events: none; }

/* ---------- Team ---------- */
.team-card { position: relative; border-radius: var(--radius-lg); background: #fff; overflow: hidden; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-photo { position: relative; overflow: hidden; background: linear-gradient(160deg, #eef3f9, #dfe9f4); }
.team-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 15%; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.92); }
.team-card:hover .team-photo img { transform: scale(1.05); filter: saturate(1.05); }
.team-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, rgba(11, 27, 51, .75)); }
.team-photo .role-tag { position: absolute; left: 1.5rem; bottom: 1.25rem; z-index: 1; color: #fff; }
.team-photo .role-tag span { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: rgba(74, 216, 255, .2); border: 1px solid rgba(74, 216, 255, .5); color: #fff; padding: .3rem .7rem; border-radius: 999px; backdrop-filter: blur(6px); }
.team-body { padding: 1.75rem 1.75rem 2rem; display: flex; flex-direction: column; flex: 1; }
.team-body h3 { font-size: 1.65rem; margin-bottom: .15rem; }
.team-body .dept { color: var(--brand); font-weight: 700; font-size: .95rem; margin-bottom: 1rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.chip-list li, .chip { font-size: .8rem; font-weight: 600; padding: .32rem .75rem; border-radius: 999px; background: var(--paper); color: var(--ink-3); border: 1px solid var(--line); }
a.chip:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.team-meta { list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .92rem; color: var(--muted); }
.team-meta li { display: flex; gap: .65rem; padding: .2rem 0; }
.team-meta i { color: var(--brand); width: 18px; margin-top: .3rem; }
.team-bio p { color: var(--text); }
.btn-toggle-bio { align-self: flex-start; margin-top: auto; }
.btn-toggle-bio .fa-plus { transition: transform .4s var(--ease); }
.btn-toggle-bio[aria-expanded="true"] .fa-plus { transform: rotate(45deg); }

/* ---------- Articles ---------- */
.post-card { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--ink), var(--ink-3)); }
.post-thumb > img { position: relative; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-thumb .placeholder-mark { position: absolute; inset: 0; display: grid; place-items: center; }
.post-thumb .placeholder-mark img { width: 34%; height: auto; opacity: .9; filter: brightness(0) invert(1); object-fit: contain; }
.post-card:hover .post-thumb .placeholder-mark img { transform: rotate(-8deg) scale(1.05); }
.post-thumb .tag-float { position: absolute; left: 1rem; top: 1rem; z-index: 1; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }
.post-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .82rem; color: var(--muted); margin-bottom: .75rem; }
.post-meta i { color: var(--brand); margin-right: .3rem; }
.post-card h3 { font-size: 1.3rem; line-height: 1.3; margin-bottom: .6rem; }
.post-card h3 a { color: var(--ink); background: linear-gradient(var(--brand-2), var(--brand-2)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); }
.post-card:hover h3 a { background-size: 100% 2px; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card p { color: var(--muted); font-size: .96rem; flex: 1; }

.post-card.featured { display: grid; grid-template-columns: 1.15fr 1fr; }
.post-card.featured .post-thumb { aspect-ratio: auto; min-height: 340px; }
.post-card.featured h3 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
@media (max-width: 991.98px) { .post-card.featured { grid-template-columns: 1fr; } .post-card.featured .post-thumb { min-height: 0; aspect-ratio: 16 / 9; } }

.blog-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; }
.search-pill { position: relative; flex: 1 1 320px; max-width: 460px; }
.search-pill input { width: 100%; padding: .9rem 3.4rem .9rem 3rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; transition: border-color .25s, box-shadow .25s; }
.search-pill input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(57, 137, 198, .15); }
.search-pill > i { position: absolute; left: 1.2rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-pill button { position: absolute; right: 6px; top: 6px; bottom: 6px; width: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; transition: background .25s; }
.search-pill button:hover { background: var(--brand); }

.empty-state { text-align: center; padding: 4rem 1rem; border: 2px dashed var(--line); border-radius: var(--radius-lg); }
.empty-state i { font-size: 2.5rem; color: var(--brand); margin-bottom: 1rem; }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; list-style: none; padding: 0; margin: 3rem 0 0; }
.pager a, .pager span { min-width: 46px; height: 46px; padding: 0 .9rem; display: inline-grid; place-items: center; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink); font-weight: 700; transition: all .25s; }
.pager a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.pager .active span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager .disabled span { opacity: .4; }

/* ---------- Article page ---------- */
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 1040; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform-origin: 0 50%; transform: scaleX(0); }
.article-hero { padding: clamp(3rem, 7vw, 5rem) 0 2rem; background: linear-gradient(180deg, var(--paper), #fff); }
.article-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 900px; }
.article-hero .crumbs li { color: var(--muted); }
.article-hero .crumbs a { color: var(--ink-3); }
.article-hero .crumbs a:hover { color: var(--brand); }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); margin-top: 2rem; }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; }
.prose { font-size: 1.12rem; line-height: 1.85; color: var(--text); }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { font-size: 1.9rem; margin-top: 2.75rem; }
.prose h3 { font-size: 1.5rem; margin-top: 2.25rem; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; height: auto; }
.prose blockquote { border-left: 4px solid var(--brand); padding: .5rem 0 .5rem 1.5rem; font-family: var(--font-display); font-size: 1.35rem; font-style: italic; color: var(--ink); }
.prose a { text-decoration: underline; text-decoration-color: rgba(57, 137, 198, .4); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: .4rem; }

.share-bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.share-bar .label { font-size: .8rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-right: .5rem; }
.share-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 1.05rem; transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s; }
.share-btn:hover { transform: translateY(-3px); color: #fff; border-color: transparent; }
.share-btn.linkedin:hover { background: #0a66c2; }
.share-btn.facebook:hover { background: #1877f2; }
.share-btn.x:hover { background: #000; }
.share-btn.whatsapp:hover { background: #25d366; }
.share-btn.telegram:hover { background: #229ed9; }
.share-btn.copy:hover { background: var(--ink); }
.share-btn.copied { background: var(--success); color: #fff; border-color: transparent; }
.sticky-share { position: sticky; top: calc(var(--header-h) + 2rem); flex-direction: column; }
.sticky-share .label { writing-mode: vertical-rl; transform: rotate(180deg); margin: 0 0 .5rem; }

/* ---------- Sidebar ---------- */
.side-card { border-radius: var(--radius); padding: 1.75rem; background: var(--paper); border: 1px solid var(--line); }
.side-card + .side-card { margin-top: 1.5rem; }
.side-card h2, .side-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; margin: 0 -.8rem; border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; font-size: .95rem; transition: background .25s, padding .3s var(--ease); }
.side-links a i { color: var(--brand); width: 20px; text-align: center; }
.side-links a:hover { background: #fff; padding-left: 1.1rem; }
.side-links a.current { background: #fff; color: var(--brand-600); box-shadow: var(--shadow-sm); }
.side-cta { background: linear-gradient(160deg, var(--ink), var(--ink-3)); color: rgba(255, 255, 255, .75); border: 0; position: relative; overflow: hidden; }
.side-cta h2, .side-cta h3 { color: #fff; }
.side-cta::after { content: "\f0e3"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: -10px; bottom: -20px; font-size: 7rem; color: rgba(255, 255, 255, .05); transform: rotate(-15deg); }
.side-cta a.cta-line { display: flex; align-items: center; gap: .75rem; color: #fff; padding: .45rem 0; font-weight: 600; }
.side-cta a.cta-line i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(74, 216, 255, .15); color: var(--brand-2); transition: background .25s, color .25s; }
.side-cta a.cta-line:hover i { background: var(--brand-2); color: var(--ink); }
@media (min-width: 992px) { .sticky-lg { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

/* Offerings grid */
.offer-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .85rem; list-style: none; padding: 0; margin: 0; }
.offer-list li { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .96rem; transition: transform .35s var(--ease), border-color .25s, box-shadow .35s; }
.offer-list li:hover { transform: translateX(4px); border-color: var(--brand); box-shadow: var(--shadow-sm); }
.offer-list li i { color: var(--brand); margin-top: .3rem; }

/* FAQ accordion */
.faq .accordion-item { border: 1px solid var(--line); border-radius: var(--radius) !important; overflow: hidden; margin-bottom: .85rem; background: #fff; }
.faq .accordion-button { font-family: var(--font-body); letter-spacing: 0; font-weight: 700; font-size: 1.05rem; color: var(--ink); padding: 1.25rem 1.5rem; background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--brand-600); background: #fff; }
.faq .accordion-button::after { background-image: none; content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--brand); transition: transform .4s var(--ease), background .3s, color .3s; }
.faq .accordion-button:not(.collapsed)::after { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq .accordion-body { padding: 0 1.5rem 1.4rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-tile { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); height: 100%; transition: transform .4s var(--ease), box-shadow .4s; color: var(--text); }
a.contact-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.contact-tile i { flex: none; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: 1.1rem; }
.contact-tile h3 { font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: .15rem 0 .3rem; }
.contact-tile p { margin: 0; font-weight: 600; color: var(--ink); line-height: 1.5; }

.form-shell { padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-floating > .form-control, .form-floating > .form-select { border-radius: 14px; border: 1.5px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.form-floating > .form-control:focus, .form-floating > .form-select:focus, .form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(57, 137, 198, .15); }
.form-floating > textarea.form-control { min-height: 170px; }
.form-floating > label { color: var(--muted); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.seg { display: inline-flex; gap: .5rem; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { padding: .7rem 1.25rem; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; transition: all .25s; }
.seg input:checked + label { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg input:focus-visible + label { outline: 3px solid var(--brand-2); outline-offset: 2px; }

.alert-x { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; animation: fadeUp .6s var(--ease); }
.alert-x i { margin-top: .25rem; }
.alert-x.ok { background: rgba(31, 157, 107, .1); color: #146c4a; border: 1px solid rgba(31, 157, 107, .25); }
.alert-x.err { background: rgba(214, 69, 69, .08); color: #a12f2f; border: 1px solid rgba(214, 69, 69, .25); }
.alert-x ul { margin: 0; padding-left: 1.1rem; }

.recaptcha-error { color: var(--danger); font-weight: 600; }
.g-recaptcha { min-height: 78px; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); line-height: 0; filter: grayscale(.25) contrast(1.05); transition: filter .5s; }
.map-wrap:hover { filter: none; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem); color: rgba(255, 255, 255, .8); background: linear-gradient(120deg, var(--ink) 0%, var(--ink-3) 60%, var(--brand-600) 100%); }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(74, 216, 255, .2); }
.cta-band::before { width: 380px; height: 380px; right: -120px; top: -160px; animation: spin 40s linear infinite; border-style: dashed; }
.cta-band::after { width: 240px; height: 240px; right: 80px; bottom: -150px; background: radial-gradient(circle, rgba(74, 216, 255, .25), transparent 70%); border: 0; animation: breathe 7s ease-in-out infinite; }
.cta-band > * { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .65); padding: 5rem 0 0; position: relative; overflow: hidden; font-size: .96rem; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(74, 216, 255, .6), transparent); }
.site-footer h2 { font-family: var(--font-body); color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.25rem; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: var(--brand-2); }
.site-footer .brand { color: #fff; }
.site-footer .brand img { filter: brightness(0) invert(1); }
.site-footer .brand-text small { color: rgba(255, 255, 255, .5); }
.site-footer .chip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .75); transition: background .25s, color .25s; }
.site-footer .chip:hover { background: var(--brand-2); border-color: var(--brand-2); color: var(--ink); }
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li { padding: .3rem 0; }
.foot-links a { display: inline-flex; align-items: center; gap: .5rem; transition: color .25s, transform .3s var(--ease); }
.foot-links a:hover { transform: translateX(4px); }
.foot-contact li { display: flex; gap: .8rem; padding: .35rem 0; }
.foot-contact i { color: var(--brand-2); width: 18px; margin-top: .35rem; }
.socials { display: flex; gap: .5rem; margin-top: 1.25rem; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .06); transition: background .25s, transform .3s var(--ease), color .25s; }
.socials a:hover { background: var(--brand-2); color: var(--ink); transform: translateY(-3px); }
.foot-bottom { margin-top: 4rem; padding: 1.5rem 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; }
.foot-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-watermark { position: absolute; right: -60px; bottom: -80px; width: 360px; opacity: .04; filter: brightness(0) invert(1); pointer-events: none; }

/* ---------- Floating actions ---------- */
.fab-stack { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1020; display: flex; flex-direction: column; gap: .75rem; align-items: center; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 0; color: #fff; font-size: 1.4rem; box-shadow: 0 12px 28px -10px rgba(11, 27, 51, .55); transition: transform .35s var(--ease), opacity .35s; }
.fab:hover { transform: translateY(-3px) scale(1.05); color: #fff; }
.fab-wa { background: #25d366; position: relative; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: ping 2.4s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(1.6); opacity: 0; } }
.fab-top { background: var(--ink); font-size: 1rem; width: 46px; height: 46px; position: relative; opacity: 0; pointer-events: none; transform: translateY(10px); }
.fab-top.show { opacity: 1; pointer-events: auto; transform: none; }
.fab-top svg { position: absolute; inset: -3px; transform: rotate(-90deg); }
.fab-top circle { fill: none; stroke: var(--brand-2); stroke-width: 3; stroke-linecap: round; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="up"] { transform: translateY(40px); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Legal ---------- */
.legal-body { max-width: 860px; }
.legal-body h2 { font-size: 1.55rem; padding-top: .5rem; }
.legal-body h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.legal-body table { font-size: .95rem; }
.legal-body th { background: var(--paper); text-align: left; }
.legal-body code { font-size: .85em; color: var(--ink-3); background: var(--paper); padding: .1rem .35rem; border-radius: 6px; }
.legal-toc { max-height: calc(100vh - var(--header-h) - 3rem); overflow-y: auto; }
.legal-toc .side-links a { padding-top: .45rem; padding-bottom: .45rem; font-size: .9rem; }
.legal-toc .side-links a.active { background: #fff; color: var(--brand-600); box-shadow: var(--shadow-sm); }
.legal-toc .toc-no { font-size: .75rem; font-weight: 800; color: var(--muted); width: 22px; flex: none; }
.legal-toc .side-links a.active .toc-no { color: var(--brand); }
.legal-summary { border-left: 4px solid var(--brand); }

/* ---------- Misc ---------- */
.divider-wave { display: block; width: 100%; height: 60px; }
.tilt { transform-style: preserve-3d; transition: transform .2s ease-out; }
.split-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem; }

@media (max-width: 991.98px) {
    :root { --header-h: 72px; }
    .float-card.fc-1 { left: 0; }
    .float-card.fc-2 { right: 0; }
    .mega { min-width: 0; }
    .about-visual .badge-est { right: 10px; width: 120px; height: 120px; }
}
@media (max-width: 575.98px) {
    body { font-size: 1rem; }
    .float-card { padding: .6rem .8rem; font-size: .75rem; }
    .float-card i { width: 32px; height: 32px; font-size: .85rem; }
    .float-card.fc-3 { display: none; }
    .brand-text strong { font-size: .95rem; }
    .brand img { width: 42px; height: 42px; }
    .map-wrap iframe { height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
    .marquee-track { animation: none; }
    @view-transition { navigation: none; }
}
