/* ==========================================================
   Finterra Cuanex Mandiri — company profile
   Palet diambil dari logo: biru #17589A + slate #304653
   ========================================================== */
:root{
  --blue:#17589A;
  --blue-d:#104679;
  --blue-t:#E7EFF7;
  --harbour:#0C2440;
  --harbour-2:#123257;
  --slate:#304653;
  --ink:#1C2B35;
  --muted:#5B6D79;
  --paper:#F4F7FA;
  --white:#FFFFFF;
  --line:#D9E2EB;
  --line-d:rgba(255,255,255,.14);
  --sky:#7FB2E5;
  --wa:#1FA855;

  --f-display:"Archivo",system-ui,sans-serif;
  --f-body:"Plus Jakarta Sans",system-ui,sans-serif;

  --wrap:1200px;
  --gut:clamp(20px,4vw,40px);
  --r-s:6px;
  --r-m:12px;
  --ease:cubic-bezier(.2,.7,.2,1);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body.fc{margin:0;font-family:var(--f-body);font-size:17px;line-height:1.65;color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased}
.fc img{max-width:100%;display:block}
.fc a{color:inherit}
.fc :focus-visible{outline:3px solid var(--sky);outline-offset:3px;border-radius:4px}
.fc .wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gut)}
.fc .skip{position:absolute;left:-999px;top:8px;background:var(--white);padding:8px 14px;z-index:100;border-radius:var(--r-s)}
.fc .skip:focus{left:8px}

/* ── Type ───────────────────────────────────────────── */
.fc h1,.fc h2,.fc h3{font-family:var(--f-display);font-stretch:118%;color:var(--harbour);margin:0;letter-spacing:-.01em}
.fc .d1{font-size:clamp(40px,6.4vw,82px);line-height:1.02;font-weight:800}
.fc .d2{font-size:clamp(30px,4vw,50px);line-height:1.08;font-weight:800}
.fc .d3{font-size:clamp(20px,2vw,24px);line-height:1.25;font-weight:700}
.fc .lead{font-size:clamp(17px,1.5vw,20px);line-height:1.6;color:var(--muted);max-width:60ch}
.fc p{margin:0 0 1em;max-width:68ch}

/* ── Buttons ────────────────────────────────────────── */
.fc .btn{display:inline-flex;align-items:center;gap:10px;font:600 16px/1 var(--f-body);padding:16px 24px;border-radius:999px;text-decoration:none;border:2px solid transparent;cursor:pointer;transition:background .25s var(--ease),color .25s var(--ease),border-color .25s var(--ease),transform .25s var(--ease)}
.fc .btn i{font-size:18px}
.fc .btn:active{transform:scale(.98)}
.fc .btn-wa{background:var(--blue);color:var(--white)}
.fc .btn-wa:hover{background:var(--blue-d)}
.fc .btn-line{border-color:var(--line);color:var(--harbour);background:var(--white)}
.fc .btn-line:hover{border-color:var(--blue);color:var(--blue)}
.fc .on-dark .btn-line{background:transparent;color:var(--white);border-color:var(--line-d)}
.fc .on-dark .btn-line:hover{border-color:var(--white)}
.fc .btn-white{background:var(--white);color:var(--harbour)}
.fc .btn-white:hover{background:var(--blue-t)}
.fc .textlink{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--blue);text-decoration:none;background:linear-gradient(currentColor,currentColor) 0 100%/0 2px no-repeat;padding-bottom:2px;transition:background-size .35s var(--ease)}
.fc .textlink:hover{background-size:100% 2px}
.fc .textlink i{transition:transform .35s var(--ease)}
.fc .textlink:hover i{transform:translateX(4px)}

/* ── Nav ────────────────────────────────────────────── */
.fc .nav{position:sticky;top:0;z-index:50;background:rgba(244,247,250,.86);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid transparent;transition:border-color .3s,background .3s}
.fc .nav.scrolled{border-bottom-color:var(--line);background:rgba(255,255,255,.94)}
.fc .nav-in{display:flex;align-items:center;justify-content:space-between;height:84px;transition:height .3s var(--ease)}
.fc .nav.scrolled .nav-in{height:68px}
.fc .brand{display:flex;align-items:center;text-decoration:none}
.fc .brand img{height:46px;width:auto;transition:height .3s var(--ease)}
.fc .nav.scrolled .brand img{height:38px}
.fc .menu{display:flex;align-items:center;gap:6px;list-style:none;margin:0;padding:0}
.fc .menu a{position:relative;display:block;padding:10px 16px;font-weight:600;font-size:15px;color:var(--slate);text-decoration:none;border-radius:999px;transition:color .2s}
.fc .menu a::after{content:"";position:absolute;left:16px;right:16px;bottom:4px;height:2px;background:var(--blue);transform:scaleX(0);transform-origin:left;transition:transform .35s var(--ease)}
.fc .menu a:hover{color:var(--blue)}
.fc .menu a:hover::after,.fc .menu a[aria-current="page"]::after{transform:scaleX(1)}
.fc .menu a[aria-current="page"]{color:var(--blue)}
.fc .nav .btn{padding:12px 20px;font-size:15px}
.fc .burger{display:none;width:44px;height:44px;border:0;background:transparent;border-radius:50%;cursor:pointer;color:var(--harbour);font-size:26px}
.fc .drawer{display:none}

