/* ==========================================================
   YAYASAN PINTAR INOVASI NUSANTARA — CLEAN V3
   One source of truth for colors/layout. Mobile-first.
   ========================================================== */

:root {
  --blue: #073b8f;
  --blue-dark: #03245c;
  --blue-soft: #eaf2ff;
  --green: #0a9b45;
  --green-dark: #067335;
  --green-soft: #e9f8ef;
  --white: #fff;
  --ink: #14213a;
  --muted: #667085;
  --line: #e3e8ef;
  --surface: #f7faff;
  --gold: #f5ad00;
  --shadow: 0 24px 70px rgba(7,59,143,.12);
  --radius: 22px;
  --container: 1180px;
}

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

html{
  scroll-behavior:smooth;
  scroll-padding-top:82px;
}

body{
  margin:0;
  color:var(--ink);
  background:var(--white);
  font-family:"Poppins",sans-serif;
  font-size:15px;
  line-height:1.7;
  overflow-x:hidden;
}

img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit}
ul{margin:0;padding:0}

:focus-visible{
  outline:3px solid var(--gold);
  outline-offset:4px;
}

.container{
  width:min(100% - 32px,var(--container));
  margin-inline:auto;
}

.section{padding:clamp(70px,9vw,110px) 0}
.section-light{background:var(--surface)}

.skip-link{
  position:fixed;
  top:10px;
  left:10px;
  z-index:9999;
  padding:10px 14px;
  color:var(--white);
  background:var(--blue-dark);
  border-radius:8px;
  transform:translateY(-150%);
}
.skip-link:focus{transform:translateY(0)}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:12px;
  color:var(--green-dark);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.eyebrow-light{color:#9ee9ba}

.section-heading{
  max-width:790px;
  margin-bottom:40px;
}
.section-heading-center{
  margin-inline:auto;
  text-align:center;
}
.section-heading h2,
.vision-grid h2,
.ecosystem-grid h2,
.commitment-inner h2{
  margin:0 0 15px;
  color:var(--blue-dark);
  font-size:clamp(1.9rem,6vw,3.25rem);
  line-height:1.13;
  letter-spacing:-.045em;
}
.section-heading p,.body-copy{margin:0;color:var(--muted)}


/* HEADER + NAVIGATION */

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(16px);
}

