/* ==========================================================================
   Capex Convergent — "Corporate Trust" (modernised)
   ========================================================================== */
:root {
  --navy: #0A1F3C;
  --navy-2: #0F2B52;
  --navy-3: #133A6B;
  --blue: #006EB4;
  --sky: #0093D8;
  --gold: #C9A45C;
  --gold-2: #E3C47F;
  --ink: #16202E;
  --muted: #5B6678;
  --soft: #F4F7FB;
  --line: #E3E8EF;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -18px rgba(10, 31, 60, .22);
  --shadow-lg: 0 30px 70px -25px rgba(10, 31, 60, .35);
  --grad-blue: linear-gradient(135deg, var(--blue) 0%, var(--sky) 100%);
  --grad-gold: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 100%);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--sky); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.ico { flex: none; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons (no black / navy fills) ---------- */
.btn { --bh: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--bh); padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--sans); border: 1.5px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn-sm { --bh: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { --bh: 54px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad-blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 110, 180, .65); }
.btn-primary:hover { color: #fff; box-shadow: 0 16px 30px -10px rgba(0, 147, 216, .7); }
.btn-gold { background: var(--grad-gold); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(201, 164, 92, .7); }
.btn-gold:hover { color: var(--navy); box-shadow: 0 16px 30px -10px rgba(201, 164, 92, .85); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); }
.btn-outline { background: #fff; color: var(--blue); border-color: rgba(0, 110, 180, .35); }
.btn-outline:hover { color: #fff; background: var(--grad-blue); border-color: transparent; }
.btn-link-light { color: #C9D6EA; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 2px; }
.btn-link-light:hover { color: #fff; border-color: var(--gold); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow-light { color: var(--gold-2); }
.lead { font-size: 1.15rem; color: var(--ink); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #AFC0D8; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 20px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; color: inherit; }
.topbar a:hover { color: #fff; }
.topbar-right { display: flex !important; gap: 22px !important; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(10, 31, 60, .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 82px; transition: height .3s var(--ease); }
.scrolled .header-inner { height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.brand img { height: 50px; width: auto; transition: height .3s var(--ease); }
.scrolled .brand img { height: 42px; }
.brand b { display: block; font: 600 20px/1.1 var(--serif); color: var(--navy); }
.brand small { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { position: relative; padding: 10px 16px; border-radius: 999px; color: var(--ink); font-weight: 500; font-size: 15px; }
.main-nav a:not(.btn):hover { color: var(--blue); background: rgba(0, 110, 180, .06); }
.main-nav a.active { color: var(--blue); background: rgba(0, 110, 180, .09); }
.main-nav .nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.social { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); border: 1px solid var(--line); transition: all .25s; }
.social:hover { color: #fff; background: var(--grad-blue); border-color: transparent; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(0, 147, 216, .35), transparent 60%),
    radial-gradient(40% 50% at 70% 95%, rgba(201, 164, 92, .22), transparent 65%),
    radial-gradient(50% 60% at 0% 0%, rgba(0, 110, 180, .35), transparent 60%),
    linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%); }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  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: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 80% at 70% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 80% at 70% 40%, #000 20%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; padding: 110px 24px 150px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 24px; }
.hero h1 .hl { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }
.hero p { color: #C7D3E6; font-size: 1.15rem; max-width: 580px; margin-bottom: 36px; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--gold-2); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }

.hero-visual { position: relative; height: 420px; }
.glass-card, .glass-chip { background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.chart-card { position: absolute; inset: 20px 0 30px 30px; border-radius: 24px; padding: 26px 28px; display: flex; flex-direction: column; }
.chart-head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #D9E3F2; margin-bottom: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: rgba(76, 210, 140, .16); color: #8FF0BC; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: 14px; position: relative; }
.bars i { flex: 1; height: var(--h); border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, var(--sky), var(--blue)); opacity: .9; transform-origin: bottom; animation: grow 1.2s var(--ease) both; }
.bars i:nth-child(2) { animation-delay: .1s } .bars i:nth-child(3) { animation-delay: .2s } .bars i:nth-child(4) { animation-delay: .3s } .bars i:nth-child(5) { animation-delay: .4s } .bars i:nth-child(6) { animation-delay: .5s }
.bars i.gold { background: var(--grad-gold); opacity: 1; }
@keyframes grow { from { transform: scaleY(0); } }
.trendline { position: absolute; left: 28px; right: 28px; bottom: 30px; height: 60%; width: calc(100% - 56px); overflow: visible; pointer-events: none; }
.trendline path { fill: none; stroke: #fff; stroke-width: 2.5; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.6s .7s var(--ease) forwards; filter: drop-shadow(0 4px 10px rgba(255,255,255,.35)); vector-effect: non-scaling-stroke; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.glass-chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px; font-size: 14px; font-weight: 600; color: #fff; animation: float 6s ease-in-out infinite; }
.glass-chip span { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--grad-gold); color: var(--navy); }
.chip-a { left: -30px; bottom: 0; }
.chip-b { right: -16px; top: -6px; animation-delay: -3s; }
.chip-b span { background: var(--grad-blue); color: #fff; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Stats ---------- */
.stats-wrap { position: relative; z-index: 2; margin-top: -72px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 34px 40px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 1px; background: var(--line); }
.stat b { display: block; font: 600 clamp(2.4rem, 4vw, 3.2rem)/1 var(--serif); background: linear-gradient(135deg, var(--navy), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.stat > span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-soft { background: var(--soft); }
.section h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 54px; }
.section-head h2 { margin: 0; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }

/* About */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); }
.about-media::before { content: ""; position: absolute; inset: -18px auto auto -18px; width: 140px; height: 140px; border-radius: 28px; background: var(--grad-gold); opacity: .25; z-index: -1; }
.badge-years { position: absolute; right: -26px; bottom: 34px; max-width: 220px; padding: 20px 22px; border-radius: 20px; background: var(--grad-blue); color: #fff; box-shadow: var(--shadow-lg); }
.badge-years b { display: block; font: 600 2.6rem/1 var(--serif); margin-bottom: 6px; }
.badge-years span { font-size: 13.5px; line-height: 1.45; opacity: .92; }
.about-copy p { color: var(--muted); }
.about-copy .lead { color: var(--ink); }
blockquote { margin: 28px 0; padding: 22px 26px; border-radius: 16px; background: var(--soft); border-left: 4px solid var(--gold); font: 500 1.2rem/1.5 var(--serif); color: var(--navy); }
.values { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.values li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(0, 110, 180, .07); color: var(--blue); font-weight: 600; font-size: 14px; }

/* Cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.svc-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.svc-card:hover { color: var(--ink); transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 31, 60, .55)); }
.svc-card:hover .svc-img img { transform: scale(1.06); }
.svc-num { position: absolute; left: 22px; bottom: 16px; z-index: 1; font: 600 1.6rem/1 var(--serif); color: var(--gold-2); }
.svc-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3, .svc-tile h3 { font-size: 1.35rem; }
.svc-body p, .svc-tile p { color: var(--muted); font-size: 15px; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--blue); margin-top: 8px; }
.more .ico { transition: transform .3s var(--ease); }
a:hover .more .ico, .more:hover .ico { transform: translateX(4px); }

.svc-tile { position: relative; display: flex; flex-direction: column; padding: 34px 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.svc-tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-blue); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.svc-tile:hover { color: var(--ink); transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-tile:hover::before { transform: scaleX(1); }
.tile-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.tile-ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; color: var(--blue); background: rgba(0, 110, 180, .08); transition: all .4s var(--ease); }
.svc-tile:hover .tile-ico { background: var(--grad-blue); color: #fff; transform: rotate(-6deg); }
.tile-n { font: 600 1.4rem/1 var(--serif); color: var(--gold); }

/* Why */
.why { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.why-card { position: relative; padding: 38px 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 30px -20px rgba(10, 31, 60, .2); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-ico { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; background: var(--grad-gold); color: var(--navy); margin-bottom: 26px; box-shadow: 0 12px 24px -12px rgba(201, 164, 92, .9); }
.why-n { position: absolute; right: 28px; top: 26px; font: 600 3rem/1 var(--serif); color: rgba(10, 31, 60, .06); }
.why-card h3 { font-size: 1.3rem; }
.why-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* Contact block */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: stretch; }
.contact-panel { position: relative; overflow: hidden; border-radius: 26px; padding: 48px 44px; color: #C7D3E6; background: radial-gradient(70% 60% at 100% 0%, rgba(0, 147, 216, .35), transparent 60%), radial-gradient(60% 50% at 0% 100%, rgba(201, 164, 92, .2), transparent 60%), linear-gradient(140deg, var(--navy), var(--navy-3)); }
.contact-panel h2 { color: #fff; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list.big { margin-top: 32px; display: grid; gap: 18px; }
.contact-list.big li { display: flex; gap: 16px; align-items: center; color: #fff; }
.contact-list.big li > span { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); color: var(--gold-2); }
.contact-list.big small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #94A7C2; }
.contact-list.big a { color: #fff; font-weight: 600; }
.contact-list.big a:hover { color: var(--gold-2); }
.form-card { background: #fff; border-radius: 26px; padding: 44px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-title { font-size: 1.6rem; margin-bottom: 22px; }

/* Forms */
.form { display: grid; gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field label span, .check em { color: #D0573E; font-style: normal; }
input[type=text], input[type=email], input[type=tel], textarea { width: 100%; font: 400 15px/1.5 var(--sans); color: var(--ink); background: var(--soft); border: 1.5px solid transparent; border-radius: var(--radius-sm); padding: 13px 16px; transition: border-color .2s, background .2s, box-shadow .2s; }
textarea { resize: vertical; min-height: 130px; }
input:focus, textarea:focus { outline: none; background: #fff; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(0, 147, 216, .14); }
.was-validated input:invalid, .was-validated textarea:invalid { border-color: #E07A62; background: #FFF6F3; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.was-validated .check input:invalid + span { color: #C0442A; }
.form-msg { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 500; }
.form-msg.ok { background: #E8F7EE; color: #17643A; }
.form-msg.err { background: #FDEDE8; color: #A63A22; }
.js-form.loading button[type=submit] { opacity: .7; pointer-events: none; }

/* Newsletter */
.newsletter { display: grid; gap: 12px; }
.nl-row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.nl-row input { background: transparent; border: 0; color: #fff; padding: 10px 16px; min-width: 0; flex: 1; }
.nl-row input:focus { box-shadow: none; background: transparent; }
.nl-row input::placeholder { color: #8FA2BD; }
.newsletter-dark .check { color: #9FB0C8; }
.newsletter-dark .check a { color: var(--gold-2); }
.newsletter-light .nl-row { background: var(--soft); border-color: var(--line); flex-direction: column; border-radius: 18px; }
.newsletter-light .nl-row input { color: var(--ink); }
.newsletter-light .nl-row input::placeholder { color: var(--muted); }
.check-sm { font-size: 13px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero .wrap { padding-top: 84px; padding-bottom: 92px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 900px; }
.page-hero .lead { color: #C7D3E6; max-width: 720px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #94A7C2; margin-bottom: 22px; }
.crumbs a { color: #C7D3E6; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs [aria-current] { color: var(--gold-2); }

/* Service detail */
.detail-grid, .blog-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.feature-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 22px; padding: 26px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.feature-list li:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; }
.fl-n { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: var(--grad-blue); color: #fff; font: 600 1.05rem/1 var(--serif); }
.feature-list h3 { font-size: 1.2rem; margin-bottom: 6px; }
.feature-list p { color: var(--muted); margin: 0; font-size: 15px; }
.detail-side { position: sticky; top: 100px; display: grid; gap: 22px; }
.side-card { padding: 28px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.side-card h4 { font-size: 1.2rem; margin-bottom: 14px; }
.side-card p { color: var(--muted); font-size: 14.5px; }
.side-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--ink); font-size: 14.5px; font-weight: 500; line-height: 1.35; }
.side-nav a .ico { color: var(--blue); }
.side-nav a:hover { background: #fff; color: var(--blue); }
.side-nav a.active { background: #fff; color: var(--blue); box-shadow: 0 6px 18px -12px rgba(10, 31, 60, .35); }
.side-contact { background: radial-gradient(80% 60% at 100% 0%, rgba(0, 147, 216, .35), transparent 60%), linear-gradient(140deg, var(--navy), var(--navy-3)); border: 0; }
.side-contact h4 { color: #fff; }
.side-contact p { color: #C7D3E6; }
.side-line { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; margin-bottom: 12px; }
.side-line .ico { color: var(--gold-2); }
.side-line:hover { color: var(--gold-2); }
.side-contact .btn { margin-top: 8px; }

/* Blog */
.posts { display: grid; gap: 24px; }
.post-card { padding: 36px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card h2 { font-size: 1.6rem; margin: 14px 0 10px; }
.post-card h2 a { color: var(--navy); }
.post-card h2 a:hover { color: var(--blue); }
.post-card p { color: var(--muted); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); }
.post-meta time { display: inline-flex; align-items: center; gap: 6px; }
.tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(201, 164, 92, .16); color: #8A6A2B; font-weight: 600; font-size: 12.5px; }

/* Prose (blog articles + legal) */
.prose { font-size: 16.5px; color: #2C3646; max-width: 820px; }
.prose.legal { margin: 0 auto; }
.prose h2 { font-size: 1.7rem; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose .post-meta { margin-bottom: 26px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--blue); font-weight: 600; }
.prose a { text-decoration: underline; text-decoration-color: rgba(0, 110, 180, .35); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; border-radius: 12px; overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--soft); color: var(--navy); }
.prose .callout { margin-top: 2em; padding: 18px 22px; border-radius: 14px; background: rgba(0, 110, 180, .07); border-left: 4px solid var(--blue); font-weight: 500; }
.back { display: inline-flex; gap: 8px; margin-top: 30px; font-weight: 600; text-decoration: none !important; }

/* CTA band */
.cta-band { padding: 0 0 110px; }
.cta-card { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 56px 60px; border-radius: 30px; color: #C7D3E6; position: relative; overflow: hidden; background: radial-gradient(60% 90% at 100% 0%, rgba(0, 147, 216, .45), transparent 60%), radial-gradient(50% 80% at 0% 100%, rgba(201, 164, 92, .25), transparent 60%), linear-gradient(130deg, var(--navy), var(--navy-3)); box-shadow: var(--shadow-lg); }
.cta-card h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.cta-card p { margin: 0; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: #071629; color: #93A3BA; font-size: 14.5px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 147, 216, .18), transparent 65%); }
.footer-top { position: relative; display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 70px; padding: 80px 0 56px; }
.footer-news h3 { color: #fff; font-size: 1.8rem; }
.footer-news p { margin-bottom: 22px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.site-footer h4 { color: #fff; font: 600 15px/1.3 var(--sans); margin-bottom: 16px; letter-spacing: .02em; }
.site-footer h4.mt { margin-top: 28px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #C3CFDF; }
.site-footer a:hover { color: var(--gold-2); }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .ico { color: var(--gold); }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: all .25s; }
.socials a:hover { background: var(--grad-blue); color: #fff; border-color: transparent; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 0 30px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.footer-bottom p { margin: 0; }
.brand-light b { color: #fff; font-size: 17px; }
.brand-light img { height: 38px; }

/* Cookie banner */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 80; max-width: 440px; padding: 22px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: 14px; color: var(--muted); animation: up .5s var(--ease); }
.cookie p { margin-bottom: 16px; }
.cookie strong { color: var(--navy); }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
@keyframes up { from { opacity: 0; transform: translateY(20px); } }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-blue); color: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none; transition: all .35s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: #fff; transform: translateY(-3px); }

/* 404 */
.hero-404 .wrap { padding-top: 120px; padding-bottom: 140px; }
.hero-404 .lead { margin-bottom: 34px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .trendline path { stroke-dashoffset: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .header-actions .social, .header-actions .btn { display: none; }
  .burger { display: flex; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); flex-direction: column; align-items: stretch; gap: 4px; padding: 100px 24px 30px; background: #fff; transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s; z-index: -1; }
  .nav-open .main-nav { transform: none; visibility: visible; box-shadow: -20px 0 60px rgba(10, 31, 60, .2); }
  .main-nav a { padding: 14px 18px; font-size: 17px; }
  .main-nav .nav-cta { display: inline-flex; margin-top: 16px; }
  .nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(10, 31, 60, .4); z-index: 40; }
  .site-header { z-index: 60; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 130px; }
  .hero-visual { height: 340px; max-width: 520px; width: 100%; margin: 0 auto; }
  .about-grid, .contact-grid, .detail-grid, .blog-grid, .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .about-media { max-width: 520px; }
  .detail-side { position: static; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .cta-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .topbar .wrap > span:first-child { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar-right { gap: 16px !important; font-size: 12.5px; }
  .header-inner { height: 70px; }
  .brand img { height: 42px; }
  .brand b { font-size: 17px; }
  .brand small { display: none; }
  .hero-grid { padding: 64px 16px 120px; gap: 40px; }
  .hero-visual { height: 280px; }
  .chart-card { inset: 10px 0 30px 10px; padding: 20px; }
  .chip-a { left: 0; bottom: 0; } .chip-b { right: 0; top: -14px; }
  .glass-chip { font-size: 12.5px; padding: 8px 12px 8px 8px; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 24px 28px; display: flex; align-items: baseline; gap: 16px; }
  .stat b { margin: 0; min-width: 110px; }
  .stat + .stat::before { left: 28px; right: 28px; top: 0; bottom: auto; width: auto; height: 1px; }
  .section { padding: 76px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 36px; }
  .cards-3, .grid-2, .footer-cols { grid-template-columns: 1fr; }
  .badge-years { right: 12px; bottom: 12px; padding: 14px 16px; }
  .badge-years b { font-size: 2rem; }
  .contact-panel, .form-card { padding: 30px 22px; border-radius: 22px; }
  .cta-band { padding-bottom: 76px; }
  .cta-card { padding: 36px 24px; border-radius: 24px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .feature-list li { padding: 20px; gap: 16px; flex-direction: column; }
  .page-hero .wrap { padding-top: 56px; padding-bottom: 64px; }
  .post-card { padding: 26px 22px; }
  .nl-row { flex-direction: column; border-radius: 18px; }
  .nl-row .btn { width: 100%; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .footer-top { padding-top: 60px; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