@media (max-width:860px){
  .fc .menu,.fc .nav .btn-wa{display:none}
  .fc .burger{display:grid;place-items:center}
  .fc .brand img{height:38px}
  .fc .nav-in{height:68px}
  .fc .drawer{display:block;position:fixed;inset:68px 0 0;background:var(--white);padding:24px var(--gut) 40px;transform:translateY(-8px);opacity:0;visibility:hidden;transition:opacity .25s,transform .25s var(--ease),visibility .25s;z-index:49}
  .fc .drawer.open{opacity:1;transform:none;visibility:visible}
  .fc .drawer a.dl{display:block;padding:18px 0;font:700 24px/1.2 var(--f-display);font-stretch:118%;color:var(--harbour);text-decoration:none;border-bottom:1px solid var(--line)}
  .fc .drawer a.dl[aria-current="page"]{color:var(--blue)}
  .fc .drawer .btn{margin-top:28px;width:100%;justify-content:center}
  .fc .phead .ph-arc{right:-46%;opacity:.35}
}

/* ── Hero (home) ────────────────────────────────────── */
.fc .hero{position:relative;overflow:hidden;padding:clamp(48px,7vw,96px) 0 clamp(56px,7vw,96px)}
.fc .hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:clamp(24px,4vw,64px);align-items:center}
.fc .hero-co{display:flex;align-items:center;gap:12px;font-weight:600;font-size:15px;color:var(--slate);margin-bottom:28px}
.fc .hero-co span{display:inline-block;width:36px;height:2px;background:var(--blue)}
.fc .hero h1 .ln{display:block;overflow:hidden;padding-bottom:.06em}
.fc .hero h1 .ln>span{display:block}
.fc .hero .lead{margin:28px 0 36px}
.fc .hero-act{display:flex;flex-wrap:wrap;gap:12px}
.fc .hero-meta{display:flex;flex-wrap:wrap;gap:28px;margin-top:44px;padding-top:24px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
.fc .hero-meta b{display:block;font-family:var(--f-display);font-stretch:118%;font-size:17px;color:var(--harbour)}

/* Arc chart (elemen khas) */
.fc .arc{position:relative;width:100%;max-width:540px;margin-left:auto;aspect-ratio:1}
.fc .arc svg{width:100%;height:100%;overflow:visible}
.fc .arc .ring{fill:none;stroke:var(--blue);stroke-width:34;stroke-linecap:butt}
.fc .arc .ring-in{fill:none;stroke:var(--blue);stroke-width:2;opacity:.22}
.fc .arc .grid line{stroke:var(--line);stroke-width:1}
.fc .arc .price{fill:none;stroke:var(--harbour);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.fc .arc .area{fill:url(#fcArea)}
.fc .arc .tip{fill:var(--blue)}
.fc .arc .tip-halo{fill:var(--blue);opacity:.18;transform-box:fill-box;transform-origin:center;animation:halo 2.4s ease-out infinite}
.fc .arc .lvl{stroke:var(--blue);stroke-width:1.5;stroke-dasharray:5 6;opacity:0}
.fc .arc .tag{font:600 13px var(--f-body);fill:var(--slate);opacity:0}
.fc .arc .tag-b{fill:var(--white)}
.fc .arc .chip{fill:var(--white);stroke:var(--line)}
.fc .arc .chip-b{fill:var(--blue)}
@keyframes halo{0%{transform:scale(.6);opacity:.35}100%{transform:scale(2.6);opacity:0}}

/* ── Ticker ─────────────────────────────────────────── */
.fc .ticker{background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line);min-height:46px}
.fc .ticker .tradingview-widget-container{max-width:none}

/* ── Sections ───────────────────────────────────────── */
.fc .sec{padding:clamp(72px,9vw,128px) 0}
.fc .sec-white{background:var(--white)}
.fc .sec-head{max-width:720px;margin-bottom:clamp(36px,5vw,64px)}
.fc .sec-head .lead{margin-top:18px}

/* Keunggulan: kolom judul lengket + daftar bergaris */
.fc .split{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(32px,6vw,96px);align-items:start}
.fc .split .sticky{position:sticky;top:120px}
.fc .adv{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.fc .adv li{display:grid;grid-template-columns:56px 1fr;gap:20px;padding:28px 0;border-bottom:1px solid var(--line)}
.fc .adv .ic{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:var(--blue-t);color:var(--blue);font-size:24px;transition:background .3s,color .3s}
.fc .adv li:hover .ic{background:var(--blue);color:var(--white)}
.fc .adv h3{margin-bottom:6px}
.fc .adv p{margin:0;color:var(--muted)}

/* Layanan (latar gelap) */
.fc .on-dark{background:var(--harbour);color:#D3DFEA}
.fc .on-dark h1,.fc .on-dark h2,.fc .on-dark h3{color:var(--white)}
.fc .on-dark .lead{color:#AFC3D6}
.fc .svc-cols{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line-d)}
.fc .svc-cols article{padding:36px 32px 40px 0;border-right:1px solid var(--line-d)}
.fc .svc-cols article+article{padding-left:32px}
.fc .svc-cols article:last-child{border-right:0}
.fc .svc-cols .ic{font-size:34px;color:var(--sky);margin-bottom:28px;display:block}
.fc .svc-cols h3{margin-bottom:12px}
.fc .svc-cols p{color:#AFC3D6;margin-bottom:24px}
.fc .on-dark .textlink{color:var(--sky)}
.fc .sec-foot{display:flex;justify-content:space-between;align-items:end;gap:24px;flex-wrap:wrap}

/* Pernyataan visi */
.fc .statement{position:relative;overflow:hidden}
.fc .statement blockquote{margin:0;font-family:var(--f-display);font-stretch:112%;font-weight:600;font-size:clamp(26px,3.4vw,44px);line-height:1.22;color:var(--harbour);max-width:24ch}
.fc .statement .who{margin-top:28px;display:flex;align-items:center;gap:14px;font-weight:600;color:var(--slate)}
.fc .statement .who img{width:44px;height:auto}
.fc .statement .bg-arc{position:absolute;right:-180px;top:50%;width:620px;height:620px;transform:translateY(-50%);pointer-events:none}
.fc .statement .bg-arc circle{fill:none;stroke:var(--blue-t);stroke-width:60}

/* CTA */
.fc .cta{background:var(--blue);color:var(--white);border-radius:var(--r-m);padding:clamp(36px,5vw,64px);display:grid;grid-template-columns:1.3fr .7fr;gap:32px;align-items:center;position:relative;overflow:hidden}
.fc .cta h2{color:var(--white)}
.fc .cta p{color:#D6E6F5;margin:16px 0 0}
.fc .cta-act{display:flex;flex-direction:column;gap:12px;align-items:flex-start;position:relative;z-index:1}
.fc .cta-act .small{font-size:15px;color:#D6E6F5}
.fc .cta-act .small a{color:var(--white);font-weight:600}
.fc .cta .cta-ring{position:absolute;right:-90px;bottom:-140px;width:360px;height:360px;border-radius:50%;border:44px solid rgba(255,255,255,.08)}

/* ── Page header (produk / tentang) ─────────────────── */
.fc .phead{position:relative;overflow:hidden;background:var(--harbour);color:#D3DFEA;padding:clamp(64px,8vw,112px) 0 clamp(56px,7vw,96px)}
.fc .phead h1{color:var(--white);max-width:16ch}
.fc .phead .lead{color:#AFC3D6;margin-top:24px}
.fc .phead .ph-arc{position:absolute;right:-120px;top:50%;width:min(560px,70vw);transform:translateY(-50%);opacity:.9}
.fc .phead .ph-arc circle{fill:none;stroke:var(--harbour-2);stroke-width:46}
.fc .phead .ph-arc .draw{stroke:var(--blue)}
.fc .crumb{font-size:14px;margin-bottom:28px;color:#8FA8C0}
.fc .crumb a{color:#8FA8C0;text-decoration:none}
.fc .crumb a:hover{color:var(--white)}

/* Produk: baris layanan */
.fc .svc-rows{border-top:1px solid var(--line)}
.fc .svc-row{display:grid;grid-template-columns:88px 1fr 1fr;gap:clamp(20px,4vw,56px);padding:clamp(36px,5vw,56px) 0;border-bottom:1px solid var(--line);align-items:start}
.fc .svc-row .ic{width:88px;height:88px;border-radius:50%;display:grid;place-items:center;background:var(--blue-t);color:var(--blue);font-size:36px}
.fc .svc-row h2{font-size:clamp(24px,2.6vw,32px);font-weight:800;line-height:1.15;margin-bottom:14px}
.fc .svc-row p{color:var(--muted);margin:0}
.fc .checks{list-style:none;margin:0;padding:0}
.fc .checks li{position:relative;padding:12px 0 12px 34px;border-bottom:1px solid var(--line)}
.fc .checks li:first-child{padding-top:0}
.fc .checks li:first-child::before{top:2px}
.fc .checks li::before{content:"\F26E";font-family:"bootstrap-icons";position:absolute;left:0;top:14px;color:var(--blue);font-size:20px;line-height:1}

/* Produk: langkah (berurutan) */
.fc .steps{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:28px;list-style:none;margin:0;padding:0;counter-reset:st}
.fc .steps::before{content:"";position:absolute;left:0;right:0;top:27px;height:2px;background:var(--line)}
.fc .steps::after{content:"";position:absolute;left:0;right:0;top:27px;height:2px;background:var(--blue);transform:scaleX(0);transform-origin:left;transition:transform 1.6s var(--ease)}
.fc .steps.in::after{transform:scaleX(1)}
.fc .steps li{position:relative;counter-increment:st}
.fc .steps li::before{content:counter(st);display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--white);border:2px solid var(--line);font:800 20px var(--f-display);font-stretch:118%;color:var(--slate);margin-bottom:22px;position:relative;z-index:1;transition:background .4s,border-color .4s,color .4s}
.fc .steps.in li::before{background:var(--blue);border-color:var(--blue);color:var(--white)}
.fc .steps.in li:nth-child(2)::before{transition-delay:.4s}
.fc .steps.in li:nth-child(3)::before{transition-delay:.8s}
.fc .steps.in li:nth-child(4)::before{transition-delay:1.2s}
.fc .steps h3{margin-bottom:8px}
.fc .steps p{color:var(--muted);margin:0;font-size:16px}

/* Tentang */
.fc .prose p{font-size:18px;line-height:1.75;color:#33444F}
.fc .facts{background:var(--white);border:1px solid var(--line);border-radius:var(--r-m);padding:8px 28px}
.fc .facts dl{margin:0}
.fc .facts div{display:grid;grid-template-columns:1fr;padding:18px 0;border-bottom:1px solid var(--line)}
.fc .facts div:last-child{border-bottom:0}
.fc .facts dt{font-size:14px;color:var(--muted)}
.fc .facts dd{margin:2px 0 0;font-weight:600;color:var(--harbour);white-space:pre-line}
.fc .facts dd a{color:var(--blue);text-decoration:none}
.fc .vision{display:grid;grid-template-columns:auto 1fr;gap:clamp(24px,4vw,56px);align-items:start}
.fc .vision .mark{width:clamp(72px,9vw,120px)}
.fc .missions{list-style:none;margin:0;padding:0;counter-reset:mi;border-top:1px solid var(--line)}
.fc .missions li{counter-increment:mi;display:grid;grid-template-columns:64px 1fr;gap:16px;padding:28px 0;border-bottom:1px solid var(--line);font-size:18px}
.fc .missions li::before{content:counter(mi);font:800 34px/1 var(--f-display);font-stretch:118%;color:var(--blue)}
.fc .goal{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,6vw,96px);align-items:start}
.fc .motto{font-family:var(--f-display);font-stretch:118%;font-weight:800;font-size:clamp(34px,4.6vw,60px);line-height:1.04;color:var(--blue);margin:0}
.fc .about-img{border-radius:var(--r-m);overflow:hidden;margin-top:32px}
.fc .about-img img{width:100%;height:auto}

/* Kantor */
.fc .office{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid var(--line)}
.fc .office>div{padding:28px 28px 28px 0;border-right:1px solid var(--line)}
.fc .office>div+div{padding-left:28px}
.fc .office>div:last-child{border-right:0}
.fc .office i{font-size:24px;color:var(--blue);display:block;margin-bottom:14px}
.fc .office h3{font-size:18px;margin-bottom:8px}
.fc .office p{margin:0;color:var(--muted);white-space:pre-line}
.fc .office a{color:var(--blue);font-weight:600;text-decoration:none}

/* ── Footer ─────────────────────────────────────────── */
.fc .foot{background:var(--harbour);color:#9FB4C7;padding:72px 0 32px;font-size:15px}
.fc .foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:48px;padding-bottom:48px;border-bottom:1px solid var(--line-d)}
.fc .foot img.flogo{height:52px;width:auto;margin-bottom:20px}
.fc .foot h4{font:700 15px var(--f-body);color:var(--white);margin:0 0 16px}
.fc .foot ul{list-style:none;margin:0;padding:0}
.fc .foot li{margin-bottom:10px}
.fc .foot a{color:#C7D6E4;text-decoration:none}
.fc .foot a:hover{color:var(--white)}
.fc .foot address{font-style:normal;white-space:pre-line}
.fc .risk{margin-top:28px;padding:18px 20px;border:1px solid var(--line-d);border-radius:var(--r-s);font-size:14px;line-height:1.6;color:#AFC3D6}
.fc .risk b{color:var(--white)}
.fc .legal{font-size:14px;color:#C7D6E4;margin-top:12px;white-space:pre-line}
.fc .copy{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:24px;font-size:13px;color:#7E97AE}

/* Floating WA */
.fc .wa-float{position:fixed;right:20px;bottom:20px;z-index:60;width:58px;height:58px;border-radius:50%;background:var(--wa);color:#fff;display:grid;place-items:center;font-size:28px;text-decoration:none;box-shadow:0 10px 24px rgba(12,36,64,.25);transform:scale(.6);opacity:0;transition:transform .4s var(--ease),opacity .4s}
.fc .wa-float.show{transform:none;opacity:1}
.fc .wa-float:hover{background:#178A45}

/* ── Animasi masuk (dipicu JS; tanpa JS konten tetap tampil) ── */
.js .fc [data-reveal]{opacity:0;transform:translateY(22px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.js .fc [data-reveal].in{opacity:1;transform:none}
.js .fc [data-reveal="2"]{transition-delay:.12s}
.js .fc [data-reveal="3"]{transition-delay:.24s}
.js .fc [data-reveal="4"]{transition-delay:.36s}

/* Hero sequence */
.js .fc .hero .ln>span{transform:translateY(105%);transition:transform 1s var(--ease)}
.js .fc .hero.go .ln>span{transform:none}
.js .fc .hero.go .ln:nth-child(2)>span{transition-delay:.12s}
.js .fc .hero.go .ln:nth-child(3)>span{transition-delay:.24s}
.js .fc .hero.go .ln:nth-child(4)>span{transition-delay:.36s}
.js .fc .hero .fade{opacity:0;transform:translateY(14px);transition:opacity .8s var(--ease) .5s,transform .8s var(--ease) .5s}
.js .fc .hero .fade.f2{transition-delay:.65s}
.js .fc .hero .fade.f3{transition-delay:.8s}
.js .fc .hero.go .fade{opacity:1;transform:none}

@media (max-width:980px){
  .fc .hero-grid,.fc .split,.fc .goal,.fc .cta{grid-template-columns:1fr}
  .fc .arc{max-width:420px;margin:8px auto 0}
  .fc .split .sticky{position:static}
  .fc .svc-cols{grid-template-columns:1fr}
  .fc .svc-cols article,.fc .svc-cols article+article{padding:32px 0;border-right:0;border-bottom:1px solid var(--line-d)}
  .fc .svc-row{grid-template-columns:64px 1fr}
  .fc .svc-row .ic{width:64px;height:64px;font-size:28px}
  .fc .svc-row .checks{grid-column:2}
  .fc .steps{grid-template-columns:1fr 1fr;row-gap:40px}
  .fc .steps::before,.fc .steps::after{display:none}
  .fc .foot-grid{grid-template-columns:1fr 1fr}
  .fc .foot-grid>div:first-child{grid-column:1/-1}
  .fc .office{grid-template-columns:1fr}
  .fc .office>div,.fc .office>div+div{padding:24px 0;border-right:0;border-bottom:1px solid var(--line)}
}
@media (max-width:560px){
  body.fc{font-size:16px}
  .fc .steps{grid-template-columns:1fr}
  .fc .foot-grid{grid-template-columns:1fr}
  .fc .hero-act .btn{width:100%;justify-content:center}
  .fc .svc-row{grid-template-columns:1fr}
  .fc .svc-row .checks{grid-column:auto}
  .fc .vision{grid-template-columns:1fr}
  .fc .missions li{grid-template-columns:44px 1fr}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .fc *,.fc *::before,.fc *::after{animation:none!important;transition:none!important}
  .js .fc [data-reveal],.js .fc .hero .ln>span,.js .fc .hero .fade{opacity:1!important;transform:none!important}
}