.header-inner{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.brand{
  min-width:0;
  display:inline-flex;
  align-items:center;
  gap:9px;
}
.brand-logo{
  width:clamp(42px,10vw,52px);
  height:clamp(42px,10vw,52px);
  object-fit:contain;
  flex:0 0 auto;
}
.brand-name{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.brand-name strong{
  color:var(--blue-dark);
  font-size:clamp(.68rem,2vw,.82rem);
  letter-spacing:.04em;
}
.brand-name small{
  color:var(--green-dark);
  font-size:clamp(.5rem,1.6vw,.62rem);
  font-weight:800;
  letter-spacing:.09em;
}

.nav-toggle{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  color:var(--blue);
  background:var(--white);
  border:1px solid var(--line);
  border-radius:12px;
  cursor:pointer;
  font-size:1.45rem;
}

.primary-nav{
  position:absolute;
  inset:72px 16px auto;
  display:none;
  flex-direction:column;
  gap:3px;
  padding:12px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:var(--shadow);
}
.primary-nav.is-open{display:flex}

.nav-link{
  min-height:46px;
  display:flex;
  align-items:center;
  padding:0 14px;
  color:var(--muted);
  font-size:.82rem;
  font-weight:600;
  border-radius:10px;
}
.nav-link:hover,.nav-link.active{
  color:var(--blue);
  background:var(--blue-soft);
}


/* HERO */

.hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 88% 15%,rgba(10,155,69,.12),transparent 27%),
    radial-gradient(circle at 5% 90%,rgba(7,59,143,.08),transparent 32%),
    linear-gradient(180deg,#fff 0%,#f7fbff 100%);
}
.hero-grid{
  display:grid;
  gap:46px;
  align-items:center;
}
.hero-content h1{
  max-width:860px;
  margin:0 0 20px;
  color:var(--blue-dark);
  font-size:clamp(2.35rem,10vw,5.7rem);
  line-height:1.01;
  letter-spacing:-.06em;
}
.hero-text{
  max-width:720px;
  margin:0 0 28px;
  color:var(--muted);
  font-size:clamp(.92rem,2.5vw,1.05rem);
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.button{
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 19px;
  border:1px solid transparent;
  border-radius:12px;
  font-size:.84rem;
  font-weight:700;
  transition:transform .2s ease,box-shadow .2s ease;
}
.button:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(7,59,143,.13)}
.button-primary{color:var(--white);background:var(--blue)}
.button-light{color:var(--blue);background:var(--white);border-color:var(--line)}

.hero-facts{
  display:flex;
  flex-wrap:wrap;
  gap:10px 17px;
  margin-top:24px;
  list-style:none;
  color:var(--muted);
  font-size:.7rem;
  font-weight:600;
}
.hero-facts li{display:inline-flex;align-items:center;gap:6px}
.hero-facts i{color:var(--green)}

.hero-media{
  min-width:0;
  display:grid;
  place-items:center;
}
.hero-image-frame{
  position:relative;
  width:min(100%,620px);
  overflow:hidden;
  border:1px solid rgba(7,59,143,.12);
  border-radius:clamp(20px,4vw,34px);
  background:var(--white);
  box-shadow:var(--shadow);
}
.hero-image-frame::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(135deg,rgba(7,59,143,.06),transparent 45%,rgba(10,155,69,.08));
}
.hero-image{
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
}
.hero-image-label{
  position:absolute;
  top:14px;
  left:14px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 11px;
  color:var(--blue-dark);
  background:rgba(255,255,255,.92);
  border:1px solid rgba(7,59,143,.1);
  border-radius:999px;
  font-size:.65rem;
  font-weight:700;
  box-shadow:0 8px 22px rgba(7,59,143,.1);
}

/* CONTENT CARDS */

.about-grid,.program-grid,.values-grid,.impact-grid,.flow,.about-list{
  display:grid;
  gap:18px;
}

.feature-panel,.info-card,.program-card,.value-card,.impact-grid article,.flow>div{
  border:1px solid var(--line);
  background:var(--white);
  border-radius:var(--radius);
}

.feature-panel{padding:clamp(25px,5vw,42px)}
.icon-badge,.program-icon{
  width:52px;height:52px;
  display:grid;place-items:center;
  color:var(--blue);
  background:var(--blue-soft);
  border-radius:14px;
  font-size:1.3rem;
}
.feature-panel h3,.info-card h3,.program-card h3,.value-card h3,.impact-grid h3{
  margin:18px 0 0;
  color:var(--blue-dark);
  line-height:1.3;
}
.feature-panel p,.info-card p,.program-card p,.value-card p,.impact-grid p{
  margin:9px 0 0;
  color:var(--muted);
}
.info-card{display:flex;gap:15px;padding:20px}
.info-card>i{flex:0 0 auto;color:var(--green);font-size:1.35rem}


/* PROGRAM */

.program-card{
  position:relative;
  min-width:0;
  padding:clamp(24px,4vw,30px);
  box-shadow:0 10px 35px rgba(7,59,143,.04);
}
.program-card-featured{
  background:var(--blue);
  border-color:var(--blue);
}
.program-card-featured h3,.program-card-featured p,.program-card-featured li{color:var(--white)}
.program-card-featured .program-icon{color:var(--white);background:var(--green)}
.program-index{
  position:absolute;
  top:20px;right:22px;
  color:var(--green);
  font-size:.72rem;font-weight:800;
}
.program-card h3{padding-right:45px;font-size:1.18rem}
.program-card ul{display:grid;gap:6px;margin-top:18px;list-style:none}
.program-card li{position:relative;padding-left:20px;color:var(--muted);font-size:.8rem}
.program-card li::before{
  content:"✓";
  position:absolute;left:0;
  color:var(--green);font-weight:800;
}
.program-card-featured li::before{color:#8ce6ae}
/* ECOSYSTEM PATHWAY */

.ecosystem-path{
  position:relative;
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin-top:28px;
}
.path-step{
  position:relative;
  min-width:0;
  min-height:108px;
  display:grid;
  grid-template-columns:auto auto 1fr;
  grid-template-rows:auto auto;
  align-items:center;
  column-gap:13px;
  padding:17px;
  overflow:hidden;
  color:var(--white);
  border-radius:18px;
  box-shadow:0 15px 35px rgba(7,59,143,.09);
}
.path-step::after{
  content:"";
  position:absolute;
  width:90px;
  height:90px;
  right:-30px;
  bottom:-45px;
  border:18px solid rgba(255,255,255,.08);
  border-radius:50%;
}
.path-number{
  grid-row:1 / 3;
  color:rgba(255,255,255,.58);
  font-size:.66rem;
  font-weight:800;
}
.path-icon{
  grid-row:1 / 3;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.18);
  border-radius:13px;
  font-size:1.1rem;
}
.path-step strong{
  align-self:end;
  font-size:1rem;
  line-height:1.25;
}
.path-step small{
  align-self:start;
  color:rgba(255,255,255,.72);
  font-size:.63rem;
}
.path-arrow{
  display:grid;
  place-items:center;
  color:var(--green);
  font-size:1.1rem;
  transform:rotate(90deg);
}
.path-digital{background:linear-gradient(135deg,#073b8f,#0b5bb7)}
.path-business{background:linear-gradient(135deg,#087c3c,#0a9b45)}
.path-coop{background:linear-gradient(135deg,#095a9b,#1478bf)}
.path-finance{background:linear-gradient(135deg,#066c3d,#0d9855)}
.path-community{background:linear-gradient(135deg,#03245c,#073b8f)}



/* VISION / VALUES / ECOSYSTEM / IMPACT */

.vision-section{
  color:var(--white);
  background:var(--blue-dark);
}
.vision-grid,.ecosystem-grid{
  display:grid;
  gap:30px;
  align-items:center;
}
.vision-grid h2{color:var(--white)}
blockquote{
  margin:0;
  padding:clamp(23px,4vw,35px);
  color:var(--white);
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);
  border-left:4px solid var(--green);
  border-radius:var(--radius);
  font-size:clamp(.92rem,2.4vw,1.05rem);
}

.value-card{padding:24px}
.value-card>i{color:var(--green);font-size:1.5rem}
.value-card-main{background:var(--blue);border-color:var(--blue)}
.value-card-main h3,.value-card-main p{color:var(--white)}
.value-letter{color:#8ce6ae;font-size:2rem;font-weight:800;line-height:1}

.text-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:22px;
  color:var(--blue);
  font-weight:800;
}
.flow{gap:8px}
.flow>div{
  min-height:60px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:0 18px;
}
.flow span{color:var(--green);font-weight:800}
.flow strong{color:var(--blue-dark)}
.flow>i{color:var(--green);text-align:center}

.impact-section{background:var(--surface)}
.impact-grid article{padding:24px}
.impact-grid article>i{color:var(--green);font-size:1.5rem}

.commitment{
  color:var(--white);
  background:linear-gradient(135deg,var(--blue-dark),var(--blue));
}
.commitment-inner{text-align:center}
.commitment-inner h2{color:var(--white)}
.commitment-inner>p{
  max-width:760px;
  margin:0 auto;
  color:rgba(255,255,255,.78);
}
.commitment-flow{
  margin-top:30px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:9px;
  font-size:.7rem;
  font-weight:800;
  text-transform:uppercase;
}
.commitment-flow span,.commitment-flow strong{
  padding:9px 12px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
}
.commitment-flow strong{color:var(--blue-dark);background:#8ce6ae;border-color:#8ce6ae}
.commitment-flow i{color:#8ce6ae}


/* FOOTER — reference logo is used exactly as supplied */

.site-footer{
  color:rgba(255,255,255,.75);
  background:#021a40;
}
.footer-grid{
  display:grid;
  gap:35px;
  padding-top:60px;
  padding-bottom:50px;
}
.footer-logo{
  width:min(42vw,180px);
  height:auto;
  aspect-ratio:1;
  object-fit:contain;
  background:var(--white);
  border-radius:50%;
}
.footer-about p{max-width:330px;margin:14px 0 0;font-size:.78rem}
.footer-nav,.footer-contact{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
}
.footer-nav h2,.footer-contact h2{
  margin:0 0 8px;
  color:var(--white);
  font-size:.9rem;
}
.footer-nav a,.footer-contact a,.footer-contact p{
  margin:0;
  color:rgba(255,255,255,.68);
  font-size:.74rem;
  font-style:normal;
}
.footer-nav a:hover,.footer-contact a:hover{color:#8ce6ae}
.footer-contact p,.footer-contact a{
  display:flex;
  gap:8px;
  align-items:flex-start;
}
.footer-contact i{margin-top:4px;color:#8ce6ae}

.footer-bottom{border-top:1px solid rgba(255,255,255,.1)}
.footer-bottom-inner{
  min-height:65px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
}
.footer-bottom p{margin:0;font-size:.66rem}


/* RESPONSIVE */

@media (min-width:640px){
  .container{width:min(100% - 48px,var(--container))}
  .about-grid{grid-template-columns:1fr 1fr}
  .program-grid,.impact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .values-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .value-card-main{grid-column:span 2}
  .footer-grid{grid-template-columns:1.1fr .7fr 1.3fr}
}

@media (min-width:960px){
  .ecosystem-path{
    grid-template-columns:repeat(5,minmax(0,1fr));
    align-items:stretch;
    gap:0;
    padding:8px;
    border:1px solid var(--line);
    border-radius:26px;
    background:var(--white);
    box-shadow:var(--shadow);
  }
  .path-step{
    min-height:180px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap:10px;
    padding:22px 17px;
    border-radius:19px;
  }
  .path-number{font-size:.65rem}
  .path-icon{width:48px;height:48px}
  .path-step strong{font-size:.98rem}
  .path-step small{font-size:.62rem}
  .path-arrow{
    position:absolute;
    z-index:5;
    width:24px;
    height:24px;
    display:grid;
    place-items:center;
    margin-top:82px;
    transform:none;
    color:var(--blue);
    background:var(--white);
    border:1px solid var(--line);
    border-radius:50%;
    font-size:.65rem;
  }
  .path-step + .path-arrow{margin-left:-12px}

  .ecosystem-path .path-digital + .path-arrow{grid-column:1;justify-self:end}
  .ecosystem-path .path-business + .path-arrow{grid-column:2;justify-self:end}
  .ecosystem-path .path-coop + .path-arrow{grid-column:3;justify-self:end}
  .ecosystem-path .path-finance + .path-arrow{grid-column:4;justify-self:end}
  .ecosystem-path .path-digital{grid-column:1}
  .ecosystem-path .path-business{grid-column:2}
  .ecosystem-path .path-coop{grid-column:3}
  .ecosystem-path .path-finance{grid-column:4}
  .ecosystem-path .path-community{grid-column:5}

  .header-inner{min-height:78px}
  .nav-toggle{display:none}
  .primary-nav{
    position:static;
    display:flex;
    flex-direction:row;
    padding:0;
    border:0;
    box-shadow:none;
    background:transparent;
  }
  .nav-link{min-height:42px;padding-inline:11px}
  .hero-grid{
    grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);
    min-height:calc(100vh - 78px);
  }
  .hero-content h1{font-size:clamp(3.4rem,5.6vw,5.7rem)}
  .program-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .vision-grid{grid-template-columns:.8fr 1.2fr}
  .values-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .value-card-main{grid-column:span 2}
  .ecosystem-grid{grid-template-columns:1fr 1fr}
  .impact-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

@media (min-width:1200px){body{font-size:16px}}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    transition-duration:.01ms!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
  }
}
